I am doing a series of installations of Hardy using FAI and everytime
the dhcp file gets the wrong permissions.

I added the following rules to cfengine to fix this for me on boot:

control:

    AddInstallable = ( needs_networking_restarted )

files:
    # hardy has the wrong permissions for this and causes 
    # dhcp interfaces to not be properly brought up
    /lib/dhcp3-client/call-dhclient-script
            mode=4754
            owner=root
            group=dhcp
            action=fixall
            define=needs_networking_restarted

shellcommands:
    needs_networking_restarted::
        "/etc/init.d/networking restart"

-- 
sudo, su, and /lib/dhcp3-client/call-dhclient-script spontaneously lost owners, 
permissions
https://bugs.launchpad.net/bugs/173503
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to