]>
git.proxmox.com Git - systemd.git/log
Martin Pitt [Sat, 26 Apr 2014 11:39:17 +0000 (13:39 +0200)]
Add new block of Windows Azure ethernet hardware address to 75-persistent-net-generator.rules
LP: #
1274348
Martin Pitt [Sat, 26 Apr 2014 11:34:08 +0000 (13:34 +0200)]
Mount /dev/pts with the correct permissions in the udev
This avoids needing pt_chown (not available on all architectures).
Thanks Adam Conrad.
Martin Pitt [Sat, 26 Apr 2014 11:20:05 +0000 (13:20 +0200)]
Run dh_install with --fail-missing
To avoid forgetting files when we move to new versions.
Martin Pitt [Sat, 26 Apr 2014 11:19:23 +0000 (13:19 +0200)]
Ship sd-shutdown.h in libsystemd-daemon-dev
Martin Pitt [Sat, 26 Apr 2014 11:13:24 +0000 (13:13 +0200)]
rules: Remove the kernel-install bits
we don't want that in Debian and thus it shouldn't appear in dh_install
--list-missing output.
Martin Pitt [Sat, 26 Apr 2014 10:57:02 +0000 (12:57 +0200)]
debian/udev.udev-finish.upstart: Fix path to tmp-rules
debian/extra/rule_generator.functions creates them in /run/udev/.
Michael Biebl [Sat, 26 Apr 2014 10:37:59 +0000 (12:37 +0200)]
Do proper refcounting of the PAM module package on prerm
so that we don't drop the module from the PAM config when uninstalling
a foreign-arch package. Related to Ubuntu bug #
1295521 .
Michael Biebl [Sat, 26 Apr 2014 09:08:35 +0000 (11:08 +0200)]
Switch from gitpkg to git-buildpackage. Update README.source accordingly.
Michael Biebl [Sat, 26 Apr 2014 08:42:26 +0000 (10:42 +0200)]
Do not send potentially private fstab information without prior user confirmation
Closes: #743158
Michael Biebl [Sat, 26 Apr 2014 08:24:35 +0000 (10:24 +0200)]
No longer necessary with gbp
Michael Biebl [Sat, 26 Apr 2014 08:23:52 +0000 (10:23 +0200)]
Import patches
Michael Stapelberg [Sat, 26 Apr 2014 08:18:23 +0000 (10:18 +0200)]
Delete obsolete debian/source/options (not necessary with gbp).
Michael Stapelberg [Sat, 26 Apr 2014 08:18:08 +0000 (10:18 +0200)]
Update README.source with git-buildpackage instructions.
Michael Stapelberg [Sat, 26 Apr 2014 08:17:35 +0000 (10:17 +0200)]
Add debian/gbp.conf with pristine-tar = True.
Michael Stapelberg [Sat, 26 Apr 2014 08:16:11 +0000 (10:16 +0200)]
Use orig tarball systemd-204.tar.xz.
Instead of tracking git upstream directly, the upstream branch now
contains the contents of the orig tarball available at
http://www.freedesktop.org/software/systemd/
Michael Stapelberg [Sat, 26 Apr 2014 08:12:44 +0000 (10:12 +0200)]
Delete all upstream files in preparation for the merge.
This is necessary to properly deal with files like units/syslog.target,
which would not be deleted when merging otherwise.
Michael Stapelberg [Sat, 26 Apr 2014 08:09:47 +0000 (10:09 +0200)]
Merge branch 'upstream'
Michael Stapelberg [Sat, 26 Apr 2014 08:08:46 +0000 (10:08 +0200)]
Imported Upstream version 204
Michael Biebl [Wed, 19 Mar 2014 17:58:15 +0000 (18:58 +0100)]
Release version 204-8 to unstable
Michael Biebl [Wed, 19 Mar 2014 17:55:17 +0000 (18:55 +0100)]
Bump Standards-Version to 3.9.5.
Michael Biebl [Wed, 19 Mar 2014 17:45:15 +0000 (18:45 +0100)]
Use comment=systemd.device-timeout syntax in systemd.mount man page
This is a followup commit for
e89ec25a634d561020ad94b5f67edaf0f34cf202
Michael Biebl [Wed, 19 Mar 2014 17:28:13 +0000 (18:28 +0100)]
Don't install tmp.mount in local-fs.target.wants
Instead of installing and removing tmp.mount later via debian/rules,
don't install it in the first place. This is a followup commit for
d151046c20c57b984925322a16a816bd2c062315
Michael Stapelberg [Sat, 1 Mar 2014 09:28:15 +0000 (10:28 +0100)]
ignore chkconfig headers entirely, they are often broken in Debian
closes #634472
Michael Biebl [Thu, 27 Feb 2014 22:48:46 +0000 (23:48 +0100)]
systemctl: fix segfault in enable_unit()
This bug was introduced in
aa57b6c5c3eafc84a95f08ac4038d9d93ac7092e
We need to initialize the DBusError struct before it is used/freed.
Michael Stapelberg [Thu, 27 Feb 2014 21:12:05 +0000 (22:12 +0100)]
pam: Check $XDG_RUNTIME_DIR owner
from Ubuntu’s patches/pam-check-runtime-dir-user.patch:
From: Martin Pitt <martinpitt@gnome.org>
Date: Wed, 13 Nov 2013 13:02:28 +0100
Subject: [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
the session user. Otherwise su sessions get a runtime dir from a different user
which leads to either permission errors or scribbling over the other user's
files.
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=753882
Bug-Ubuntu: https://launchpad.net/bugs/
1197395
Michael Stapelberg [Thu, 27 Feb 2014 09:44:52 +0000 (10:44 +0100)]
set capabilities cap_dac_override,cap_sys_ptrace=ep for systemd-detect-virt
Michael Stapelberg [Wed, 26 Feb 2014 07:46:03 +0000 (08:46 +0100)]
add explicit “Depends: sysv-rc”
closes: #739679
Michael Stapelberg [Wed, 19 Feb 2014 22:35:34 +0000 (23:35 +0100)]
remove kernel.sysrq= setting from sysctl.d/50-default.conf
(Following Ben Hutching’s recommendation.)
closes #725422
Michael Stapelberg [Tue, 18 Feb 2014 19:04:41 +0000 (20:04 +0100)]
start a debian/README.source
closes #739113
Michael Stapelberg [Sat, 15 Feb 2014 18:33:06 +0000 (19:33 +0100)]
do a one-time migration of RAMTMP=
from /etc/default/rcS and /etc/default/tmpfs, i.e. enable tmp.mount
Closes: #738687
Michael Stapelberg [Sat, 15 Feb 2014 18:23:43 +0000 (19:23 +0100)]
fix systemctl enable/disable/… error message “Failed to issue method call: No such file or directory”
For real. This commit was accidentally reverted when merging
upstream-fixes into the debian branch *shakes fist at gitpkg*.
Closes: #738843
Michael Stapelberg [Fri, 14 Feb 2014 23:59:57 +0000 (00:59 +0100)]
add Breaks/Replaces for the manpage move (Thanks mbiebl)
Michael Stapelberg [Fri, 14 Feb 2014 22:28:35 +0000 (23:28 +0100)]
libpam-systemd: recommend to install the package if in doubt
see #738799
Michael Stapelberg [Thu, 13 Feb 2014 21:51:22 +0000 (22:51 +0100)]
move manpages from systemd to libsystemd-*-dev as appropriate
closes #738723
Michael Stapelberg [Tue, 11 Feb 2014 22:34:44 +0000 (23:34 +0100)]
update changelog for the 204-7 upload
This removes the closes: on the bootstrap bug, because that issue is not
actually resolved with the current patch.
Michael Stapelberg [Tue, 11 Feb 2014 22:32:20 +0000 (23:32 +0100)]
Merge branch 'upstream-fixes' into debian
Zbigniew Jędrzejewski-Szmek [Sun, 9 Feb 2014 06:34:20 +0000 (06:34 +0000)]
man: fix reference in systemd-inhibit(1)
http://bugs.debian.org/738316
Eelco Dolstra [Fri, 24 May 2013 17:34:53 +0000 (17:34 +0000)]
Fix CPUShares configuration option
This fixes the error message "Unknown or unsupported cgroup attribute
CPUShares".
Zbigniew Jędrzejewski-Szmek [Fri, 4 Oct 2013 02:15:08 +0000 (02:15 +0000)]
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
Václav Pavlín [Fri, 17 May 2013 14:03:36 +0000 (14:03 +0000)]
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.
Michael Stapelberg [Sun, 9 Feb 2014 10:20:47 +0000 (11:20 +0100)]
changelog: document bug-script changes
Michael Stapelberg [Sun, 9 Feb 2014 10:18:49 +0000 (11:18 +0100)]
add stage1 bootstrap support to avoid Build-Depends cycles
Patch by Daniel Schepler
Michael Stapelberg [Sun, 9 Feb 2014 10:07:09 +0000 (11:07 +0100)]
fix remaining reference to systemd-logind.conf
Michael Stapelberg [Sun, 9 Feb 2014 10:05:02 +0000 (11:05 +0100)]
update changelog for previous cherry-pick
Zbigniew Jędrzejewski-Szmek [Sun, 9 Feb 2014 06:34:20 +0000 (06:34 +0000)]
man: fix reference in systemd-inhibit(1)
http://bugs.debian.org/738316
Michael Stapelberg [Thu, 30 Jan 2014 19:29:51 +0000 (20:29 +0100)]
update changelog for previous cherry-pick
Eelco Dolstra [Fri, 24 May 2013 17:34:53 +0000 (17:34 +0000)]
Fix CPUShares configuration option
This fixes the error message "Unknown or unsupported cgroup attribute
CPUShares".
Michael Stapelberg [Tue, 28 Jan 2014 18:43:55 +0000 (19:43 +0100)]
bug-script: attach instead of paste extra info with reportbug ≥ 6.5.0
Michael Stapelberg [Sun, 26 Jan 2014 09:25:04 +0000 (10:25 +0100)]
update changelog for previous cherry-pick
Zbigniew Jędrzejewski-Szmek [Fri, 4 Oct 2013 02:15:08 +0000 (02:15 +0000)]
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
Michael Stapelberg [Sun, 19 Jan 2014 17:40:56 +0000 (18:40 +0100)]
fix systemctl enable/disable/… error message “Failed to issue method call:
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
Michael Stapelberg [Tue, 31 Dec 2013 13:39:51 +0000 (14:39 +0100)]
update changelog for the 204-6 upload
Michael Stapelberg [Tue, 31 Dec 2013 06:13:48 +0000 (07:13 +0100)]
add myself to uploaders
Michael Stapelberg [Tue, 31 Dec 2013 05:54:26 +0000 (06:54 +0100)]
Add breaks/replaces for the new sysvinit-core package (Thanks Alf Gaida)
Closes: #733240
Tollef Fog Heen [Tue, 24 Dec 2013 14:04:28 +0000 (15:04 +0100)]
Merge remote-tracking branch 'origin/debian' into debian
Michael Stapelberg [Sat, 21 Dec 2013 18:07:15 +0000 (19:07 +0100)]
explain in README.Debian how to enable persistent logging in journald
Michael Stapelberg [Sat, 21 Dec 2013 18:02:59 +0000 (19:02 +0100)]
only call setfacl if /var/log/journal actually exists
It doesn’t exist by default, because we don’t yet ship the directory.
Shipping it would turn on persistent logging.
Michael Stapelberg [Sat, 21 Dec 2013 17:49:10 +0000 (18:49 +0100)]
don’t try to start autovt units when not running with systemd as pid 1
Closes: #726466
Michael Stapelberg [Thu, 28 Nov 2013 21:22:34 +0000 (22:22 +0100)]
add dependency on adduser for the systemd-journal group
Michael Stapelberg [Thu, 28 Nov 2013 21:17:22 +0000 (22:17 +0100)]
don’t delete the systemd-journal group on postrm
This will cause breakage because the files are left there. Other
packages can add new groups which re-use the old IDs and you end up with
weird and unintentional ACLs.
See also https://wiki.debian.org/AccountHandlingInMaintainerScripts
Michael Stapelberg [Thu, 28 Nov 2013 21:17:00 +0000 (22:17 +0100)]
run setfacl recursively to also cover already existing files
Michael Stapelberg [Wed, 27 Nov 2013 21:48:47 +0000 (22:48 +0100)]
revert
92c4ef2d357baeef78b6f82f119b92f7ed12ac77
We don’t have /usr mounted in the initramfs yet in Debian, so let’s
support split usr by copying the file instead of symlinking if
necessary, for now.
Closes: #726256
Guido Günther [Thu, 26 Sep 2013 12:13:24 +0000 (14:13 +0200)]
Add systemd-journal group
Users in this group are allowed to see system messages and messages from
other uses.
Michael Stapelberg [Wed, 27 Nov 2013 20:22:09 +0000 (21:22 +0100)]
allow group adm read access on /var/log/journal
Closes: #717386
Michael Stapelberg [Wed, 27 Nov 2013 18:43:28 +0000 (19:43 +0100)]
update debian/changelog to reflect all changes since 204-5
Václav Pavlín [Fri, 17 May 2013 14:03:36 +0000 (14:03 +0000)]
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.
Martin Pitt [Wed, 6 Nov 2013 13:18:36 +0000 (14:18 +0100)]
debian/extra/rules/75-persistent-net-generator.rules: Add Ravello systems
This is a cloud provider with VMs.
http://hwaddress.com/mac/2CC260-000000.html
https://launchpad.net/bugs/
1099278
Martin Pitt [Wed, 6 Nov 2013 13:15:03 +0000 (14:15 +0100)]
debian/shlibs.local: Drop libudev
This unnecessarily generates overly strict dependencies, the libudev ABI is
stable.
Martin Pitt [Wed, 6 Nov 2013 13:11:50 +0000 (14:11 +0100)]
debian/udev-udeb.install: Add 64-btrfs.rules and 75-probe_mtd.rules
They are potentially useful in a d-i environment.
Martin Pitt [Wed, 6 Nov 2013 13:10:51 +0000 (14:10 +0100)]
debian/udev.upstart: Fix path to udevd
The /sbin/udevd compat symlink should go away at some point.
Michael Stapelberg [Tue, 29 Oct 2013 21:29:22 +0000 (22:29 +0100)]
fstab-generator: don’t rely on /usr being mounted in the initrd
Debian is not there yet. Let’s revert this upstream change for now.
Closes: #724797
Tollef Fog Heen [Mon, 28 Oct 2013 13:31:37 +0000 (14:31 +0100)]
Make 99-systemd.rules check for /run/systemd/systemd instead of the ill-named cgroups directory.
Michael Stapelberg [Mon, 28 Oct 2013 07:02:23 +0000 (08:02 +0100)]
preinst: only preserve unit files for systems running systemd as PID 1 (Thanks mbiebl)
Michael Stapelberg [Sun, 27 Oct 2013 21:50:22 +0000 (22:50 +0100)]
preinst: preserve var-{lock,run}.mount when upgrading from 44 to 204
Closes: #723936
Michael Stapelberg [Sun, 27 Oct 2013 19:25:10 +0000 (20:25 +0100)]
Run update-rc.d defaults before update-rc.d <enable|disable>
Closes: #722523
Michael Biebl [Mon, 23 Sep 2013 10:10:50 +0000 (12:10 +0200)]
Release version 204-5 to unstable
urgency=high for the security upload.
Michael Biebl [Mon, 23 Sep 2013 10:09:02 +0000 (12:09 +0200)]
Update changelog
Michael Biebl [Mon, 23 Sep 2013 09:59:38 +0000 (11:59 +0200)]
Merge branch 'upstream-fixes' into debian
Colin Walters [Thu, 22 Aug 2013 17:55:21 +0000 (13:55 -0400)]
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.
Michael Biebl [Wed, 18 Sep 2013 00:32:06 +0000 (02:32 +0200)]
Clarify changelog regarding the circular dependency between udeb packages
Michael Biebl [Tue, 17 Sep 2013 22:05:42 +0000 (00:05 +0200)]
Release version 204-4 to unstable
Michael Biebl [Tue, 17 Sep 2013 22:04:37 +0000 (00:04 +0200)]
Update changelog
Michael Biebl [Tue, 17 Sep 2013 21:26:08 +0000 (23:26 +0200)]
Use devtmpfs instead of tmpfs
udev now requires devtmpfs, so update the SysV init script and various
other places to use devtmpfs instead of tmpfs. Closes: #722604
Michael Biebl [Tue, 17 Sep 2013 21:18:04 +0000 (23:18 +0200)]
Simplify enable_udev() on initial installation
Since UDEV_ROOT support has been removed upstream, simplify
enable_udev() which is run on initial installation. We now just run
"invoke-rc.d udev start" and restart daemons whose sockets might have
been hidden by the devtmpfs.
Michael Biebl [Tue, 17 Sep 2013 20:01:54 +0000 (22:01 +0200)]
Abort udev upgrade if devtmpfs support is missing
Add preinst check to abort udev upgrade if the currently running kernel
lacks devtmpfs support. Since udev 176, devtmpfs is mandatory as udev no
longer creates any device nodes itself. This only affects self-compiled
kernels which now need CONFIG_DEVTMPFS=y. Closes: #722580
Michael Biebl [Tue, 17 Sep 2013 18:55:50 +0000 (20:55 +0200)]
Remove pre-squeeze upgrade code
Michael Biebl [Tue, 17 Sep 2013 18:47:31 +0000 (20:47 +0200)]
Suppress errors about unknown hwdb builtin
udev 196 introduced a new "hwdb" builtin which is not understood by the
old udev daemon.
Michael Biebl [Tue, 17 Sep 2013 18:41:02 +0000 (20:41 +0200)]
Re-order upgrade version checks to improve readability
Nesting the upgrade version checks safes us a few
"dpkg --compare-versions" calls, but makes the code unnecessarily hard
to read. Since "dpkg --compare-versions" is rather cheap, re-order the
version checks to improve readability.
Michael Biebl [Tue, 17 Sep 2013 18:16:33 +0000 (20:16 +0200)]
Use /dev instead of $udev_root
UDEV_ROOT is no longer configurable, so simply use /dev everywhere.
See also
dbad4c2a8dcd69e310de897daf8eb150bdcec249
Michael Biebl [Tue, 17 Sep 2013 18:03:25 +0000 (20:03 +0200)]
Remove udev-udeb dependency from libudev1-udeb
This dependency was copied over from the old udev-gtk-udeb package and
no longer makes any sense since libudev1-udeb only contains a library
nowadays. It also leads to a circular dependency.
Michael Biebl [Tue, 17 Sep 2013 18:03:00 +0000 (20:03 +0200)]
Use the official field for udebs: Package-Type
Michael Biebl [Tue, 17 Sep 2013 17:59:54 +0000 (19:59 +0200)]
Add missing udeb line to shlibs.local
This ensures that udev-udeb gets a proper dependency on
libudev1-udeb and not libudev1. Closes: #722939
Michael Biebl [Thu, 12 Sep 2013 02:10:33 +0000 (04:10 +0200)]
Add a few more bug references
Michael Biebl [Wed, 11 Sep 2013 22:13:24 +0000 (00:13 +0200)]
Release version 204-3 to unstable
Michael Biebl [Wed, 11 Sep 2013 22:09:55 +0000 (00:09 +0200)]
Update changelog
Michael Biebl [Wed, 11 Sep 2013 22:02:55 +0000 (00:02 +0200)]
Merge branch 'upstream-fixes' into debian
Michael Biebl [Wed, 11 Sep 2013 22:00:55 +0000 (00:00 +0200)]
Don't install kernel-install(8) man page
We don't ship the kernel-install binary so we shouldn't ship its man
page either. Closes: #722180
Michael Biebl [Wed, 11 Sep 2013 21:32:25 +0000 (23:32 +0200)]
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
Michael Biebl [Wed, 11 Sep 2013 20:33:00 +0000 (22:33 +0200)]
Drop obsolete Replaces: libudev0
It was added in udev 171-2 where the changelogs and documentation files
in udev were converted to symlinks pointing to libudev0.
Michael Biebl [Wed, 11 Sep 2013 20:31:14 +0000 (22:31 +0200)]
Small documentation tweak, add reference to upstream docs