Sjoerd Simons [Mon, 1 Dec 2014 21:43:42 +0000 (22:43 +0100)]
Make unix socket binding a tad more robust
* d/p/core-Fix-bind-error-message.patch:
+ Added. Fix error message on bind failure to print the full path
* d/p/core-Make-binding-notify-private-dbus-socket-more-ro.patch:
+ Added. Be more robust when binding private unix sockets (Based on current
upstream logic) (Closes: #761306)
Martin Pitt [Fri, 28 Nov 2014 11:11:54 +0000 (12:11 +0100)]
Handle multiple display managers which don't ship a systemd unit, part 2
Modify insserv generator to mask sysvinit-only display managers (those which
refer to insserv's $x-display-manager tag) if they don't match
/etc/X11/default-display-manager. This avoids starting multiple DMs at boot.
Martin Pitt [Tue, 25 Nov 2014 07:10:06 +0000 (08:10 +0100)]
Make systemd-nspawn@.service work out of the box
- Pre-create /var/lib/container with a secure mode (0700) via tmpfiles.d.
- Add new try-{guest,host} modes for --link-journal to silently skip
setting up the guest journal if the host has no persistant journal.
- Extend boot-and-services autopkgtest to cover systemd-nspawn@.service.
Martin Pitt [Mon, 17 Nov 2014 06:22:34 +0000 (07:22 +0100)]
Switch libpam-systemd dependencies to prefer systemd-shim over systemd-sysv
This implements the CTTE decision #746578. This is a no-op on systems which
already have systemd-sysv installed, but will prevent installing that on
upgrades.
Didier Roche [Fri, 14 Nov 2014 10:55:24 +0000 (11:55 +0100)]
debian/ifup@.service: Only run if /run/network exists
Add a ConditionPath on /run/network in case autogenerated networking.service
didn't need to start and so, didn't create this directory. Starting an ifup
service without this directory was resulting in the unit failing.
Martin Pitt [Fri, 17 Oct 2014 14:09:34 +0000 (16:09 +0200)]
Drop our Check-for-kmod-binary.patch
The upstream patch units-conditionalize-static-device-node-logic-on-CAP.patch
supersedes it. Containers usually don't have CAP_SYS_MODULE, and in the rare
case when they actually do (i. e. you want them to handle modules), it's better
to actually do get an error message if kmod is not available.
* d/p/sd-bus-Accept-no-sender-as-the-destination-field.patch
+ Fix compatibility between systemctl v215 and v208. Resolves issue when
reloads of services is requested before systemd is re-execed
(Closes: #762146)
Michael Biebl [Sun, 14 Sep 2014 15:10:16 +0000 (17:10 +0200)]
Be more conservative and upfront when attaching data to the bug report
Rework bug-script to be more upfront about what kind of data is gathered
and ask the user for permission before attaching the information to the
bug report.
debian/rules: add systemd-update-utmp-runlevel.service to {poweroff, rescue, multi-user, graphical, reboot}.target.wants to trigger the runlevel target to be loaded
Add patches to fix FTBS on ppc and run timesyncd without networkd
* debian/patches/always-check-for-__BYTE_ORDER-__BIG_ENDIAN-when-chec.patch
+ Added. Fix checking of of system endianess. Fixes FTBS on powerpc
* debian/patches/timesyncd-when-we-don-t-know-anything-about-the-netw.patch:
+ Let timesyncd go online even if networkd isn't running (from upstream
git) (Closes: #760087)
Michael Biebl [Sat, 6 Sep 2014 19:36:18 +0000 (21:36 +0200)]
Use adduser in quiet mode
* Use adduser in quiet mode when creating the system users/groups to avoid
warning messages about the missing home directories. Those are created
dynamically during runtime.
* Set the gecos field when creating the system users.
Michael Biebl [Sat, 6 Sep 2014 18:26:17 +0000 (20:26 +0200)]
Fix ProtectSystem= to properly work with split /usr
Cherry-pick upstream commit to fix ProtectSystem=full and make the
ProtectSystem= option consider /bin, /sbin, /lib and /lib64 (if it
exists) on Debian systems.
Michael Biebl [Sat, 6 Sep 2014 13:02:18 +0000 (15:02 +0200)]
Disable factory-reset feature and remove files associated with it
This feature needs more integration work first before it can be enabled
in Debian. E.g. Debian still uses a split /usr setup and a merged /usr is
a prerequisite for factory-reset to work properly.
Atm. it also leads to dependency cycles between keyboard-setup.service
and systemd-udev-hwdb-update.service.
Michael Biebl [Sat, 6 Sep 2014 12:48:30 +0000 (14:48 +0200)]
Properly escape network interface names in net.agent
Use the new systemd-escape utility to properly escape the network
interface name when starting an ifup@.service instance for hotplugged
network interfaces. Make sure a recent enough systemd version is
installed by bumping the versioned Breaks accordingly.
Also make "systemctl start" non-blocking as we only want to enqueue the
job but do not actually need to wait for it to finish.
Michael Biebl [Thu, 4 Sep 2014 16:50:20 +0000 (18:50 +0200)]
Update symbols files
- Add two new symbols for libudev1.
- Remove private symbol from libgudev-1.0-0. This symbol was never part of
the public API and not used anywhere so we don't need a soname bump.
We don't want a dependency on new mount for now as this would entangle
util-linux and systemd when transitioning to unstable. As systemd seems
to work fine with the old mount, we simply add back the changes to the
documentation using the comment= syntax. This also re-opens #754411.
Michael Biebl [Thu, 4 Sep 2014 14:51:15 +0000 (16:51 +0200)]
Apply patch which was forgotten when merging changes from master
The merge commit 87eac63ebe41726d96ddc4d35c772566b84d4891 added the path
util-avoid-considering-dpkg-temporary-files-relevant.patch but forgot to
actually add it to the series file.