summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-13init-system-helpers (1.18+dyson1) unstable; urgency=mediumHEADdyson/1.18+dyson1masterIgor Pashev5-0/+52
* Package for Dyson * deb-systemd-helper and deb-systemd-invoke work only on Linux; on other archs they do nothing and return 0 * dh_systemd_enable and dh_systemd_start work only for Linux; for other archs they do nothing and return 0
2014-02-25update changelogdebian/1.18Michael Stapelberg1-0/+6
2014-02-25bump generated dependency to 1.18~ to use the “purge” verbMichael Stapelberg1-1/+1
2014-02-25use the purge verb in autoscriptsMichael Stapelberg1-2/+1
2014-02-25introduce the “purge” verbMichael Stapelberg2-4/+28
Closes: #721244
2014-02-18d-s-h: don’t error out when masking a service is not possible becausedebian/1.17Michael Stapelberg3-2/+50
/etc/systemd/system/<service> already exists (but is not a symlink). Closes: #739090
2014-02-17don’t delete /etc/systemd/, only the hierarchy below it (Thanks Andreas ↵debian/1.16Michael Stapelberg2-4/+12
Beckmann) This is necessary since we now ship the /etc/systemd directory, so we should not delete it.
2014-02-07bump standards-version to 3.9.5 (no changes necessary)debian/1.15Michael Stapelberg2-1/+2
2014-02-07i-s-h: override lintian warning spelling-error-in-manpageMichael Stapelberg2-0/+5
we cannot rename the upstream command “systemctl reenable” into “re-enable”
2014-02-07d-s-h: add spaces to allow the manpage to break lines with MANWIDTH=80Michael Stapelberg2-1/+2
2014-02-07ship /etc/systemd/system to avoid piuparts warningsMichael Stapelberg2-0/+7
2013-12-25update changelogdebian/1.14Michael Stapelberg1-0/+6
2013-12-25dh_systemd_{enable,start}: don’t treat symlinks as unitsMichael Stapelberg2-1/+6
For the rare case where a unit is not a plain file, but a symlink to some other file (I can’t imagine a legitimate use for that), explicitly pass the unit’s name as argument for a quick workaround and write a bugreport.
2013-12-25dh_systemd_start: treat symlinks as aliases (Closes: #731803)Michael Stapelberg1-3/+10
2013-12-25tests: needs mount --make-rprivate /Michael Stapelberg1-0/+5
2013-11-26mark packages multi-arch: foreign, they can run on any architectureMichael Stapelberg1-0/+2
closes: #730419
2013-11-11Install debian/$package.socket files, just like .service filesMichael Stapelberg1-0/+10
They will get enabled when they have an [Install] section. Some special handling for .socket files when upgrading might be necessary at some point in time. We’ll see how it goes. Closes: #718592
2013-11-06update changelog, bump dependencydebian/1.13Michael Stapelberg2-1/+7
2013-11-06cleanup masked state directory on unmask (for piuparts)Michael Stapelberg1-0/+3
2013-11-04update changelogdebian/1.12Michael Stapelberg1-0/+8
2013-10-27Don’t print action(s) to stderr, no news are good newsMichael Stapelberg1-5/+2
Closes: #723727
2013-10-27dh_systemd: lower generated dependency from 1.11 to 1.11~Michael Stapelberg1-1/+1
This makes packages installable on wheezy-backports, where the version of i-s-h is 1.11~bpo70 instead of 1.11. $ dpkg --compare-versions '1.11~bpo70' '>=' '1.11' && echo yes || echo no no $ dpkg --compare-versions '1.11~bpo70' '>=' '1.11~' && echo yes || echo no yes
2013-09-20update changelog, bump dependencydebian/1.11Michael Stapelberg2-1/+8
2013-09-20unmask when purging (Thanks Michael Biebl)Michael Stapelberg1-0/+1
2013-09-19Store masked state to respect user’s maskingdebian/1.10Michael Stapelberg3-6/+37
We cannot just unconditionally unmask services on installation time, otherwise “systemctl mask” executed by the user will be reversed. To that end, files in /var/lib/systemd/deb-systemd-helper-masked/ signal that d-s-h masked the service and is allowed to unmask it.
2013-09-19delete obsolete testMichael Stapelberg1-13/+0
This particular test was written under the (wrong) assumption that masking a service is pointing its install (!) symlink to /dev/null, while in reality it’s a different symlink.
2013-09-19update changelog, bump dependency on i-s-hMichael Stapelberg2-1/+10
2013-09-19i-s-h: delete the masked state dir in postinstMichael Stapelberg1-0/+6
2013-09-19Fix mask/unmask implementation (Thanks Michael Biebl)Michael Stapelberg2-55/+32
Turns out that I mistakenly linked the same symlinks to /dev/null that one would normally link to the service file, but mask links are orthogonal to that. As an example, for rsyslog.service, the mask link is /etc/systemd/system/rsyslog.service -> /dev/null, not /etc/systemd/system/mult-user.targe.wants/rsyslog.service fixes #714903
2013-09-19Bugfix: check whether /var/lib/systemd/deb-systemd-helper-enabled exists ↵Michael Stapelberg1-1/+3
(Thanks Alf Gaida) fixes #723693
2013-09-19d-s-h: add safety check for unmaskMichael Stapelberg1-1/+5
2013-09-18bump dependency on i-s-hdebian/1.9Michael Stapelberg1-1/+1
2013-09-18update changelogMichael Stapelberg1-0/+12
2013-09-15update maintscripts to mask a service while removed (but not purged)Michael Stapelberg3-7/+14
fixes #722521, #714903
2013-09-15use the state file contents for mask/unmaskMichael Stapelberg1-6/+8
This is necessary because when removing, the original service file might not be around anymore.
2013-09-15d-s-h: implement mask and unmask commandsMichael Stapelberg2-5/+112
2013-09-14tests: verify that masked services are not re-enabledMichael Stapelberg1-0/+13
2013-09-14dh_systemd_enable: skip unit files without an [Install] sectionMichael Stapelberg1-0/+18
fixes #721241
2013-09-14postinst: fix old files in /var/lib/systemd/deb-systemd-helper-enabledMichael Stapelberg1-0/+12
2013-09-12Bugfix: create files with permission 0644Michael Stapelberg1-0/+2
fixes #722524
2013-08-27dh_systemd_enable: document debian/package.{service,tmpfile}Michael Stapelberg1-0/+17
While these files are installed in dh_installinit for historic reasons, many people are looking for documentation in dh_systemd_enable. And they are not completely wrong, since dh_systemd_enable needs to install these files anyway, and will be the only script to do so in the future.
2013-07-25bump dependency on i-s-hdebian/1.8Michael Stapelberg1-1/+1
2013-07-24update changelogMichael Stapelberg1-0/+11
2013-07-24autoscripts: use --quiet for was-enabledMichael Stapelberg2-2/+2
2013-07-24deb-systemd-helper: support --quiet for (is|was)-enabledMichael Stapelberg1-2/+2
2013-07-24deb-systemd-helper: fix exit code for was-enabledMichael Stapelberg1-0/+1
2013-07-24s/debian-is-installed/debian-installed/Michael Stapelberg1-1/+1
2013-07-24dh_systemd_enable: use basename of the unit filesMichael Stapelberg1-2/+3
2013-07-24refactor state file reading, dump entries for debuggingMichael Stapelberg1-23/+23
2013-07-24DRY: introduce dsh_state_path(), use $dsh_state as consistent variable nameMichael Stapelberg1-32/+36