Comment 4 for bug 11561

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 31 Dec 2004 22:03:53 +0100
From: <email address hidden> (Marco d'Itri)
To: Daniel Jacobowitz <email address hidden>, <email address hidden>
Subject: Re: Bug#288043: udev: Upgrading udev hoses my devfs

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 31, Daniel Jacobowitz <email address hidden> wrote:

> If devfs is mounted, is there any point in making udev try to take over
> /dev? I had to uninstall udev and gnome-desktop-environment to get it to
Not sure. So far it has been enabled on devfs systems too, but only
after a reboot, and I do not see a good reason to not do it.
I do not understand why postinst fails on your system, apparently it
happens when "ln /tmp/$TEMPDEV/fd /proc/self/fd" is run.

> It leaves my devfs moved to /.dev, a messed up tmpfs mounted on /dev (I'm
> not sure why - it returned "/dev: Not a directory") and a garbage tmpfs
> mounted in /tmp/fileOaRTAz. This means no ptys available.
I can't see how this could be possible, the commands which do this are
executed *after* ln:

  # -n is used because mount gets very confused by --bind (see #282205)
  mount -n --bind /dev/pts/ $TEMPDEV/pts/
  mount -n --bind /dev/shm/ $TEMPDEV/shm/
  mount -n --bind /dev /.dev
  mount -n --move $TEMPDEV /dev

I think that your description of the events is not fully correct.
Do you mind trying again? :-)

BTW, if you want to disable udev all you need to do is put "exit 0"
in the init script (and clean up after the postinst fuckage).

--=20
ciao,
Marco

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB1b65FGfw2OHuP7ERAuaWAJ0YitDncmwukzLpw0kgtO/9+SzC9ACghZcd
XqYeJlFqnNWEczVoo3KzyIY=
=TFpg
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--