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.
Michael Biebl [Wed, 20 Aug 2014 21:49:50 +0000 (23:49 +0200)]
Make emergency.service conflict with rescue.service
Otherwise if rescue mode is selected during boot and the emergency mode
is triggered (e.g. via a broken fstab entry), we have two sulogin
processes fighting over the tty.
Michael Biebl [Wed, 20 Aug 2014 19:48:24 +0000 (21:48 +0200)]
Don't write to /sys/kernel/uevent_helper unconditionally
Fix udev SysV init script and d-i start script to not write to
/sys/kernel/uevent_helper unconditionally to not fail on a kernel with
CONFIG_UEVENT_HELPER unset.
Michael Biebl [Wed, 20 Aug 2014 19:27:58 +0000 (21:27 +0200)]
Don't rely on /dev/stdout when creating static device nodes under sysvinit
"kmod static-nodes" will write its output to /dev/stdout by default.
That device node is created by udevd as a symlink to /proc/self/fd/1.
Since we run make_static_nodes() in the udev SysV init script before
udevd is started, this device node is not guaranteed to exist and kmod
fails to deal with that properly.
As a workaround, use "kmod static-nodes --output=/proc/self/fd/1".
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