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

Bug#647075: please support RUN in /etc/default/apache2



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Harald,

On 02.11.2011 11:21, Harald Dunkel wrote:
> insserv -r is no option, because on the next update the default run
> level symlinks are reinstalled again. Thats even worse than creating a
> private overrides file for insserv. Not to mention that insserv nags
> about some "non-default" run level symlinks all the time.

There you are right, but that's merely a problem of insserv, not
primarily Apache. Having that said, I agree with you here: insserv
should retain such overrides the administrator manually configured among
package upgrades, e.g. by providing an override wrapper which works
similar to dpkg-statoverride.

> I completely agree that duplicate methods to configure run level scripts
> should be avoided. But it should also be clear that the config file and
> the item to config (eg. when to run the script) should be kept separate
> from each other.

Right, but that wasn't the problem you reported. I personally do not
have a strong opinion on /etc/default/apache2 as said, but I am not the
(only) person to judge here.

> Maybe a look at other Unixes helps? SunOS 5.x (just as an example)
> provides a tool "svcadm" to manage which services are started at boot
> time. On SunOS 5.x there is no need to create a new config file with
> a weird syntax in an "overrides" directory to make sure that a hard-
> wired configuration in the startup script gets ignored.

There is some discussion going on in Debian, in particular regarding
moving to systemd in the long term. However, the Debian kFreeBSD branch
blocks such a transition in the near future and it may or may not solve
your particular problem. Of course that's a distribution-wide question
again.

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOsbWcAAoJEMcrUe6dgPNtpxIP/As0SqlSsSD7jV4+XNUYTz9Y
hjSYP3v6+hiTb7RwWVqwoHex4yCqPTtwNQPMU77GseDgyWsVXg2HTUAeloRsaY6k
TGa+sMfU5Y8MR6C1R/porT7CAgoI48Gv6Zj/y77t/63VTZt+Kscqmg/MwHa2jqH5
vlHEwulLnSkJLgVLy5ODFbC+4imsYmqwBNAEiw4DnBRWKdJ21LtmVrVSyIIshHAL
OpyYkAg1ndr2t3BE4EWimO91AM6wZasZXNBSYusvIUVMTNaDnaUvAxOkXwLX3R3F
VKj9zajykjS8+FzoqTxQqLgEHFZBKcOo5rKz83cazElmkptsVZi4Y9X4GnE/gzxd
rP0I+E4TUuxmdDgD/LxQ6L1Mi1DX5K+Kp3Vjab5CM+zWdXZZsgU3OL/WfL5bGdZj
DA5b3I9aXzcSGqUPTRO08Lh/5vbiu5jaAlgSj7T9mTw0iT/pFdJPbIyL2v2TfJmI
5mYPpqUP8AQPDTFf6umdw2isOamiMsw37I7LvzRGL+AtUGOvLF+CISEGFWTdJFoh
kt00Jz/TJn4U/lQGBl4h/ZwSMEyIpEjQC2FSfprfq9yBPyMarzcbYAzanBidd84j
BoGDlRwHxHaha33ArWc2LFl7ZSn7zYi3iqxpih7DS4B2WzDmto25u6bgLUlPwtxw
2NR4pwWNX4Mp0/3qo4ZP
=Yd16
-----END PGP SIGNATURE-----



Reply to: