A clean way to introduce delay between scripts in /etc/init.d?

2006-06-12 Thread LEE, Yui-wah (Clement)
Hi, What is a clean way to introduce a delay between the scripts in /etc/init.d ? I saw a problem that /etc/rc2.d/S27bind9 started before /etc/rc2.d/S25ifplugd actually completed all the tasks ... Specifically, ifplugd, with the help of resolvconf, would generate the file /var/run/bind/named.opt

Re: A clean way to introduce delay between scripts in /etc/init.d?

2006-06-13 Thread LEE, Yui-wah (Clement)
Hi, Thanks for all your responses. Indeed ifplugd has a switch -w, which I accidentally turned off some time ago. Once I reinstated the switch, the two scripts (ifplugd and bind9) seemed to be properly synchronized. Thanks! Clement On Mon, 12 Jun 2006, Joey Hess wrote: > LEE, Yui-

A question on setting setuid bit

2006-07-04 Thread LEE, Yui-wah (Clement)
Hi, I am building a package in which one of the binary has to have the setuid and setgid bits set. I wonder which one of the following two is the more appropriate method to use? 1. Use "install -m 6755 " in the install target of the Makefile. However, I already tried this method and it d

Re: A question on setting setuid bit

2006-07-06 Thread LEE, Yui-wah (Clement)
Hi, Thanks for all the responses. I finally settled with the suggestion of Matt ("install" with right permission, and then use "dh_fixperms -X" to exclude these files's permissions from being reset to Debian's default values). Thanks! Clement On Wed, 5 Jul 2006, Matthew Palmer wrote: > The co

Re: A question on setting setuid bit

2006-07-07 Thread LEE, Yui-wah (Clement)
programs are risky but I haven't got the time to address the security risk yet (one thing at a time ... :-) Thanks for the alert. Clement On Fri, 7 Jul 2006, Ian Jackson wrote: > LEE, Yui-wah (Clement) writes ("A question on setting setuid bit"): > > I am building a package in

Re: A question on setting setuid bit

2006-07-07 Thread LEE, Yui-wah (Clement)
Hi, Thanks for articulating the risk. We will address it later. The machines involved are experimental prototypes not production machines. Clement On Fri, 7 Jul 2006, Javier [iso-8859-1] Fern嫕dez-Sanguino Pe鎙 wrote: > On Fri, Jul 07, 2006 at 04:42:47PM -0400, LEE, Yui-wah (Clement) wr