* gregor herrmann [Wed, 22 Oct 2008 19:03:23 +0200]:

> On Wed, 22 Oct 2008 11:58:37 +0200, Adeodato Simó wrote:

> > > -        echo "Creating device /dev/net/tun ..."
> > > -        cd /dev && ./MAKEDEV tun
> > > +        if [ ! -c /dev/net/tun ] && [ -x /dev/MAKEDEV ] ; then
> > > +            echo "Creating device /dev/net/tun ..."
> > > +            cd /dev
> > > +            ./MAKEDEV tun || true
> > > +        fi
> > This patch looks fine. 

> Thanks for checking!

> > As far as I know, you could (should?) Depend:
> > udev | makedev as well.

> Right, "udev | makedev" is already in Depends:; the problem shown in
> this bug is that (1) udev gets installed, (2) doesn't create the
> device in the chroot, and (3) MAKEDEV is not available ...
> And (4) MAKEDEV would fail nevertheless because udev is active.

MAKEDEV does not fail even if udev is active, so I can't see what's the
problem with the above snippet/patch?

> +            if [ ! -e /dev/.udev ] && [ ! -e /dev/.udevdb ] && [ -x 
> /dev/MAKEDEV ] ; then

Better not mess with hidden directories...

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                   Listening to: Alejandro Sanz - Me iré




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to