On Sun, 10 Sep 2000, Ingo Saitz wrote:
> On Sun, Sep 10, 2000 at 09:19:10AM -0300, Henrique M Holschuh wrote:
> > BTW, on an unrelated note, a ps | grep solution *MUST* deal with the
> > following possible scenarios,
> [...]
> > 3. Multiple instances of daemon (and you want to kill only the one y
On Mon, 11 Sep 2000, Herbert Xu wrote:
> On Sun, Sep 10, 2000 at 09:19:10AM -0300, Henrique M Holschuh wrote:
> > On Sun, 10 Sep 2000, Herbert Xu wrote:
> >
> > > Which is why it should only be killed in prerm/preinst.
> >
> > Which makes all the supposed simple "restart" solution for the runlevel
On Sun, Sep 10, 2000 at 09:19:10AM -0300, Henrique M Holschuh wrote:
> On Sun, 10 Sep 2000, Herbert Xu wrote:
>
> > Which is why it should only be killed in prerm/preinst.
>
> Which makes all the supposed simple "restart" solution for the runlevel
> problem fail in _all_ cases. Thank you for remin
MoiN
On Sun, Sep 10, 2000 at 09:19:10AM -0300, Henrique M Holschuh wrote:
> BTW, on an unrelated note, a ps | grep solution *MUST* deal with the
> following possible scenarios,
[...]
> 3. Multiple instances of daemon (and you want to kill only the one you
> started -- never seen anyone need
On Sun, 10 Sep 2000, Henrique M Holschuh wrote:
> -x...), and only return a exit status code of 1 (start daemon) if this
That should be exit status code 0, of course. Oh well...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind the
On Sun, 10 Sep 2000, Colin Watson wrote:
> [EMAIL PROTECTED] (Henrique M. Holschuh) wrote:
> >ISSUE: Is there a need for pre-depends?
> >
> >A package which needs a future version of the initsciptquery interface
> >would need to pre-depends: sysvinit (>=someversion) | filerc
> >(>=somev
On Sun, 10 Sep 2000, Herbert Xu wrote:
> Brendan O'Dea <[EMAIL PROTECTED]> wrote:
> >
> > This unfortunately doesn't work if you are trying to kill the previous
> > version of a daemon in the postinst of a package, as the binary will
> > have changed.
>
> Which is why it should only be killed in p
[EMAIL PROTECTED] (Henrique M. Holschuh) wrote:
>ISSUE: Is there a need for pre-depends?
>
>A package which needs a future version of the initsciptquery interface
>would need to pre-depends: sysvinit (>=someversion) | filerc
>(>=someversion). How is this done for update-rc.d ?
If you'
Samuel Hocevar <[EMAIL PROTECTED]> wrote:
>On Sat, Sep 09, 2000, Robert D. Hilliard wrote:
>> For some reason pidof doesn't work on the dictd daemon, so it may
>> not work on others as well. See Bug#67021.
>
> Then I suggest the following :
>
> ps ax | grep '[ ]'
>
> I think the 'gre
Brendan O'Dea <[EMAIL PROTECTED]> wrote:
>
> This unfortunately doesn't work if you are trying to kill the previous
> version of a daemon in the postinst of a package, as the binary will
> have changed.
Which is why it should only be killed in prerm/preinst.
--
Debian GNU/Linux 2.2 is out! ( http
On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> ps ax|grep |grep -v grep works for me.
It works for you because you are interactive. A maintainer script is not.
If you run ps ax|grep daemon|grep -v grep and you see:
12661 pts/0S 0:00 vi /etc/daemon.conf
You
On Sat, 09 Sep 2000, Robert D. Hilliard wrote:
> > > daemon is running, and only restart it if it found it was running?
> >
> > Because if the user removes but not purges a package, all the configuration
> > data related to initscripts is kept. The daemon is not running, but the
> > runlevel restr
On Sat, Sep 09, 2000 at 08:32:24PM -0400, Adam McKenna wrote:
>On Sat, Sep 09, 2000 at 06:23:03PM -0400, Robert D. Hilliard wrote:
>> Adam McKenna <[EMAIL PROTECTED]> writes:
>>
>> >
>> > On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
>> > > ps ax|grep |grep -v grep work
On Sat, Sep 09, 2000 at 06:23:03PM -0400, Robert D. Hilliard wrote:
> Adam McKenna <[EMAIL PROTECTED]> writes:
>
> >
> > On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> > > ps ax|grep |grep -v grep works for me.
> >
> > if [ "`pidof `" ] ; then
> > ...
> > fi
>
>
On Sat, Sep 09, 2000, Robert D. Hilliard wrote:
> Adam McKenna <[EMAIL PROTECTED]> writes:
>
> > > ps ax|grep |grep -v grep works for me.
> >
> > if [ "`pidof `" ] ; then
>
> For some reason pidof doesn't work on the dictd daemon, so it may
> not work on others as well. See Bug#67021.
Adam McKenna <[EMAIL PROTECTED]> writes:
>
> On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> > ps ax|grep |grep -v grep works for me.
>
> if [ "`pidof `" ] ; then
> ...
> fi
For some reason pidof doesn't work on the dictd daemon, so it may
not work on others as w
On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> ps ax|grep |grep -v grep works for me.
if [ "`pidof `" ] ; then
...
fi
--Adam
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[EMAIL PROTECTED] (Henrique M. Holschuh) writes:
> (not CC:ed to debian-devel, but I'd rather you had asked it in there instead
> of in private. Please forward this reply to -devel, I can't do it without
> breaching netiquette ;-) )
I thought I had replied to the list. I must have hit the
Hello debs,
This is a request for comments (and enhancements ;-) ) for a possible
solution to an annoying bug (for those it hits) we currently have: daemons
are started during package installs/upgrades regardless of the current
runlevel.
This behaviour can be fixed, and the fix is not overly comp
19 matches
Mail list logo