]> git.proxmox.com Git - systemd.git/log
systemd.git
10 years agoAdd systemd depends on new mount.
Jon Severinsson [Wed, 23 Jul 2014 10:00:00 +0000 (12:00 +0200)]
Add systemd depends on new mount.

Also drop now-obsolete manpage patch.

10 years agoRefer to more bugs in the changelog.
Jon Severinsson [Thu, 24 Jul 2014 17:06:25 +0000 (19:06 +0200)]
Refer to more bugs in the changelog.

10 years agoDo not order rcS.d services after local-fs.target if they do not explicitly depend...
Jon Severinsson [Thu, 3 Jul 2014 00:00:00 +0000 (02:00 +0200)]
Do not order rcS.d services after local-fs.target if they do not explicitly depend on $local_fs.

10 years agoAdd support for rcS.d init scripts to the sysv-generator.
Jon Severinsson [Thu, 24 Jul 2014 12:34:48 +0000 (14:34 +0200)]
Add support for rcS.d init scripts to the sysv-generator.

10 years agoDo not force-enable default-on services on every upgrade.
Jon Severinsson [Sun, 13 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Do not force-enable default-on services on every upgrade.

Also drops the systemd-networkd, systemd-resolved and systemd-timesyncd
from the set of default services.

10 years agoTry-restart networkd, resolved, and timesyncd after an upgrade.
Jon Severinsson [Sun, 13 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Try-restart networkd, resolved, and timesyncd after an upgrade.

Just like is already done for journald and logind.

10 years agoAdd new system group "input" used by udev rules in udev postinst.
Jon Severinsson [Sun, 13 Jul 2014 15:15:22 +0000 (17:15 +0200)]
Add new system group "input" used by udev rules in udev postinst.

10 years agoAdd new systemd service users in systemd postinst.
Jon Severinsson [Thu, 3 Jul 2014 00:00:00 +0000 (02:00 +0200)]
Add new systemd service users in systemd postinst.

10 years agoUse the debian ntp pool and configure systemd uid/gid maximums
Sjoerd Simons [Sun, 13 Jul 2014 13:39:02 +0000 (15:39 +0200)]
Use the debian ntp pool and configure systemd uid/gid maximums

* debian/rules: Use the debian ntp pool as default ntp servers
* debian/rules: explicitely configure the maximum system uid/gids instead of
  relying on autodetection

10 years agodebian/rules: Explicitely turn off rfkill, networkd, timesyncd and resolved for the...
Sjoerd Simons [Sun, 13 Jul 2014 12:04:29 +0000 (14:04 +0200)]
debian/rules: Explicitely turn off rfkill, networkd, timesyncd and resolved for the udeb build

10 years agodebian/rules: Drop outdated --enable-tcpwrap
Sjoerd Simons [Sun, 13 Jul 2014 12:03:52 +0000 (14:03 +0200)]
debian/rules: Drop outdated --enable-tcpwrap

10 years agodebian/control: Remove b-d on librwap0-dev and bump kmod
Sjoerd Simons [Sun, 13 Jul 2014 11:47:40 +0000 (13:47 +0200)]
debian/control: Remove b-d on librwap0-dev and bump kmod

* debian/control: Remove b-d on librwap0-dev
* debian/control: Bump libkmod-dev b-d to >= 15

10 years agodebian/control: Make udev break plymouth (<< 0.9.0-7) as older plymouths assume udev...
Sjoerd Simons [Sun, 10 Aug 2014 08:43:26 +0000 (10:43 +0200)]
debian/control: Make udev break plymouth (<< 0.9.0-7) as older plymouths assume udev implementation details that have changed slightly since v213

10 years agoMerge branch 'master' into experimental
Sjoerd Simons [Fri, 8 Aug 2014 21:18:00 +0000 (23:18 +0200)]
Merge branch 'master' into experimental

Conflicts:
debian/changelog
debian/control
debian/patches/series
debian/rules

10 years agoFix duplicate line in copyright
Martin Pitt [Thu, 7 Aug 2014 06:31:58 +0000 (08:31 +0200)]
Fix duplicate line in copyright

Closes: #756899
10 years agoreleasing package systemd version 208-7
Martin Pitt [Wed, 6 Aug 2014 11:34:21 +0000 (13:34 +0200)]
releasing package systemd version 208-7

10 years agoudev.init: Create static device nodes
Martin Pitt [Wed, 6 Aug 2014 11:14:30 +0000 (13:14 +0200)]
udev.init: Create static device nodes

This moved out of udevd. Thanks to Michael Biebl for the script!

Closes: #749021
10 years agoAdd debian/extra/60-keyboard.hwdb: Latest keymaps from upstream git
Martin Pitt [Wed, 6 Aug 2014 10:59:56 +0000 (12:59 +0200)]
Add debian/extra/60-keyboard.hwdb: Latest keymaps from upstream git

This makes it trivial to backport keymap fixes to stable releases.

Closes: #657809
LP: #1322770
LP: #1339998

10 years agoConvert udev-finish.upstart from a task to a job
Martin Pitt [Wed, 6 Aug 2014 10:41:12 +0000 (12:41 +0200)]
Convert udev-finish.upstart from a task to a job

Avoids hangs with startpar. Workaround for #713135.

Closes: #756631
10 years agoFix typo in systemd-shim dependency
Martin Pitt [Wed, 6 Aug 2014 10:19:50 +0000 (12:19 +0200)]
Fix typo in systemd-shim dependency

10 years agoAdd support for TuxOnIce hibernation.
Jon Severinsson [Thu, 24 Jul 2014 07:47:36 +0000 (09:47 +0200)]
Add support for TuxOnIce hibernation.

Closes: #746463
10 years agoEnsure that systemctl is usable right after being unpacked.
Jon Severinsson [Thu, 24 Jul 2014 11:38:54 +0000 (13:38 +0200)]
Ensure that systemctl is usable right after being unpacked.

Closes: #753589
10 years agoAdd Pre-Depends on systemd to systemd-sysv.
Jon Severinsson [Thu, 24 Jul 2014 14:00:00 +0000 (16:00 +0200)]
Add Pre-Depends on systemd to systemd-sysv.

This avoid risking that the sysv-compatible symlinks become dangling on a partial install.
Note that the Pre-Depends is unversioned to facilitate upgrades to newer systemd versions,
and that the versioned Depends is kept to ensure that user doesn't get confused to thinking
they are running a different systemd version then they are.

10 years agoDo not fail udev upgrades if the udev service is already runtime-masked when the...
Jon Severinsson [Thu, 24 Jul 2014 14:00:00 +0000 (16:00 +0200)]
Do not fail udev upgrades if the udev service is already runtime-masked when the preinst script is run

Closes: #755746
10 years agoDrop now unnecessary libattr1-dev build dep
Martin Pitt [Wed, 6 Aug 2014 09:23:47 +0000 (11:23 +0200)]
Drop now unnecessary libattr1-dev build dep

10 years agoRe-add systemd-shim alternative dependency to libpam-systemd
Martin Pitt [Wed, 6 Aug 2014 09:22:35 +0000 (11:22 +0200)]
Re-add systemd-shim alternative dependency to libpam-systemd

Version it to ensure cgmanager support.

Closes: #754984
LP: #1343802

10 years agoRevert "Drop systemd-logind-launch script"
Martin Pitt [Mon, 21 Jul 2014 10:18:44 +0000 (12:18 +0200)]
Revert "Drop systemd-logind-launch script"

This reverts commit b5949e269017cfc9c25218093137facf685e5c9e.

Now needed again for running wit systemd-shim/cgmanager.

10 years agoReinstate patches to make logind D-BUS activatable
Martin Pitt [Mon, 21 Jul 2014 10:18:31 +0000 (12:18 +0200)]
Reinstate patches to make logind D-BUS activatable

10 years ago75-persistent-net-generator.rules: Adjust Ravello interfaces
Martin Pitt [Tue, 5 Aug 2014 06:14:13 +0000 (08:14 +0200)]
75-persistent-net-generator.rules: Adjust Ravello interfaces

They don't violate the assignment schema, they should just not be persistent.
Thanks to Boris Figovsky.

Closes: #747475
LP: #1317776

10 years agoFix CD symlinks
Martin Pitt [Mon, 4 Aug 2014 14:24:47 +0000 (16:24 +0200)]
Fix CD symlinks

Make /dev/cdrom appear for all types of drives, not just for pure CD-ROM ones.
Also, fix the symlinks to stay after change events.

LP: #1323777

10 years agoAdd dbus dependency to libpam-systemd
Martin Pitt [Mon, 4 Aug 2014 06:48:55 +0000 (08:48 +0200)]
Add dbus dependency to libpam-systemd

The PAM module is talking directly over D-BUS.

Closes: #755968
10 years agoAdd simple autopkgtest for python3-systemd
Martin Pitt [Mon, 4 Aug 2014 06:44:49 +0000 (08:44 +0200)]
Add simple autopkgtest for python3-systemd

10 years agoBuild python3-systemd for Python 3 bindings.
Martin Pitt [Mon, 4 Aug 2014 05:37:48 +0000 (07:37 +0200)]
Build python3-systemd for Python 3 bindings.

Drop python-systemd; it does not have any reverse dependencies, and we want to
encourage moving to Python 3. This also avoids having to do another source
build.

LP: #1258089

10 years agoUse glibc's xattr support instead of requiring libattr.
Martin Pitt [Mon, 4 Aug 2014 05:54:23 +0000 (07:54 +0200)]
Use glibc's xattr support instead of requiring libattr.

Fixes FTBFS with latest glibc and libattr.

Cherrypicked from trunk.

Closes: #756097
10 years agoFix removal of _kernel-install zsh completion file
Michael Biebl [Sat, 26 Jul 2014 20:16:34 +0000 (22:16 +0200)]
Fix removal of _kernel-install zsh completion file

Follow up fix for 0aae718c6134d18055135ce110eac34a0a274203

10 years agoInstall zsh completions to the correct place
Michael Biebl [Sat, 26 Jul 2014 19:42:36 +0000 (21:42 +0200)]
Install zsh completions to the correct place

Closes: #717540
10 years agoAdd Breaks on lvm2 versions without native systemd support.
Jon Severinsson [Thu, 24 Jul 2014 00:12:45 +0000 (02:12 +0200)]
Add Breaks on lvm2 versions without native systemd support.

10 years agoUpdate Depends on initscripts to the version with a systemd-compatible mountnfs ifup...
Jon Severinsson [Wed, 23 Jul 2014 22:13:09 +0000 (00:13 +0200)]
Update Depends on initscripts to the version with a systemd-compatible mountnfs ifup hook.

10 years agoMap some rcS.d init script dependencies to their systemd equivalent.
Jon Severinsson [Tue, 22 Jul 2014 13:38:03 +0000 (15:38 +0200)]
Map some rcS.d init script dependencies to their systemd equivalent.

10 years agoClean up libsystemd-login-dev autopkgtest
Martin Pitt [Mon, 21 Jul 2014 13:29:56 +0000 (15:29 +0200)]
Clean up libsystemd-login-dev autopkgtest

Rename "api" autopkgtest to "build-login", and stop requiring that
sd_login_monitor_new() succeeds. It doesn't in many environments like schroot
or after upgrades from < 204, and the main point of the test is to check that
libsystemd-login-dev has correct contents and dependencies. Drop
"isolation-machine" requirement.

10 years agoCherry-pick upstream fix for journal file permissions.
Jon Severinsson [Fri, 18 Jul 2014 14:00:00 +0000 (16:00 +0200)]
Cherry-pick upstream fix for journal file permissions.

10 years agoMask remaining services provided by the initscripts package
Michael Biebl [Wed, 16 Jul 2014 23:05:34 +0000 (01:05 +0200)]
Mask remaining services provided by the initscripts package

and document in more detail why certain services have been masked.

Closes: #659264
10 years agoRemove duplicate PATH
Michael Biebl [Wed, 16 Jul 2014 22:43:37 +0000 (00:43 +0200)]
Remove duplicate PATH

10 years agoRemove udev.vim syntax file
Michael Biebl [Wed, 16 Jul 2014 22:40:34 +0000 (00:40 +0200)]
Remove udev.vim syntax file

vim provides syntax highlighting support for udev rules since around
2006.

10 years agoRemove systemd-hack-up-the-source.hook script
Michael Biebl [Wed, 16 Jul 2014 22:39:35 +0000 (00:39 +0200)]
Remove systemd-hack-up-the-source.hook script

No longer necessary after the switch from gitpkg to git-buildpackage.

10 years agoRemove pre-generated rules and unit files in debian/rules clean target.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Remove pre-generated rules and unit files in debian/rules clean target.

These are generated with rootprefix=/usr and so has the wrong paths for Debian.

10 years agoUpdate symbols file for libgudev-1.0-0.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Update symbols file for libgudev-1.0-0.

10 years agoAdd new symbols file for libsystemd0.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Add new symbols file for libsystemd0.

10 years agoInstall the new combined libsystemd0 library
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Install the new combined libsystemd0 library

10 years agoexplicitly disable microhttpd
Sjoerd Simons [Fri, 23 May 2014 11:24:53 +0000 (13:24 +0200)]
explicitly disable microhttpd

(cherry picked from commit 515ed789804047074e103d0cfb30d478bab5cbe0)

10 years agoInstall busctl and translations
Sjoerd Simons [Fri, 23 May 2014 11:24:48 +0000 (13:24 +0200)]
Install busctl and translations

(cherry picked from commit 3853bf74f3102905b6587755781d1a42ea09f9da)

10 years agoattempt parallel build
Sjoerd Simons [Fri, 23 May 2014 11:24:39 +0000 (13:24 +0200)]
attempt parallel build

(cherry picked from commit 95a6ae15fdcda87e5cf47a0d96ce9a09b75fdb65)

10 years agoadd python-lxml for python-systemd
Sjoerd Simons [Fri, 23 May 2014 11:24:20 +0000 (13:24 +0200)]
add python-lxml for python-systemd

(cherry picked from commit 17a18eb2645e9c15a13fba82b0db591c148d4a4d)

10 years agoFix build of the insserv generator
Sjoerd Simons [Fri, 27 Jun 2014 20:16:10 +0000 (22:16 +0200)]
Fix build of the insserv generator

(cherry picked from commit 5a4ffa250571f55be55495caaa8c990045fee740)

10 years agoImport upstream v214-stable patch series and rebase remaining Debian patches.
Jon Severinsson [Wed, 16 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Import upstream v214-stable patch series and rebase remaining Debian patches.

10 years agoMerge tag 'upstream/214' into experimental
Jon Severinsson [Wed, 16 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Merge tag 'upstream/214' into experimental

10 years agoSwitch debian-branch to experimental
Jon Severinsson [Wed, 16 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Switch debian-branch to experimental

10 years agoRelease version 208-6 to unstable
Michael Biebl [Tue, 15 Jul 2014 22:44:42 +0000 (00:44 +0200)]
Release version 208-6 to unstable

10 years agoUpload to unstable.
Michael Biebl [Tue, 15 Jul 2014 14:34:38 +0000 (16:34 +0200)]
Upload to unstable.

10 years agoImported Upstream version 214
Jon Severinsson [Tue, 1 Jul 2014 18:00:00 +0000 (20:00 +0200)]
Imported Upstream version 214

10 years agoMove three more manpages from systemd to libsystemd-*-dev as appropriate.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Move three more manpages from systemd to libsystemd-*-dev as appropriate.

10 years agoUpdate Debian patches to apply on top of v208-stable.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Update Debian patches to apply on top of v208-stable.

10 years agoAdd v208-stable patch series.
Jon Severinsson [Sun, 6 Jul 2014 16:00:00 +0000 (18:00 +0200)]
Add v208-stable patch series.

This commit was created using the following commands and then fixing up debian/patches/series manually.
$ git config diff.renames false
$ git rebase --onto debian/208-5 v208 stable/v208-stable
$ git checkout -b patch-queue/experimental HEAD
$ gbp-pq export --no-patch-numbers
$ git add --ignore-removal debian/patches/

10 years agoRelease version 208-5 to experimental
Michael Biebl [Sat, 28 Jun 2014 11:41:47 +0000 (13:41 +0200)]
Release version 208-5 to experimental

10 years agoUpdate changelog
Michael Biebl [Sat, 28 Jun 2014 11:33:34 +0000 (13:33 +0200)]
Update changelog

10 years agoMerge branch 'master' into experimental
Michael Biebl [Sat, 28 Jun 2014 11:33:07 +0000 (13:33 +0200)]
Merge branch 'master' into experimental

Conflicts:
debian/changelog

10 years agoRelease version 204-14 to unstable
Michael Biebl [Sat, 28 Jun 2014 11:23:46 +0000 (13:23 +0200)]
Release version 204-14 to unstable

10 years agojournald: remove unused variable
Michael Biebl [Sat, 28 Jun 2014 11:21:25 +0000 (13:21 +0200)]
journald: remove unused variable

10 years agoMark -dev packages as Multi-Arch: same
Michael Biebl [Sat, 28 Jun 2014 11:06:56 +0000 (13:06 +0200)]
Mark -dev packages as Multi-Arch: same

Deliberately exclude libgudev-1.0-dev, since it depends on
gir1.2-gudev-1.0 and gobject-introspection does not (yet) support
multiarch.

Closes: #720017
10 years agoFix SIGABRT in insserv generator caused by incorrect usage of strcat()
Michael Biebl [Sat, 28 Jun 2014 10:57:59 +0000 (12:57 +0200)]
Fix SIGABRT in insserv generator caused by incorrect usage of strcat()

Closes: #752992
10 years agoRelease version 208-4 to experimental
Michael Biebl [Fri, 27 Jun 2014 23:22:33 +0000 (01:22 +0200)]
Release version 208-4 to experimental

10 years agoDrop alternative dependency on systemd-shim in libpam-systemd
Michael Biebl [Fri, 27 Jun 2014 23:21:42 +0000 (01:21 +0200)]
Drop alternative dependency on systemd-shim in libpam-systemd

The systemd-shim package no longer provides an environment to run
systemd-logind standalone. See #752939 for further details.

10 years agoUpdate changelog
Michael Biebl [Fri, 27 Jun 2014 22:43:03 +0000 (00:43 +0200)]
Update changelog

10 years agoMerge branch 'master' into experimental
Michael Biebl [Fri, 27 Jun 2014 22:35:48 +0000 (00:35 +0200)]
Merge branch 'master' into experimental

Conflicts:
debian/changelog
debian/patches/Load-sg-module-from-80-drivers.rules.patch
debian/patches/rules-drivers-always-call-kmod-even-when-a-driver-is.patch
debian/patches/series

10 years agoRelease version 204-13 to unstable
Michael Biebl [Fri, 27 Jun 2014 22:01:32 +0000 (00:01 +0200)]
Release version 204-13 to unstable

10 years agoFix boot failures if CONFIG_UEVENT_HELPER is disabled
Michael Biebl [Fri, 27 Jun 2014 21:36:00 +0000 (23:36 +0200)]
Fix boot failures if CONFIG_UEVENT_HELPER is disabled

Drop the obsolete check for /sys/kernel/uevent_helper from postinst and
the SysV init script and do not unconditionally overwrite it in the
initramfs hook. Since a long time now udev has been using the netlink
interface to communicate with the kernel and with Linux 3.16 it is
possible to disable CONFIG_UEVENT_HELPER completely.

Closes: #752742
10 years agoinsserv-generator: ignore non-existing SysV init scripts
Michael Biebl [Fri, 27 Jun 2014 21:02:04 +0000 (23:02 +0200)]
insserv-generator: ignore non-existing SysV init scripts

Update insserv generator to not create any drop-in files for services
where the corresponding SysV init script does not exist.

10 years agocore/transaction: fix cycle break attempts outside transaction
Michael Biebl [Fri, 27 Jun 2014 20:56:51 +0000 (22:56 +0200)]
core/transaction: fix cycle break attempts outside transaction

Cherry-pick upstream fix which prevents systemd from entering an
infinite loop when trying to break an ordering cycle

Closes: #752259
10 years agoSwitch back to load the sg module via the kmod builtin
Michael Biebl [Fri, 27 Jun 2014 20:46:03 +0000 (22:46 +0200)]
Switch back to load the sg module via the kmod builtin

The problem was not that the kmod builtin is faster then modprobe but
rather the incorrect usage of the "=" assignment operator. We need to
use "+=" here, so the sg module is loaded in addition to other scsi
modules, which are loaded via the modalias rule.
Thanks to Tommaso Colombo for the analysis.

10 years agoDrop Always-probe-cpu-support-drivers.patch
Michael Biebl [Thu, 26 Jun 2014 03:12:47 +0000 (05:12 +0200)]
Drop Always-probe-cpu-support-drivers.patch

This has been fixed upstream in a more general way by

commit bf7f800f2b3e93ccd1229d4717166f3a4d3af72f
Author: Kay Sievers <kay@vrfy.org>
Date:   Sat Jul 20 14:29:12 2013 +0200

    rules: drivers - always call kmod, even when a driver is bound to
    the device

10 years agoRelease version 208-3 to experimental
Michael Biebl [Wed, 25 Jun 2014 09:29:21 +0000 (11:29 +0200)]
Release version 208-3 to experimental

10 years agoUpdate changelog for unstable merge
Michael Biebl [Wed, 25 Jun 2014 09:29:05 +0000 (11:29 +0200)]
Update changelog for unstable merge

10 years agoMerge branch 'master' into experimental
Michael Biebl [Wed, 25 Jun 2014 09:28:23 +0000 (11:28 +0200)]
Merge branch 'master' into experimental

Conflicts:
debian/changelog

10 years agoRelease version 204-12 to unstable
Michael Biebl [Wed, 25 Jun 2014 08:55:39 +0000 (10:55 +0200)]
Release version 204-12 to unstable

10 years agoUpdate udev bug-script to attach instead of paste extra info if a new enough reportbu...
Michael Biebl [Wed, 25 Jun 2014 08:53:47 +0000 (10:53 +0200)]
Update udev bug-script to attach instead of paste extra info if a new enough reportbug version is available.

10 years agoChange the sg loading rule back to using modprobe
Martin Pitt [Wed, 25 Jun 2014 08:23:55 +0000 (10:23 +0200)]
Change the sg loading rule back to using modprobe

kmod is too fast and then sg races with sd, causing the latter to not see SCSI disks.

Closes: #752591, #752605
10 years agoRelease version 208-2 to experimental
Michael Biebl [Tue, 24 Jun 2014 15:45:42 +0000 (17:45 +0200)]
Release version 208-2 to experimental

10 years agoCherry-pick upstream fixes to make sd_session_get_vt() actually work.
Michael Biebl [Tue, 24 Jun 2014 15:44:20 +0000 (17:44 +0200)]
Cherry-pick upstream fixes to make sd_session_get_vt() actually work.

10 years agoUpdate changelog
Michael Biebl [Tue, 24 Jun 2014 15:40:08 +0000 (17:40 +0200)]
Update changelog

10 years agoRefresh patches
Michael Biebl [Tue, 24 Jun 2014 15:38:50 +0000 (17:38 +0200)]
Refresh patches

10 years agoMerge branch 'master' into experimental
Michael Biebl [Tue, 24 Jun 2014 15:36:16 +0000 (17:36 +0200)]
Merge branch 'master' into experimental

Conflicts:
debian/changelog
debian/gbp.conf
debian/patches/Always-probe-cpu-support-drivers.patch
debian/patches/Load-sg-module-from-80-drivers.rules.patch
debian/patches/series

10 years agoRelease version 204-11 to unstable
Michael Biebl [Tue, 24 Jun 2014 15:03:54 +0000 (17:03 +0200)]
Release version 204-11 to unstable

10 years agoFix typo in insserv-generator
Michael Biebl [Tue, 24 Jun 2014 14:59:51 +0000 (16:59 +0200)]
Fix typo in insserv-generator

LSB system facilities begin with a dollar sign '$'.

10 years agoDon't change behavior of SysV init scripts using "set -e" or "set -u"
Ansgar Burchardt [Tue, 24 Jun 2014 14:11:33 +0000 (16:11 +0200)]
Don't change behavior of SysV init scripts using "set -e" or "set -u"

/lib/lsb/init-functions.d/40-systemd unconditionally uses "set +e; set
+u". This can change the behavior of init scripts that use "set -e"
and/or "set -u".

Change the systemd integration to not rely on "set +e" or "set +u" but
instead work correctly in all cases by catching all commands that might
fail.

Closes: #751472
10 years agoVarious ifupdown integration fixes
Michael Biebl [Tue, 24 Jun 2014 12:45:41 +0000 (14:45 +0200)]
Various ifupdown integration fixes

- Use DefaultDependencies=no in ifup@.service so the service can be started
  as early as possible.
- Create the ifupdown runtime directory in ifup@.service as we can no longer
  rely on the networking service to do that for us.
- Don't stop ifup@.service on shutdown but let the networking service take
  care of stopping all hotplugged interfaces.
- Only start ifup@.service for interfaces configured as allow-hotplug.

10 years agoSet telinit path to /lib/sysvinit/telinit
Michael Biebl [Tue, 24 Jun 2014 11:26:15 +0000 (13:26 +0200)]
Set telinit path to /lib/sysvinit/telinit

If systemd is not the active PID 1 and the SysV compat tools are
provided by systemd-sysv, /sbin/telinit simply forwards the requests to
the native telinit implementation.
To make the upgrade from sysvinit to systemd less disruptive, the plan
is to make the transitional sysvinit package provide
/lib/sysvinit/telinit and /lib/sysvinit/init which then can be used as a
fallback in case of emergency.
Set the telinit path in systemd accordingly in preparation for that.

10 years agoMake the SysV compat tools try both /run/initctl and /dev/initctl
Michael Biebl [Tue, 24 Jun 2014 10:40:42 +0000 (12:40 +0200)]
Make the SysV compat tools try both /run/initctl and /dev/initctl

This makes them usable under sysvinit as PID 1 without requiring any
symlinks.

10 years agoUse Conflicts instead of Breaks against sysvinit-core
Michael Biebl [Mon, 23 Jun 2014 16:20:31 +0000 (18:20 +0200)]
Use Conflicts instead of Breaks against sysvinit-core

This avoids /sbin/init going missing when switching from systemd-sysv to
sysvinit. While at it, add a Replaces: upstart.

Closes: #751589
10 years agoDrop Conflicts: runit-run from sysvinit-core
Michael Biebl [Mon, 23 Jun 2014 16:13:42 +0000 (18:13 +0200)]
Drop Conflicts: runit-run from sysvinit-core

The runit-run package has been removed from the archive a long time ago.

10 years agoDrop Conflicts: sysvinit (<< 2.88dsf-44~) from systemd-sysv
Michael Biebl [Mon, 23 Jun 2014 16:08:31 +0000 (18:08 +0200)]
Drop Conflicts: sysvinit (<< 2.88dsf-44~) from systemd-sysv

since this breaks dist-upgrades from wheezy when switching from sysvinit
to systemd-sysv as default init. While downgrading the Pre-Depends in
sysvinit would have been an alternative, dropping the Conflicts and only
keeping the Replaces was deemed the lesser evil.

Closes: #748355