Package: systemd / 204-14~bpo70+1
Metadata
Package | Version | Patches format |
---|---|---|
systemd | 204-14~bpo70+1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
Add back support for Debian specific config files.patch | (download) |
src/core/locale-setup.c |
21 21 + 0 - 0 ! |
add back support for debian specific config files For now fallback to read the locale settings from /etc/default/locale. This reverts the Debian specific bits from 46a2911bf2780f616396df5671dd901cc7cb54fd 99f861310d3f05f4e86cb9582a94b891dbb3382b |
Make systemctl enable disable call update rc.d for s.patch | (download) |
src/systemctl/systemctl.c |
21 6 + 15 - 0 ! |
make systemctl enable/disable call update-rc.d for sysv init scripts (#709780) |
change the log_info line in systemctl to reflect rea.patch | (download) |
src/systemctl/systemctl.c |
2 1 + 1 - 0 ! |
change the log_info() line in systemctl to reflect reality |
Also redirect to update rc.d when not using .service.patch | (download) |
src/systemctl/systemctl.c |
6 2 + 4 - 0 ! |
also redirect to update-rc.d when not using .service I.e. make systemctl enable rsyslog work (previously, only systemctl enable rsyslog.service) |
systemctl don t skip native units when enabling disa.patch | (download) |
src/systemctl/systemctl.c |
6 4 + 2 - 0 ! |
=?utf-8?q?systemctl=3a_don=e2=80=99t_skip_native_units_when_enabl?= =?utf-8?q?ing/disabling_sysv_units?= |
systemctl call update rc.d enable disable not defaul.patch | (download) |
src/systemctl/systemctl.c |
2 1 + 1 - 0 ! |
systemctl: call update-rc.d enable|disable, not defaults|remove |
Run update rc.d defaults before update rc.d enable d.patch | (download) |
src/systemctl/systemctl.c |
47 46 + 1 - 0 ! |
run update-rc.d defaults before update-rc.d <enable|disable> Closes: #722523 |
systemctl mangle names when avoiding dbus.patch | (download) |
src/systemctl/systemctl.c |
22 11 + 11 - 0 ! |
systemctl: mangle names when avoiding dbus Unit names were mangled in function enable_unit only when dbus was used. This patch adds mangling also when the dbus is not in use. This makes it possible to say e.g.: systemctl --root=/path enable cups without spelling cups.service out in full. |
fix systemctl enable disable error message Failed to.patch | (download) |
src/systemctl/systemctl.c |
11 7 + 4 - 0 ! |
=?utf-8?q?fix_systemctl_enable/disable/=e2=80=a6_error_message_?= =?utf-8?q?=E2=80=9CFailed_to_issue_method_call=3A?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit No such file or directory The bug affected only non-native services, i.e. LSB SysV init scripts, with isc-dhcp-server.service being an example for this commit message. The bug was introduced with commit fdcb1bce7b16f69c4d63451816e2c7f824d090b4. The issue is that enable_unit() would not return even though the SysV init script was disabled by enable_sysv_units(). enable_unit() then tried to disable a native systemd unit called isc-dhcp-server.service, even though there is no such native unit. This is what caused the no such file or directory error message. Closes: #734809 |
don t try to start autovt units when not running wit.patch | (download) |
src/login/logind.c |
5 5 + 0 - 0 ! |
=?utf-8?q?don=e2=80=99t_try_to_start_autovt_units_when_not_runnin?= =?utf-8?q?g_with_systemd_as_pid_1?= Closes: #726466 |
timedated don t rely on usr being mounted in the ini.patch | (download) |
src/timedate/timedated.c |
90 89 + 1 - 0 ! |
=?utf-8?q?timedated=3a_don=e2=80=99t_rely_on_/usr_being_mounted_i?= =?utf-8?q?n_the_initrd?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit This reverts commit 92c4ef2d357baeef78b6f82f119b92f7ed12ac77 We dont have /usr mounted in the initramfs yet in Debian, so lets support split usr by copying the file instead of symlinking if necessary, for now. Closes: #726256 |
fstab generator don t rely on usr being mounted in t.patch | (download) |
src/fstab-generator/fstab-generator.c |
4 1 + 3 - 0 ! |
=?utf-8?q?fstab-generator=3a_don=e2=80=99t_rely_on_/usr_being_mou?= =?utf-8?q?nted_in_the_initrd?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Debian is not there yet. Lets revert this upstream change for now. Closes: #724797 |
man fix reference in systemd inhibit 1.patch | (download) |
man/systemd-inhibit.xml |
2 1 + 1 - 0 ! |
man: fix reference in systemd-inhibit(1) http://bugs.debian.org/738316 |
fix remaining reference to systemd logind.conf.patch | (download) |
man/systemd-inhibit.xml |
2 1 + 1 - 0 ! |
fix remaining reference to systemd-logind.conf |
Clean up closing empty sessions when not running und.patch | (download) |
src/login/logind.c |
8 8 + 0 - 0 ! |
clean up closing empty sessions when not running under systemd In logind's manager_gc(), submit "closing" session to garbage collection, to clean them up once they are empty. This is usually triggered through manager_cgroup_notify_empty() from a org.freedesktop.systemd1.Agent.Released signal, but that doesn't happen when not running under systemd. |
Make logind hostnamed localed timedated D Bus activa.patch | (download) |
src/hostname/org.freedesktop.hostname1.service |
2 1 + 1 - 0 ! |
make logind/hostnamed/localed/timedated d-bus activatable We want to use those services outside of systemd, so we make them activatable via D-Bus. |
Launch logind via a shell wrapper.patch | (download) |
src/login/org.freedesktop.login1.service |
2 1 + 1 - 0 ! |
launch logind via a shell wrapper We need to setup the cgroupfs mount and the runtime directory before starting logind. Use a shell script which is triggered by the D-Bus service. |
Start logind on demand via libpam systemd.patch | (download) |
src/login/pam-module.c |
7 2 + 5 - 0 ! |
start logind on demand via libpam-systemd Don't make pam_sm_open_session() a NOP if logind is not running. Trying to access logind via D-Bus will start it on demand. |
Update localed to use the Debian config files.patch | (download) |
src/locale/localed.c |
219 112 + 107 - 0 ! |
update localed to use the debian config files Prefer /etc/default/locale over /etc/locale.conf when writing the locale configuration and use /etc/default/keyboard instead of /etc/X11/xorg.conf.d/00-keyboard.conf. Path courtesy of Steve Langasek. |
initctl use irreversible jobs when switching runleve.patch | (download) |
src/initctl/initctl.c |
2 1 + 1 - 0 ! |
initctl: use irreversible jobs when switching runlevels Spotted by uau in #systemd. |
Start ctrl alt del.target irreversibly.patch | (download) |
src/core/manager.c |
2 1 + 1 - 0 ! |
start ctrl-alt-del.target irreversibly This makes ctrl-alt-del reboots more robust, just like "systemctl reboot". |
Recognize discard option in etc crypttab.patch | (download) |
src/cryptsetup/cryptsetup.c |
2 1 + 1 - 0 ! |
recognize discard option in /etc/crypttab. Signed-off-by: Ondrej Balaz <blami@blami.net> |
polkit Avoid race condition in scraping proc.patch | (download) |
src/shared/polkit.c |
31 5 + 26 - 0 ! |
polkit: avoid race condition in scraping /proc If a calling process execve()s a setuid program, it can appear to be uid 0. Since we're receiving requests over DBus, avoid this by simply passing system-bus-name as a subject. |
journald DO recalculate the ACL mask but only if it .patch | (download) |
src/journal/journald-server.c |
6 4 + 2 - 0 ! |
journald: do recalculate the acl mask, but only if it doesn't exist Since 11ec7ce, journald isn't setting the ACLs properly anymore if the files had no ACLs to begin with: acl_set_fd fails with EINVAL. An ACL with ACL_USER or ACL_GROUP entries but no ACL_MASK entry is invalid, so make sure a mask exists before trying to set the ACL. |
Avoid sending sigterm to session leader.patch | (download) |
src/login/logind-session.c |
2 1 + 1 - 0 ! |
avoid sending sigterm to session leader |
Add note to udev.conf that changes to that file requ.patch | (download) |
src/udev/udev.conf |
3 3 + 0 - 0 ! |
add note to udev.conf that changes to that file require a rebuild of the initramfs Based on debian/patches/udev_conf_comments from the old udev package. |
Bring tmpfiles.d tmp.conf in line with Debian defaul.patch | (download) |
tmpfiles.d/tmp.conf |
4 2 + 2 - 0 ! |
bring tmpfiles.d/tmp.conf in line with debian defaults Closes: #675422 |
Don t mount tmp as tmpfs by default.patch | (download) |
Makefile.am |
3 1 + 2 - 0 ! |
=?utf-8?q?don=e2=80=99t_mount_/tmp_as_tmpfs_by_default?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit by adding an [Install] section to tmp.mount and removing the local-fs.target.wants symlink. Users can use systemctl enable tmp.mount to enable mounting /tmp after the next reboot and systemctl start tmp.mount to get /tmp mounted as tmpfs right now (beware, files currently in /tmp will not be visible anymore afterwards). |
Fix up tmpfiles.d permissions properly.patch | (download) |
tmpfiles.d/legacy.conf |
4 2 + 2 - 0 ! |
fix up tmpfiles.d permissions properly |
Revert udev network device renaming immediately give.patch | (download) |
src/udev/udev-event.c |
44 41 + 3 - 0 ! |
revert "udev: network device renaming - immediately give up if the target name isn't available" This reverts commit 97595710b77aa162ca5e20da57d0a1ed7355eaad. Since we are keeping the old persistent network interface naming for now, and make the new naming scheme [1] explictly opt-in [2], re-apply this old hack to make the renaming less likely to fail. [1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ [2] d5051f7666e25ecf2b32c7076ce18c1de969d01b |
systemd tmpfiles setup dev remain after exit.patch | (download) |
units/systemd-tmpfiles-setup-dev.service.in |
1 1 + 0 - 0 ! |
systemd-tmpfiles-setup-dev: remain after exit Without this, tmpfiles-setpu-dev would be re-run if any other service, which pulls in basic.target, was started after setup-dev was finished and before basic.target was active. |
udev hwdb Store binary database in libdir not in etc.patch | (download) |
Makefile.am |
2 1 + 1 - 0 ! |
udev hwdb: store binary database in libdir, not in /etc Storing huge binary files in /etc/ is ugly, as this is neither user-editable nor configuration of any kind. This is just a cache file, and does not need backing up. Move it to udevlibexecdir instead. |
systemd order remote mounts from mountinfo before re.patch | (download) |
src/core/mount.c |
5 4 + 1 - 0 ! |
systemd: order remote mounts from mountinfo before remote-fs.target Usually the network is stopped before filesystems are umounted. Ordering network filesystems before remote-fs.target means that their unmounting will be performed earlier, and can terminate sucessfully. https://bugs.freedesktop.org/show_bug.cgi?id=70002 |
core dbus properly export cgroup properties on socke.patch | (download) |
src/core/dbus-socket.c |
2 1 + 1 - 0 ! |
core/dbus: properly export cgroup properties on sockets https://bugs.freedesktop.org/show_bug.cgi?id=65945 |
Fix CPUShares configuration option.patch | (download) |
src/core/cgroup-semantics.c |
2 1 + 1 - 0 ! |
fix cpushares configuration option This fixes the error message "Unknown or unsupported cgroup attribute CPUShares". |
Make 99 systemd.rules check for run systemd systemd .patch | (download) |
rules/99-systemd.rules.in |
1 1 + 0 - 0 ! |
make 99-systemd.rules check for /run/systemd/systemd instead of the ill-named cgroups directory. |
Make net.ifnames opt in instead of opt out.patch | (download) |
rules/80-net-name-slot.rules |
2 1 + 1 - 0 ! |
make net.ifnames opt-in instead of opt-out With this commit, you need to actively specify net.ifnames=1 to get predictable network interface names: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ |
Don t move libgudev to lib.patch | (download) |
Makefile.am |
9 0 + 9 - 0 ! |
don't move libgudev to /lib libgobject and libgmodule are currently installed in /usr/lib. |
Use different default paths for various binaries.patch | (download) |
configure.ac |
12 6 + 6 - 0 ! |
use different default paths for various binaries Since Debian hasn't done the usr-merge (yet), various binaries are still installed in / and not /usr. Update the defaults in configure.ac so we don't have to build-depend on quota, libcap2-bin, procps, kmod and kexec-tools just to get the correct paths. Closes: #721347 |
pam Check XDG_RUNTIME_DIR owner.patch | (download) |
src/login/pam-module.c |
21 18 + 3 - 0 ! |
[patch] pam: check $xdg_runtime_dir owner http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html requires that $XDG_RUNTIME_DIR "MUST be owned by the user, and he MUST be the only one having read and write access to it.". Don't set an existing $XDG_RUNTIME_DIR in the PAM module if it isn't owned by |
Use comment systemd. syntax in systemd.mount man pag.patch | (download) |
man/systemd.mount.xml |
4 2 + 2 - 0 ! |
use comment=systemd.* syntax in systemd.mount man page The mount/util-linux version in wheezy is not recent enough to support the new x-systemd* syntax. It requires util-linux 2.21 or newer with the --enable-new-mount option enabled. Once we have such a version in Debian, this commit should be reverted again. |
Avoid reloading services when shutting down.patch | (download) |
src/core/manager.c |
25 25 + 0 - 0 ! |
avoid reloading services when shutting down Doing so won't work and makes no sense. Thanks to Michael Stapelberg for the patch. Closes: #624599. |
Avoid reload and re start requests during early boot.patch | (download) |
src/core/manager.c |
15 15 + 0 - 0 ! |
avoid reload and (re)start requests during early boot which can lead to deadlocks Closes: #624599 |
Revert service ignore dependencies on syslog and loc.patch | (download) |
Makefile.am |
1 1 + 0 - 0 ! |
revert "service: ignore dependencies on $syslog and $local_fs in lsb scripts" This reverts commit 5d4caf565471ff3401bd9b53aa814c8545a18a93. Since we added back support for rcS style services, we re-add support for $local_fs, too. |
Revert service drop support for SysV scripts for the.patch | (download) |
src/core/service.c |
22 18 + 4 - 0 ! |
revert "service: drop support for sysv scripts for the early boot" This reverts the Debian specific bits from commit 3cdebc217c42c8529086f2965319b6a48eaaeabe. We still have 100+ packages shipping SysV init scripts in rcS so it's too early to drop support for that. We eventually might use a separate generator for that, as this would be cleaner. But for now that will do. |
ignore chkconfig headers entirely they are often bro.patch | (download) |
src/core/service.c |
8 7 + 1 - 0 ! |
ignore chkconfig headers entirely, they are often broken in debian Closes: #634472 |
Order remote fs.target after local fs.target.patch | (download) |
units/remote-fs.target |
2 1 + 1 - 0 ! |
order remote-fs.target after local-fs.target This change was part of the old debianisation branch created by Tollef and reflects the fact that on Debian the $remote_fs system facility depends on $local_fs. |
Load sg module from 80 drivers.rules.patch | (download) |
rules/80-drivers.rules |
1 1 + 0 - 0 ! |
load sg module from 80-drivers.rules |
Updates to default device permissions.patch | (download) |
rules/50-udev-default.rules |
14 13 + 1 - 0 ! |
updates to default device permissions |
Set default polling interval on removable devices as.patch | (download) |
rules/60-persistent-storage.rules |
1 1 + 0 - 0 ! |
set default polling interval on removable devices as well The events_dfl_poll_msecs rule will not trigger if "block" is not a module, but built in. This will avoid udisks etc. having to poll from userspace, and provide proper ejection when the hardware eject button is pressed. Bug-Debian: https://bugs.debian.org/713877 Bug-Ubuntu: https://launchpad.net/bugs/890592 |
Make sd_login_monitor_new work for logind without sy.patch | (download) |
src/login/sd-login.c |
3 3 + 0 - 0 ! |
make sd_login_monitor_new() work for logind without systemd Fix sd_login_monitor_new() to not fail if there is no /sys/fs/cgroup/systemd/machine; that only exists when running with systemd as PID 1. This patch does not apply to and can be dropped for >= 205. Bug-Ubuntu: https://launchpad.net/bugs/1201180 |
logind if a user is sitting in front of the computer.patch | (download) |
src/login/org.freedesktop.login1.policy.in |
2 1 + 1 - 0 ! |
logind: if a user is sitting in front of the computer and can shutdown the machine anyway he should also be able to reboot it |
insserv.conf generator.patch | (download) |
Makefile.am |
9 9 + 0 - 0 ! |
insserv.conf generator Parse /etc/insserv.conf.d content and /etc/insserv.conf and generate systemd unit drop-in files to add corresponding dependencies. This patch is based on work by Frederic Crozat <fcrozat@suse.com>. See [0] for the original patch. It has the following modifications: - it removes support for boot. and bool.localfs which is a SuSE specific extension - it ensures that targets do not start other targets or services [0] https://build.opensuse.org/package/view_file/openSUSE:Factory/systemd/insserv-generator.patch |
Add targets for compatibility with Debian insserv sy.patch | (download) |
Makefile.am |
6 6 + 0 - 0 ! |
add targets for compatibility with debian insserv system facilities |
more cd aliases.patch | (download) |
rules/60-cdrom_id.rules |
10 9 + 1 - 0 ! |
more cd aliases Add more aliases for CD/DVD devices. |
rules drivers always call kmod even when a driver is.patch | (download) |
rules/80-drivers.rules |
2 1 + 1 - 0 ! |
rules: drivers - always call kmod, even when a driver is bound to the device On Sat, Jul 20, 2013 at 12:56 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote: > After a recent change present in 3.11-rc1 there is a driver, called processor, > that can be bound to the CPU devices whose sysfs directories are located under > /sys/devices/system/cpu/. A side effect of this is that, after the driver has > been bound to those devices, the kernel adds DRIVER=processor to ENV for CPU > uevents and they don't match the default rule for autoloading modules matching > MODALIAS: > > DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}" > > any more. However, there are some modules whose module aliases match specific > CPU features through the modalias string and those modules should be loaded > automatically if a compatible CPU is present. Yet, with the processor driver > bound to the CPU devices the above rule is not sufficient for that, so we need > a new default udev rule allowing those modules to be autoloaded even if the > CPU devices have drivers. |
Advertise hibernation only if there s enough free sw.patch | (download) |
src/shared/fileio.c |
34 34 + 0 - 0 ! |
advertise hibernation only if there's enough free swap Cherry-pick various upstream patches starting from 69ab80881 and 442e00839 to check whether there is swap available for hibernation. Bug-Ubuntu: https://launchpad.net/bugs/1313522 |
journal handle multiline syslog messages.patch | (download) |
src/journal/journald-server.c |
9 1 + 8 - 0 ! |
journal: handle multiline syslog messages MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Since the journal can handle multiple lines just well natively, and rsyslog can be configured to handle them as well, there is no need to truncate messages from syslog() after the first newline. Reproducer: 1. Add following four lines to /etc/rsyslog.conf |
libudev fix memleak when enumerating childs.patch | (download) |
src/libudev/libudev-enumerate.c |
14 9 + 5 - 0 ! |
libudev: fix memleak when enumerating childs We need to free udev-devices again if they don't match. Funny that no-one noticed it yet since valgrind is quite verbose about it. Fix it and free non-matching devices. |
Add run initctl support to SysV compat tools.patch | (download) |
src/systemctl/systemctl.c |
17 11 + 6 - 0 ! |
add /run/initctl support to sysv compat tools sysvinit in Debian uses /run/initctl as FIFO to communicate with PID 1. Make the SysV compat tools in systemd-sysv try both /run/initctl and the traditional /dev/initctl. This makes them usable when running sysvinit as PID 1. |