Re: problem with debconf and start-stop-daemon
On Fri, Mar 22, 2002 at 01:42:30PM -0600, Steve Greenland wrote:
> On 11-Jan-02, 13:51 (CST), Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> > On Fri, 11 Jan 2002, Wichert Akkerman wrote:
> > > 1. don't use --exec at all, not even in the init script.
> > > 2. don't use --exec in the postinst, or use it with a saved (hardlinked)
> > > copy of the original file
> >
> > Actually, I was not aware of 2). I like it. While it would be possible (but
> > ugly) to have such an "stop-alike /usr/sbin/daemon.temp" initscript target,
> > it would look a bit kludgy (but perfectly legal, and supported).
>
> Interesting. Would the following be a legitimate practice in the initscript?
>
> start)
> rm -f /usr/sbin/foo.running
> ln /usr/sbin/foo /usr/sbin/foo.running
Err ... wouldn't people mounting /usr readonly get upset by this?
--
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants
Reply to: