Hi, Am Donnerstag, den 17.09.2015, 19:59 +0200 schrieb Axel Beckert: > the package description of local-apt-repository says: > > If you want to use this package on a system without systemd > running, > you will have to manually run /usr/lib/local-apt-repository/rebuild > when you add new packages to /srv/local-apt-repository. > > But local-apt-repository has a hard dependency on systemd and is > hence uninstallable on systems without systemd.
I am a bit worried about the postinst scripts, in particular this part:
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start local-apt-repository.path >/dev/null || true
fi
# End automatically added section
Will this not break if systemd is not installed, but
/run/systemd/system is still around? But then it might be argued that
this would be a bug in dh_systemd_start.
If you are interested in supporting non-systemd-systems, would you mind
trying the change you want to see, test it, and send me a patch (or
even better: just change it in the git repo, which is in collab-maint)?
> Maybe you could also use incron or inoticoming as alternative
> directory watching tool on non-systemd systems.
I’d prefer not adding complexity that is not required on default Debian
systems; I will however accept a patch (as required per #746715).
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
[email protected] | ICQ# 74513189 | GPG-Keyid: F0FBF51F
JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part

