[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#203588: acpid: Shell script has nothing to do in /etc



On Fri, Aug 01, 2003 at 02:09:36PM +0200, Cajus Pollmeier wrote:
> On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
> > Package: acpid
> > Version: N/A; reported 2003-07-31
> > Severity: serious
> > Justification: Policy 9.1.1
> >
> > The shell script /etc/acpi/powerbtn.sh should be installed in something
> > else, like /usr/share/acpid/ or /usr/sbin/.
> 
> I've no problem with that, but:
> 
> These scripts used by acpid should be treated as some kind of user
> configuration, like i.e. cron keeps skripts installed by someone in
> /etc/cron.daily, acpid keeps skripts that take actions when some
> events happened.
> 
> I've no idea about the exact handling of this issue. Should I move
> these scripts to /usr/share/acpid or /usr/sbin?

I think at least the RCness of this bug is rather dubious, frankly. If
the script is configuration (i.e. is human-editable and is expected to
be edited by a reasonable number of people to configure acpid in some
different way without having to hack acpid's source) then it should stay
in /etc. The FHS doesn't forbid that, and if people really are editing
it then it should definitely not be in /usr.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: