Re: Special requirements for scripts in /etc/rcS.d?

2003-11-04 Thread Christoph Berg
Re: Bob Proulx in [EMAIL PROTECTED] perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal 41777 My only question now is where did that '4' come from in the mode? But the last four digits always seem to be correct. stat(2): S_IFDIR004 directory

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-04 Thread Bob Proulx
Christoph Berg wrote: Re: Bob Proulx in [EMAIL PROTECTED] perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal 41777 My only question now is where did that '4' come from in the mode? But the last four digits always seem to be correct. stat(2): S_IFDIR

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-04 Thread Bob Proulx
Christoph Berg wrote: Re: Bob Proulx in [EMAIL PROTECTED] perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal 41777 My only question now is where did that '4' come from in the mode? But the last four digits always seem to be correct. stat(2): S_IFDIR

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Frank Kster
Paul Cupis [EMAIL PROTECTED] schrieb: On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster) wrote: I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently, it was only depending on stuff in /bin

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Steve Langasek
On Mon, Nov 03, 2003 at 10:34:59AM +0100, Frank Küster wrote: Paul Cupis [EMAIL PROTECTED] schrieb: On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster) wrote: I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Frank Kster
Steve Langasek [EMAIL PROTECTED] schrieb: As I don't use nfs at all, I don't know how to figure this out safely during configure. Can you point me to the right place? Can you explain in more detail how the call to 'stat' is being used? Is it not possible to detect, at runtime, if the stat

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Steve Langasek
On Mon, Nov 03, 2003 at 05:45:31PM +0100, Frank Küster wrote: Steve Langasek [EMAIL PROTECTED] schrieb: As I don't use nfs at all, I don't know how to figure this out safely during configure. Can you point me to the right place? Can you explain in more detail how the call to 'stat' is

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Bob Proulx
Frank Küster wrote: stat is called to get uid and exact permissions of a temporary configuration file which has just been created. Perl is standard on systems. I hesitate to put more use of it in init scripts but... Perhaps this would be of use instead of stat just to work around this

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Steve Langasek
On Mon, Nov 03, 2003 at 10:34:59AM +0100, Frank Küster wrote: Paul Cupis [EMAIL PROTECTED] schrieb: On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster) wrote: I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Frank Küster
Steve Langasek [EMAIL PROTECTED] schrieb: As I don't use nfs at all, I don't know how to figure this out safely during configure. Can you point me to the right place? Can you explain in more detail how the call to 'stat' is being used? Is it not possible to detect, at runtime, if the stat

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Steve Langasek
On Mon, Nov 03, 2003 at 05:45:31PM +0100, Frank Küster wrote: Steve Langasek [EMAIL PROTECTED] schrieb: As I don't use nfs at all, I don't know how to figure this out safely during configure. Can you point me to the right place? Can you explain in more detail how the call to 'stat' is

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-03 Thread Bob Proulx
Frank Küster wrote: stat is called to get uid and exact permissions of a temporary configuration file which has just been created. Perl is standard on systems. I hesitate to put more use of it in init scripts but... Perhaps this would be of use instead of stat just to work around this

Special requirements for scripts in /etc/rcS.d?

2003-11-02 Thread Frank Kster
Hi, I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently, it was only depending on stuff in /bin and /sbin. However, as the result of a bug report I have introduced a call to /usr/bin/stat. Now I wonder wether

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-02 Thread Paul Cupis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster) wrote: I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently, it was only depending on stuff in

Special requirements for scripts in /etc/rcS.d?

2003-11-02 Thread Frank Küster
Hi, I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently, it was only depending on stuff in /bin and /sbin. However, as the result of a bug report I have introduced a call to /usr/bin/stat. Now I wonder wether

Re: Special requirements for scripts in /etc/rcS.d?

2003-11-02 Thread Paul Cupis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster) wrote: I have become the (sponsored) maintainer of netenv, a package that creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently, it was only depending on stuff in