Boris schrieb:
> Erich Titl schrieb:
>> Hi Boris
>>
...>
> After reboot I had this:
> 
> # less /var/log/script.log
> root
> Wed Dec 17 17:35:11 UTC 2008
> vor Ausfuehrung von chmod
> Wed Dec 17 17:35:11 UTC 2008
> nach Ausfuehrung von chmod
> 
> So, obviously the ether-wake binary doesn't exist on time the script is
> being executed.
> 
> I decided to try to change the position of etherw in leaf.cfg (hoping it
> is going to be unpacked earlier) and found that I had made a bad mistake
> by writing 'etherw.lrp' instead of only 'etherw' at the end of the line
> with the packages.

Boooo.... glad you found it, sometimes the old dirty debug techniques
work :-)

> 
> After having corrected that, I got this:
> 
> # less /var/log/script.log
> root
> Wed Dec 17 17:51:08 UTC 2008
> vor Ausfuehrung von chmod
> -rwsr-xr-x    1 root     root         7100 Jul  3  2006 /usr/sbin/ether-wake
> Wed Dec 17 17:51:08 UTC 2008
> nach Ausfuehrung von chmod
> -rwsr-xr-x    1 root     root         7100 Jul  3  2006 /usr/sbin/ether-wake
> 
> So, after all, my problem is solved, and it seems the suid-bit is
> backuped by lrcfg, so I don't even need to set it in the script.
> 

Cheers

Erich
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to