Re: Config file management utility

1997-12-05 Thread Joe Emenaker
On Thu, 4 Dec 1997, Joey Hess wrote: > Some things to look out for, though: > > - if the file alter-file is a conffile, there will be problems later when > you upgrade the package containg the conffile. I'm not sure I follow what you're getting at. The way I'm thinking, if a package (say, cron

Re: Config file management utility

1997-12-05 Thread Joey Hess
Joe Emenaker wrote: > Well, that's pretty much what I was suggesting in the beginning. The only > difference is that you wouldn't have one, monolithic section. Rather, > you'd have sections placed there by the individual packages. For example: > > echo "42 6 * * * root run-parts /etc/cron.daily"

Re: Config file management utility

1997-12-04 Thread Rob Browning
Joe Emenaker <[EMAIL PROTECTED]> writes: > Well, that's pretty much what I was suggesting in the beginning. The only > difference is that you wouldn't have one, monolithic section. Rather, > you'd have sections placed there by the individual packages. For example: The only advantage to the monoli

Re: Config file management utility

1997-12-04 Thread Raul Miller
Joe Emenaker <[EMAIL PROTECTED]> wrote: > The only problem is that it uses Perl. I haven't read the Debian policies > so I don't know if Perl (or a stripped down version of it) is one of the > things I can assume is on even the most minimal system. If not, I can do > the same thing with bash/sed, I

Re: Config file management utility

1997-12-04 Thread Joe Emenaker
On 3 Dec 1997, Rob Browning wrote: > Joey Hess <[EMAIL PROTECTED]> writes: > > > Another way, that sould comply with policy, were if cron came with a > > update-crontab script, that was responsible for modifying /etc/crontab, > > in a similar fasion to update-inetd. > > I think that this, or s

Re: Config file management utility

1997-12-04 Thread Joe Emenaker
On Wed, 3 Dec 1997, Adam Heath wrote: > How about this. Some one creates a script, that is run from /etc/crontab. > Whenever this script is run, it checks to see if another program is supposed > to be run. If so, it does it, then checks to see when the next script is > supposed to run. It the

Re: Config file management utility

1997-12-04 Thread Rob Browning
Joey Hess <[EMAIL PROTECTED]> writes: > Another way, that sould comply with policy, were if cron came with a > update-crontab script, that was responsible for modifying /etc/crontab, > in a similar fasion to update-inetd. I think that this, or something similar, is in the end, the right solution.

Re: Config file management utility

1997-12-04 Thread Joey Hess
Raul Miller wrote: > If a user is overkill then cron probably is too. You'd probably do > fine with something like > > ( > trap "" SIGHUP > su nobody -c ' > while sleep 300; do > whatever; > done /dev/null 2>&1

Re: Config file management utility

1997-12-04 Thread Adam Heath
-Original Message- From: Steve Greenland <[EMAIL PROTECTED]> To: debian-devel@lists.debian.org Date: Wednesday, December 03, 1997 8:05 PM Subject: Re: Config file management utility >On 02-Dec-1997 12:45:31, Joe Emenaker <[EMAIL PROTECTED]> wrote: >> >> H

Re: Config file management utility

1997-12-04 Thread Raul Miller
Joey Hess <[EMAIL PROTECTED]> wrote: > Having a user for mrtg doesn't seem very appropriate to me, though. > Mrtg is a simple program, that needs to run every 5 minutes. A user is > overkill. If a user is overkill then cron probably is too. You'd probably do fine with something like ( tr

Re: Config file management utility

1997-12-04 Thread Joey Hess
Raul Miller wrote: > Creating a user shouldn't be that big of a deal, as long as it's a > useful abstraction. Having a user for a fax system seems apropriate. Having a user for mrtg doesn't seem very appropriate to me, though. Mrtg is a simple program, that needs to run every 5 minutes. A user is

Re: Config file management utility

1997-12-04 Thread Joey Hess
Steve Greenland wrote: > That said, it appears that the only policy compliant way for a package > to run a script more frequently than once a day is to register a user, > and create a crontab for that user. This is not too onerous for > news or sendmail, but seems like overkill for every little pac

Re: Config file management utility

1997-12-04 Thread Raul Miller
Steve Greenland <[EMAIL PROTECTED]> wrote: > That said, it appears that the only policy compliant way for a package > to run a script more frequently than once a day is to register a user, > and create a crontab for that user. This is not too onerous for > news or sendmail, but seems like overkill

Re: Config file management utility

1997-12-04 Thread Steve Greenland
On 02-Dec-1997 12:45:31, Joe Emenaker <[EMAIL PROTECTED]> wrote: > > Has much discussion been had about a possible configuration file > management script for the package config scripts to use? > > For example, I installed cron on a Debian box, and then installed mgetty. > Mgetty placed the follow

Re: Config file management utility

1997-12-03 Thread Enrique Zanardi
On Tue, 2 Dec 1997, Joe Emenaker wrote: > Has much discussion been had about a possible configuration file > management script for the package config scripts to use? > > For example, I installed cron on a Debian box, and then installed mgetty. > Mgetty placed the following at the end of my /etc/c