• Bug#265579: /etc/hotplug.d/default/default.hotplug is not friendly with

    From daniele giacomini@1:229/2 to All on Fri Aug 13 22:30:10 2004
    From: [email protected]

    Package: hotplug
    Version: 0.0.20040329-1

    When uDev starts preparing the /dev/ directory, some errors
    appears about the absence of the file /dev/null. Such errors
    come form the script /etc/hotplug.d/default/default.hotplug,
    at line 26.

    I have tried a simple workaround; that is, adding a simple
    check at the beguinning of /etc/hotplug.d/default/default.hotplug
    that works for me:

    --- default.hotplug.orig 2004-04-10 17:09:09.000000000 +0200
    +++ default.hotplug 2004-08-13 22:01:22.000000000 +0200
    @@ -23,6 +23,11 @@
    # $Id: default.hotplug,v 1.3 2004/03/14 15:38:15 ukai Exp $
    #

    +if ! [ -e /dev/null ]
    +then
    + exit
    +fi
    +
    exec < /dev/null
    test -t 1 || exec > /dev/null
    test -t 2 || exec 2>&1



    Thank you for your attention.


    Saluti/Regards/Gr��e,
    daniele giacomini - [email protected], [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)