Bug#182704: Debconf configuration sets use_fbdev without asking, making X unstartable
On Thu, Feb 27, 2003 at 06:51:02PM +0100, Michel Dänzer <daenzer@debian.org> was heard to say:
> On Don, 2003-02-27 at 13:26, Daniel Burrows wrote:
> >
> > This one has been annoying me for some time now. For whatever reason,
> > using the framebuffer device interface doesn't work on my system (this is
> > the use_fbdev debconf option). However, the config script SKIPS this question
> > every time I run itm, unconditionally resetting my XF86Config-4 to a broken
> > state.
>
> Even with dpkg-reconfigure -plow ?
I would hope so, since low is my default priority. Anyway, I just
checked, and it skips that question even if I explicitly specify "low".
> > It seems like this happens because /proc/fb exists, and
> > [ -n "$(cat /proc/fb)" ] fails. On my computer, /proc/fb is a zero-byte
> > file, which is probably why the test fails:
> >
> > torrent.burrows.local:~> wc -c /proc/fb
> > 0 /proc/fb
>
> Probably not:
>
> daenzer@thor> wc -c /proc/fb ~
> 0 /proc/fb
> daenzer@thor> cat /proc/fb ~
> 0 M9 Lf
My, that's messed up..anyway, maybe I should have used the example
where I tested [ -n $(cat /proc/fb) ] and it failed. How's this?
torrent:~> cat /proc/fb
torrent:~> od /proc/fb
0000000
torrent:~> cat /proc/fb | wc -c
0
Daniel
--
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
| DROP THE SCYTHE AND TURN AROUND SLOWLY. |
| -- Terry Pratchett, "Reaper Man" |
\------------- Got APT? -- Debian GNU/Linux http://www.debian.org ------------/
Reply to: