Bug#449577: start on install only if already running
  Home FAQ Contact Sign in
linux.debian.bugs.dist only
 
Advanced search
POPULAR GROUPS

more...

linux.debian.bugs.dist Profile…
 Up
Bug#449577: start on install only if already running         


Author: jidanni
Date: Nov 6, 2007 12:30

X-Debbugs-No-Ack: please
Package: fetchmail
Version: 6.3.8-10
Severity: wishlist

I discovered installing fetchmail also starts it.
I have START_DAEMON=yes in /etc/default/fetchmail, so I can use
"/etc/init.d/fetchmail start" when I please.

* File /etc/default/fetchamil has been added to stablish if user wants to
start fetchmail on boot or not.

Just rely on the usual rcconf etc. start stop files. stablish->establish.

* On install time we try to determine from old version if start or not.

Perhaps detect if fetchmail is running and write a file in /tmp that
tells ourselves to start fetchmail again after installation.

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
4 Comments
Bug#449577: [pkg-fetchmail-maint] Bug#449577: start on install only if already running         


Author: Nico Golde
Date: Nov 6, 2007 12:50

Hi jidanni,
* jidanni@jidanni.org jidanni.org> [2007-11-06 21:31]:
> X-Debbugs-No-Ack: please
> Package: fetchmail
> Version: 6.3.8-10
> Severity: wishlist
>
> I discovered installing fetchmail also starts it.
> I have START_DAEMON=yes in /etc/default/fetchmail, so I can use
> "/etc/init.d/fetchmail start" when I please.
[...]
> Perhaps detect if fetchmail is running and write a file in /tmp that
> tells ourselves to start fetchmail again after installation.
Show full article (1.77Kb)
3 Comments
Bug#449577: [pkg-fetchmail-maint] Bug#449577: start on install only if already running         


Author: jidanni
Date: Nov 6, 2007 13:00

N> Maybe I misunderstood you, but what is the bug or the wish?
N> Fetchmail does not start again if it is already started:

I meant _upon apt-get upgrade_, currently you probably do:
1. stop any running daemons
2. install new version
3. restart according to your rules

instead you should
0. make a note in /tmp if a running daemon is detected
1. stop any running daemons
2. install new version
3. restart according to that note in /tmp

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
no comments
Bug#449577: [pkg-fetchmail-maint] Bug#449577: start on install only if already running         


Author: Nico Golde
Date: Nov 6, 2007 13:30

Hi,
* jidanni@jidanni.org jidanni.org> [2007-11-06 21:49]:
>> Maybe I misunderstood you, but what is the bug or the wish?
>> Fetchmail does not start again if it is already started:
>
> I meant _upon apt-get upgrade_, currently you probably do:
> 1. stop any running daemons
> 2. install new version
> 3. restart according to your rules
>
> instead you should
> 0. make a note in /tmp if a running daemon is detected
> 1. stop any running daemons
> 2. install new version
> 3. restart according to that note in /tmp
Show full article (0.99Kb)
1 Comment
Bug#449577: [pkg-fetchmail-maint] Bug#449577: start on install only if already running         


Author: jidanni
Date: Nov 6, 2007 14:00

N> And where is the difference apart from the note in /tmp for
N> which I fail to see the use?

Then one need not say
START_DAEMON=yes
to be able to say
/etc/init.d/fetchmail start.

If one does not want
/etc/init.d/fetchmail start
to work, then one should just not invoke
/etc/init.d/fetchmail start.

BTW, I did
# mv /etc/default/fetchmail /tmp
and after that I couldn't even do
/etc/init.d/fetchmail stop
I had to first
# touch /etc/default/fetchmail
Show full article (0.94Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: [BUGS] BUG #2685: Wrong charset of server messages on clientmailing.database.pgsql-bugs ·
Bug#404011: Bug#404012: I'm not planning to change z80asm, please let me know if I misunderstood youlinux.debian.bugs.dist ·
Bug#423217: grub-pc: Should not set itself up completely automatically on installationlinux.debian.bugs.dist ·
Bug#266625: Very old bug, do you still have the problem ?linux.debian.bugs.dist ·