Commit Graph

12112 Commits

Author SHA1 Message Date
Michael Biebl
e764dc208c 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
2014-06-24 17:36:16 +02:00
Michael Biebl
aca7206bd6 Release version 204-11 to unstable 2014-06-24 17:03:54 +02:00
Michael Biebl
87be203166 Fix typo in insserv-generator
LSB system facilities begin with a dollar sign '$'.
2014-06-24 17:03:37 +02:00
Ansgar Burchardt
28002a9c8c 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
2014-06-24 16:17:39 +02:00
Michael Biebl
189af6171b 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.
2014-06-24 14:46:35 +02:00
Michael Biebl
6f003a0aec 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.
2014-06-24 13:27:15 +02:00
Michael Biebl
3d3587f270 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.
2014-06-24 12:46:27 +02:00
Michael Biebl
30dfc6a31c 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
2014-06-23 18:23:31 +02:00
Michael Biebl
b0851c77d1 Drop Conflicts: runit-run from sysvinit-core
The runit-run package has been removed from the archive a long time ago.
2014-06-23 18:13:42 +02:00
Michael Biebl
e89ae54bd1 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
2014-06-23 18:12:21 +02:00
Michael Biebl
5ba115971a Drop "-b debian" from Vcs-Git since we use the master branch for packaging now. 2014-06-23 17:51:58 +02:00
Michael Biebl
fe95eeaef6 Cherry-pick upstream fix for libudev which fixes a memleak in parent_add_child() 2014-06-23 17:50:29 +02:00
Michael Biebl
b35f7581e0 Cherry-pick upstream fix to properly handle multiline syslog messages
Closes: #746351
2014-06-23 17:47:18 +02:00
Michael Biebl
548e024301 Refresh patches 2014-06-23 17:44:05 +02:00
Michael Stapelberg
dadc637164 Clarify that “systemd” does not influence init whereas “systemd-sysv” does
Closes: #747741
2014-05-16 19:42:02 +02:00
Michael Stapelberg
ddb2a4c5be Fix bug-script: “systemctl dump” is now “systemd-analyze dump”
Closes: #748311
2014-05-16 19:38:26 +02:00
Michael Biebl
9edff82c19 Minor formatting fixes for README.source 2014-05-01 02:08:30 +02:00
Martin Pitt
f11a2ddeb6 Fix typo in sg loading rule to make it actually work 2014-04-30 16:19:06 +02:00
Martin Pitt
2ecac75111 Advertise hibernation only if there's enough free swap.
Patches backported from current upstream.

LP: #1313522
2014-04-29 13:58:04 +02:00
Martin Pitt
02f39afde0 add bug ref to #739113 2014-04-29 09:07:47 +02:00
Sjoerd Simons
06b1bd82e7 Don't stop a running user manager from garbage collecting the users.
Fixes long shutdown times when using a systemd user session
2014-04-29 08:55:08 +02:00
Martin Pitt
54c82fb5ae Document disabling of patch numbers
Our debian/gbp.conf disables gbp-pq patch numbers, adjust README.source
accordingly.
2014-04-28 12:55:14 +02:00
Michael Biebl
3cd0008af0 Make no-patch-numbers the default for gbp-pq
See 6b3ad962e8
2014-04-28 12:52:35 +02:00
Martin Pitt
abe17ab78d Replace "Always probe cpu support drivers" patch with cherry-picked upstream fix
That patch is more general and will go away when we move to newer upstream
versions.
2014-04-28 12:48:57 +02:00
Martin Pitt
b01d9f08db README.source: Fix typo 2014-04-28 12:44:24 +02:00
Michael Biebl
d5620a1a1a Release version 208-1 to experimental 2014-04-28 00:36:26 +02:00
Michael Biebl
b5949e2690 Drop systemd-logind-launch script
With the changes in 2d54bc3754 this script
is no longer necessary.
2014-04-28 00:21:59 +02:00
Michael Biebl
2d54bc3754 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).
2014-04-28 00:21:02 +02:00
Michael Biebl
95e218e910 Merge branch 'master' into experimental
Conflicts:
	debian/changelog
2014-04-27 19:14:29 +02:00
Michael Biebl
ec748d6eba Adjust systemd-user pam config file for Debian
This pam config file is used by libpam-systemd/systemd-logind when
launching systemd user instances.
2014-04-27 19:13:27 +02:00
Michael Biebl
95bf8f7da5 Make no-patch-numbers the default for gbp-pq
See 6b3ad962e8
2014-04-27 19:13:23 +02:00
Michael Biebl
d95d27a349 Use the correct file when masking urandom.service
Upstream renamed systemd-random-seed-load.service to
systemd-random.service.
2014-04-27 18:08:00 +02:00
Michael Biebl
d282af2500 Move new sd_pid_get_slice and sd_session_get_vt man pages into libsystemd-login-dev 2014-04-27 16:48:39 +02:00
Michael Biebl
62ea84eab9 Disable various features which aren't required for the udeb build 2014-04-27 16:25:50 +02:00
Michael Biebl
1fdea8434e Bump Build-Depends on libcryptsetup-dev to (>= 2:1.6.0) for tcrypt support 2014-04-27 16:18:32 +02:00
Michael Biebl
01cfdbcd6c Make kmod-static-nodes.service check for the kmod binary
since we don't want a hard dependency on kmod e.g. for container
installations.
2014-04-27 15:50:11 +02:00
Michael Biebl
8eb77b24eb Bump Build-Depends on kmod to (>= 14). 2014-04-27 14:54:35 +02:00
Michael Biebl
49c558fc9d Update default paths for kmod and kexec 2014-04-27 14:52:53 +02:00
Michael Biebl
34ba070273 Create a compat symlink /etc/sysctl.d/99-sysctl.conf
as systemd-sysctl no longer reads /etc/sysctl.conf
2014-04-27 14:39:08 +02:00
Michael Biebl
1624e17432 Add bug reference for the new upstream release 2014-04-27 14:36:41 +02:00
Michael Biebl
33ee4358d7 Install new files and remove the ones we don't use
Install zsh completion files.

Closes: #717540
2014-04-27 14:35:36 +02:00
Michael Biebl
ebdf0bf0be Update symbols files for libsystemd-journal and libsystemd-login. 2014-04-27 14:28:17 +02:00
Michael Biebl
35800e13f9 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
2014-04-27 14:26:02 +02:00
Michael Biebl
0bca2a2542 New upstream release 2014-04-27 13:00:21 +02:00
Martin Pitt
1a870ed3a2 Explain patch management in debian/README.source 2014-04-27 12:52:30 +02:00
Michael Biebl
e6326e6f10 Merge tag 'upstream/208' into experimental
Upstream version 208
2014-04-27 12:02:32 +02:00
Michael Biebl
14228c0ddf Imported Upstream version 208 2014-04-27 12:02:08 +02:00
Michael Biebl
fd0219f783 Switch debian-branch to experimental 2014-04-27 12:01:25 +02:00
Michael Biebl
c3c95bf487 Release version 204-10 to unstable 2014-04-27 11:54:06 +02:00
Martin Pitt
6b3ad962e8 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.
2014-04-27 11:14:49 +02:00