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/
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.
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.
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.
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.
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.
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.
Michael Biebl [Sun, 27 Apr 2014 22:20:57 +0000 (00:20 +0200)]
Drop patches to make logind D-Bus activatable
The cgroup handling has been reworked in v205 and logind no longer
creates cgroup hierarchies on its own. That means that the standalone
logind is no longer functional without support from systemd (or an
equivalent cgroup manager).
Michael Biebl [Sun, 27 Apr 2014 11:36:59 +0000 (13:36 +0200)]
Update patches
Drop patches which have been applied upstream:
- debian/patches/Fix-CPUShares-configuration-option.patch
- debian/patches/Recognize-discard-option-in-etc-crypttab.patch
- debian/patches/Start-ctrl-alt-del.target-irreversibly.patch
- debian/patches/core-dbus-properly-export-cgroup-properties-on-socke.patch
- debian/patches/initctl-use-irreversible-jobs-when-switching-runleve.patch
- debian/patches/journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch
- debian/patches/polkit-Avoid-race-condition-in-scraping-proc.patch
- debian/patches/systemctl-mangle-names-when-avoiding-dbus.patch
- debian/patches/systemd-tmpfiles-setup-dev-remain-after-exit.patch
Drop patches which no longer work after the cgroup rework:
- debian/patches/Clean-up-closing-empty-sessions-when-not-running-und.patch
- debian/patches/Make-sd_login_monitor_new-work-for-logind-without-sy.patch
Drop patch which no longer applies and is supposed to be fixed:
- debian/patches/Avoid-sending-sigterm-to-session-leader.patch
Martin Pitt [Sun, 27 Apr 2014 09:14:49 +0000 (11:14 +0200)]
Drop numerical prefixes from patches
This avoids future diff noise when removing, cherry-picking, and merging
patches. From now on, always use "gbp-pq export --no-patch-numbers" to update
them.
Martin Pitt [Sat, 26 Apr 2014 22:26:03 +0000 (00:26 +0200)]
Rename PowerEdge idrac network interfaces
On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC for
management. Name this interface "idrac" to avoid confusion with "real" network
interfaces.