The CreateSession D-Bus API of systemd-logind changed between v44 and
v204 [1]. As result, newer versions of libpam-systemd fail to register a
new session if they talk to the old systemd-logind process.
Restarting systemd-logind.service when upgrading from v44 means we will
lose existing sessions, but as wheezy still has ConsoleKit as default,
this shouldn't matter that much. Closes: #717403
[1] https://bugs.freedesktop.org/show_bug.cgi?id=67131
Since other packages now depend on the systemd packages, make all
packages Priority: optional, with the exception of udev and libudev1,
which remain Priority: important, and systemd-sysv, which remains
Priority: extra due to the conflict with sysvinit. Closes: #717365
The udev-acl tool was removed from udev in version 182 and added to
consolekit. The Breaks ensures that a recent enough version of
consolekit is installed which is shipping this tool. While we will
switch to logind for dynamic device ACLs, this will ensure a smooth
upgrade path in the mean time. Closes: #717385
This ensures that ifdown is run when the device is removed and the
service is stopped. Closes: #660861, #703033
We eventually should rework that and instead of calling systemctl in
net.agent, start the service directly from the udev rule via
ENV{SYSTEMD_WANTS}.
Upstream has removed support for a configurable UDEV_ROOT in udev 176
when devtmpfs became mandatory. We already removed this from the SysV
init script in commit dbad4c2a8d.
In commit 6a1547f157 we switched from our
own firmware agent to the upstream one, but forgot to install
50-firmware.rules in the initramfs and the udev-udeb package.
This compiles the files from /usr/lib/systemd/catalog into a
binary database, which is used by journalctl to provide
additional information for log entries. journalctl only uses
the binary database in /var/lib/systemd/catalog/database.
Call journalctl --update-catalog in systemd.postinst and when
triggered by dpkg to update the Message Catalog database.
Also add systemd.postrm to remove the database on purge.
See http://www.freedesktop.org/wiki/Software/systemd/catalog/
Upstream dropped those generators. Since the debian specific rules
(75-cd-aliases-generator.rules and 75-persistent-net-generator.rules)
still use them, we copy them from the udev 175 source package along with
rule_generator.functions which is used by those generators.
This file created /dev/root, but programs should not rely on that
anyway. If this breaks anything, we need to fix it in that particular
program.
See also http://bugs.debian.org/670146
The patches from udev were either merged upstream, applied directly,
added as files to debian/extra/ or dropped:
- debian/patches/commit-4b50a3d
Applied upstream in 4b50a3d004
- debian/patches/fix_gtkdoc_oot
Fixed upstream
- debian/patches/libudevpc_no_librt
Fixed upstream in e712ffcce6
- debian/patches/vio_type
Dropped for now.
- debian/patches/debian_rules
Added as debian/extra/rules/*
- debian/patches/extra_agents
Added as debian/extra/*.agent and debian/extra/hotplug.functions
- debian/patches/extra_initramfs
Added as debian/extra/initramfs.*
- debian/patches/extra_installer
Added as debian/extra/udev.*
- debian/patches/extra_modprobeconf
Added as debian/extra/fbdev-blacklist.conf and
debian/extra/make-fbdev-blacklist
- debian/patches/extra_misc
Added as debian/extra/links.conf and debian/extra/create_static_nodes
- debian/patches/dont-build-some-helpers
Dropped, since we will use the upstream firmware agent now
- debian/patches/libgudev_in_usr
Applied as 418b0a2d41
- debian/patches/rules_compat_qemu
Dropped, only needed for kernel versions <= 2.6.32
- debian/patches/use_run_tmpfs
Dropped, since wheezy /run is mandatory
- debian/patches/dev_root_rule
Dropped, discouraged upstream
- debian/patches/udevd_in_sbin
Dropped, we will use the $libexec path now in the .service file and
provide compat symlinks
- udev_conf_comments
Applied as c82d84e916
This partially reverts commit 238dae120d.
We are using debconf in preinst, so we need the debconf dependency in
Pre-Depends, but dh_installdebconf only adds it to ${misc:Depends}.
Which means we have to specify it manually.
This was a temporary workaround for wheezy. Packages should use dh-systemd
now to properly integrate service files with systemd.
Remove the state files on upgrades.