]> git.proxmox.com Git - systemd.git/log
systemd.git
9 years agoDisable AppArmor support in the udeb build
Michael Biebl [Thu, 12 Feb 2015 13:24:42 +0000 (14:24 +0100)]
Disable AppArmor support in the udeb build

9 years agoExplicitly disable the features we don't want to build for those with autodetection
Michael Biebl [Thu, 12 Feb 2015 13:21:02 +0000 (14:21 +0100)]
Explicitly disable the features we don't want to build for those with autodetection

This ensures reliable build results in dirty build environments.

9 years ago(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives
Martin Pitt [Wed, 11 Feb 2015 16:36:45 +0000 (17:36 +0100)]
(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives

LP: #1420544

9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Wed, 11 Feb 2015 12:35:44 +0000 (13:35 +0100)]
Adjust patch series for upstreamed patch

Do-not-generate-systemd-units-from-sysv-init-scripts.patch was pushed
upstream (slightly modified), move in d/p/series.

There's some gbp-pq patch noise for this, too.

9 years agosystemctl: Always install/enable/disable native units
Martin Pitt [Wed, 11 Feb 2015 09:24:45 +0000 (10:24 +0100)]
systemctl: Always install/enable/disable native units

Even if there is a corresponding SysV script and we call update-rc.d; while the
latter handles WantedBy=, it does not handle Alias=.

Closes: #777613
9 years agoAdd unit-config autopkgtest
Martin Pitt [Wed, 11 Feb 2015 07:39:26 +0000 (08:39 +0100)]
Add unit-config autopkgtest

This checks systemd unit/sysv init enabling and disabling via systemctl. This
also reproduces #777613.

9 years agoFix debian/tests/logind test under sysvinit/upstart
Martin Pitt [Tue, 10 Feb 2015 09:29:30 +0000 (10:29 +0100)]
Fix debian/tests/logind test under sysvinit/upstart

With dropped systemd-logind-launch we don't have a visible
/sys/fs/cgroup/systemd/ any more under cgmanager. So adjust the test to check
/proc/self/cgroup instead.

9 years agoreleasing package systemd version 218-8
Martin Pitt [Mon, 9 Feb 2015 17:07:26 +0000 (18:07 +0100)]
releasing package systemd version 218-8

9 years agoCorrectly hook up rc-local.service in multi-user.target.wants
Michael Biebl [Mon, 9 Feb 2015 16:58:14 +0000 (17:58 +0100)]
Correctly hook up rc-local.service in multi-user.target.wants

9 years agoDrop seddery for getty-static.service
Martin Pitt [Mon, 9 Feb 2015 15:59:46 +0000 (16:59 +0100)]
Drop seddery for getty-static.service

Check for existance of /lib/systemd/system/dbus.service instead of dbus-daemon,
which works on Debian and Ubuntu, and is slightly more correct too.

9 years agoRevert "Fix logind startup condition to not hardcode dbus-daemon path"
Martin Pitt [Mon, 9 Feb 2015 15:47:18 +0000 (16:47 +0100)]
Revert "Fix logind startup condition to not hardcode dbus-daemon path"

This reverts commit 3b3c2745515b466c1d4ee817767181a95f0508b7. Go back to using
a patch, and check for /lib/systemd/system/dbus.service instead.

9 years agoFix logind startup condition to not hardcode dbus-daemon path
Martin Pitt [Mon, 9 Feb 2015 14:22:33 +0000 (15:22 +0100)]
Fix logind startup condition to not hardcode dbus-daemon path

In Ubuntu dbus-daemon is in /bin, so use pkg-config to determine the path of
the daemon instead of hardcoding it. Use sed instead of a static patch.

9 years agogbp-pq export noise
Martin Pitt [Mon, 9 Feb 2015 14:15:55 +0000 (15:15 +0100)]
gbp-pq export noise

9 years agoUpdate insserv-generator and map $x-display-manager to display-manager.service
Michael Biebl [Mon, 9 Feb 2015 13:50:28 +0000 (14:50 +0100)]
Update insserv-generator and map $x-display-manager to display-manager.service

following the recent change in sysv-generator. This avoids creating
references to a no longer existing x-display-manager.target unit.

9 years agodebian/changelog: clean up changelog entry for commit 7443382
Martin Pitt [Mon, 9 Feb 2015 13:37:16 +0000 (14:37 +0100)]
debian/changelog: clean up changelog entry for commit 7443382

9 years agoStatically start getty on tty2-6 without logind
Martin Pitt [Mon, 9 Feb 2015 12:12:40 +0000 (13:12 +0100)]
Statically start getty on tty2-6 without logind

Add getty-static.service unit which starts getty@.service on tty 2 to 6 if dbus
is not installed, and hence logind cannot auto-start them on demand.

Closes: #772700
9 years agoFix previous changelog, we mean the "dbus" package, not the project
Martin Pitt [Mon, 9 Feb 2015 11:06:16 +0000 (12:06 +0100)]
Fix previous changelog, we mean the "dbus" package, not the project

9 years agoOnly start logind if D-BUS is installed
Martin Pitt [Mon, 9 Feb 2015 09:58:53 +0000 (10:58 +0100)]
Only start logind if D-BUS is installed

This fixes the noisy startup failure in environments without D-BUS, such as LXC
containers or servers.

Part of #772700, does not yet address the auto-VT issue

9 years agoupdate-rc.d patch cleanup
Martin Pitt [Mon, 9 Feb 2015 09:40:40 +0000 (10:40 +0100)]
update-rc.d patch cleanup

Merge Run-update-rc.d-defaults-before-update-rc.d-enable-d.patch into
Make-systemctl-enable-disable-call-update-rc.d-for-s.patch as the former is
fixing the latter and is not an independent change.

9 years agodebian/changelog: trivial whitespace fix
Martin Pitt [Sun, 8 Feb 2015 19:15:08 +0000 (20:15 +0100)]
debian/changelog: trivial whitespace fix

9 years ago/lib/lsb/init-functions.d/40-systemd: Avoid deadlocks during bootup and shutdown
Martin Pitt [Thu, 5 Feb 2015 09:26:58 +0000 (10:26 +0100)]
/lib/lsb/init-functions.d/40-systemd: Avoid deadlocks during bootup and shutdown

DHCP/ifupdown and similar hooks which call "/etc/init.d/foo reload" can easily
cause deadlocks, since the synchronous wait plus systemd's normal behaviour of
transactionally processing all dependencies first easily causes dependency
loops. Thus during boot/shutdown operate only on the unit and not on its
dependencies, just like SysV behaves.

Closes: #777115
LP: #1417010

9 years agopatch series: Move Add-dev-urandom-to-ignore_paths.patch into "backported"
Martin Pitt [Tue, 3 Feb 2015 15:19:29 +0000 (16:19 +0100)]
patch series: Move Add-dev-urandom-to-ignore_paths.patch into "backported"

Upstream master has a more general fix.

9 years agoDrop Launch-logind-via-a-shell-wrapper.patch and systemd-logind-launch wrapper
Martin Pitt [Tue, 3 Feb 2015 15:09:37 +0000 (16:09 +0100)]
Drop Launch-logind-via-a-shell-wrapper.patch and systemd-logind-launch wrapper

The only remaining thing that we need from it is to create /run/systemd/, move
that into the D-BUS service file directly.

9 years agoRevert "ifup@.service: Drop Before=network.target ordering"
Martin Pitt [Tue, 3 Feb 2015 12:48:57 +0000 (13:48 +0100)]
Revert "ifup@.service: Drop Before=network.target ordering"

This reverts commit 27bb5c3851418590fe43179eb05ba511b42876d4.

For now we want this for shutdown order, to bring down ifup@.service after
network.target. Until we properly integrate ifupdown into
network-online.target, network-online.target and network.target are effectively
the same (on ifupdown only systems), so let's ignore the unnecessary boot
dependencies for now.

9 years agoSysV generator patch cleanup
Martin Pitt [Tue, 3 Feb 2015 12:45:25 +0000 (13:45 +0100)]
SysV generator patch cleanup

Merge two patches into Add-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch:
  - Do-not-order-rcS.d-services-after-local-fs.target-if.patch, as it
    partially reverts the above, and is just fixing it.
  - Map-rcS.d-init-script-dependencies-to-their-systemd-.patch as it's just
    adding some missing functionality for the same purpose.

9 years agoDrop Also-redirect-to-update-rc.d-when-not-using-.service.patch
Martin Pitt [Tue, 3 Feb 2015 11:35:33 +0000 (12:35 +0100)]
Drop Also-redirect-to-update-rc.d-when-not-using-.service.patch

Not necessary any more with the current version (mangle_names() already takes
care of this).

9 years agoifup@.service: Drop Before=network.target ordering
Martin Pitt [Tue, 3 Feb 2015 07:36:47 +0000 (08:36 +0100)]
ifup@.service: Drop Before=network.target ordering

network.target is an early-boot target which runs before bringing up any
interface,, and this unit can happen at any time on a hotplug event. This
avoids dependency loops during boot.

9 years agoRevert "ifup@.service: Don't fail if the interface is not configured in /etc/network...
Martin Pitt [Sun, 1 Feb 2015 22:05:22 +0000 (23:05 +0100)]
Revert "ifup@.service: Don't fail if the interface is not configured in /etc/network/interfaces at all"

net.agent already does that. This should be in the Ubuntu branch only.

This reverts commit c646e73e3b52313aede4ac5984ecf3c68bd38448.

9 years agoRevert "input" system group creation in systemd.postinst from 218-7
Martin Pitt [Sun, 1 Feb 2015 21:58:12 +0000 (22:58 +0100)]
Revert "input" system group creation in systemd.postinst from 218-7

It's already done in udev.postinst.

9 years agoboot-and-services autopkgtest: Ensure that there are no failed units
Martin Pitt [Sun, 1 Feb 2015 21:43:40 +0000 (22:43 +0100)]
boot-and-services autopkgtest: Ensure that there are no failed units

Ignore a failed systemd-modules-load.service, as that notoriously fails with
cruft in /etc/modules.

9 years agoreleasing package systemd version 218-7
Martin Pitt [Sun, 1 Feb 2015 19:49:14 +0000 (20:49 +0100)]
releasing package systemd version 218-7

9 years agoifup@.service: Don't fail if the interface is not configured in /etc/network/interfac...
Martin Pitt [Sun, 1 Feb 2015 17:41:13 +0000 (18:41 +0100)]
ifup@.service: Don't fail if the interface is not configured in /etc/network/interfaces at all

We first need to ask ifquery if it knows about the interface in the first
place; only then check its --state. ifup@.service is also being triggered by
dynamic interface bringup from networkd/NetworkManager.

LP: #1414426

9 years agoCreate system group "input" which was introduced in 215
Martin Pitt [Sun, 1 Feb 2015 16:25:15 +0000 (17:25 +0100)]
Create system group "input" which was introduced in 215

For 50-udev-default.rules

LP: #1414409

9 years agoActually install udev's README.Debian when building for Debian
Martin Pitt [Fri, 30 Jan 2015 09:37:31 +0000 (10:37 +0100)]
Actually install udev's README.Debian when building for Debian

Closes: #776546
9 years agodebian/udev.README.Debian: Trim the parts which are obsolete, wrong, or described...
Martin Pitt [Fri, 30 Jan 2015 09:30:49 +0000 (10:30 +0100)]
debian/udev.README.Debian: Trim the parts which are obsolete, wrong, or described in manpages

Only keep the Debian specific bits.

Part of #776546

9 years agogbp-pq export noise
Michael Biebl [Thu, 29 Jan 2015 08:59:41 +0000 (09:59 +0100)]
gbp-pq export noise

9 years agoMap $x-display-manager LSB facility to display-manager.service
Michael Biebl [Thu, 29 Jan 2015 08:58:07 +0000 (09:58 +0100)]
Map $x-display-manager LSB facility to display-manager.service

...instead of making it a target. Using a target had the downside that
multiple display managers could hook into it at the same time which could
lead to several failed start attempts for the non-default display
manager.

9 years agoUpdate Vcs-Browser URL to use cgit and https.
Michael Biebl [Thu, 29 Jan 2015 08:29:37 +0000 (09:29 +0100)]
Update Vcs-Browser URL to use cgit and https.

9 years agodebian/rules: Drop obsolete configure options
Martin Pitt [Thu, 29 Jan 2015 07:35:22 +0000 (08:35 +0100)]
debian/rules: Drop obsolete configure options

--disable-multi-seat-x and --with-firmware-path do not exist any more.

9 years agologind: Fix sd_eviocrevoke ioctl call
Martin Pitt [Thu, 29 Jan 2015 07:29:03 +0000 (08:29 +0100)]
logind: Fix sd_eviocrevoke ioctl call

To make forced input device release after log out actually work. Cherry-picked
from upstream git head.

9 years agologind: handle closing sessions over daemon restarts
Martin Pitt [Thu, 29 Jan 2015 07:17:39 +0000 (08:17 +0100)]
logind: handle closing sessions over daemon restarts

Patch cherry-picked from upstream git.

Closes: #759515
LP: #1415104

9 years agoDon't attempt to mount the same swap partition twice through different device node...
Martin Pitt [Wed, 28 Jan 2015 07:25:16 +0000 (08:25 +0100)]
Don't attempt to mount the same swap partition twice through different device node aliases

Patches cherry-picked from upstream git.

Closes: #772182
LP: #1399595

9 years agoreleasing package systemd version 218-6
Martin Pitt [Mon, 26 Jan 2015 14:48:42 +0000 (15:48 +0100)]
releasing package systemd version 218-6

9 years agoDrop the obsolete libsystemd-* libraries
Michael Biebl [Mon, 26 Jan 2015 14:06:43 +0000 (15:06 +0100)]
Drop the obsolete libsystemd-* libraries

There are no reverse dependencies left.

9 years agoDrop rc-local generator
Michael Biebl [Mon, 26 Jan 2015 14:03:35 +0000 (15:03 +0100)]
Drop rc-local generator

Statically enable rc-local.service instead.
Drop halt-local.service which is unnecessary on Debian.

Closes: #776170
9 years agoShip bash-completion for udevadm
Michael Biebl [Mon, 26 Jan 2015 13:54:49 +0000 (14:54 +0100)]
Ship bash-completion for udevadm

Closes: #776166
9 years agoTone down "Network interface NamePolicy= disabled on kernel commandline, ignoring...
Martin Pitt [Mon, 26 Jan 2015 13:52:49 +0000 (14:52 +0100)]
Tone down "Network interface NamePolicy= disabled on kernel commandline, ignoring" info message to debug

We expect this while we disable net.ifnames by default.

Closes: #762101
LP: #1411992

9 years agoRevert "ifup@.service: Lessen dependencies"
Martin Pitt [Mon, 26 Jan 2015 13:31:19 +0000 (14:31 +0100)]
Revert "ifup@.service: Lessen dependencies"

This reverts commit 355bf7059921c2200b1bd3d9a9fd4ed35ed97e2e.

Before we can do this in Debian, we need to integrate ifup@.service into
network-online.target, like in Ubuntu:

  http://launchpadlibrarian.net/195375040/ifupdown_0.7.48.1ubuntu5_0.7.48.1ubuntu6.diff.gz

9 years agoOrder ifup@.service and networking.service after network-pre.target
Martin Pitt [Mon, 26 Jan 2015 12:16:34 +0000 (13:16 +0100)]
Order ifup@.service and networking.service after network-pre.target

networking.service is usually generated from /etc/init.d/networking, so just
add a .d/ snippet.

Closes: #766938
9 years agoPull latest keymaps from upstream git
Martin Pitt [Mon, 26 Jan 2015 12:12:07 +0000 (13:12 +0100)]
Pull latest keymaps from upstream git

9 years agoifup@.service: Lessen dependencies
Martin Pitt [Mon, 26 Jan 2015 12:03:38 +0000 (13:03 +0100)]
ifup@.service: Lessen dependencies

Drop dependency on networking.service (i. e. /etc/init.d/networking), and
merely ensure that /run/network exists. This avoids unnecessary
dependencies/waiting during boot, and dependency cycles if hooks wait for other
interfaces to come up (like ifenslave with bonding interfaces).

LP: #1414544

9 years agoGenerate POT file during package build
Martin Pitt [Mon, 26 Jan 2015 11:03:04 +0000 (12:03 +0100)]
Generate POT file during package build

This eases translator's work and enables automatic import into Launchpad
translations. It's not totally obvious how to build it as a simple
"make -C build-deb/po systemd.pot" does not work due to upstream commit
6fc00209d5.

9 years agoRemove leftover bits from sd-readahead
Michael Biebl [Sat, 24 Jan 2015 22:42:52 +0000 (23:42 +0100)]
Remove leftover bits from sd-readahead

The readahead functionality was removed in v217. Remove leftover bits
from ca3e157bc2302c6ea46abe12e0553f6b10c1c2d4 which was installing the
man pages as example files.

9 years agoinitramfs hook: Install 61-persistant-storage-android.rules if it exists
Martin Pitt [Fri, 23 Jan 2015 11:32:11 +0000 (12:32 +0100)]
initramfs hook: Install 61-persistant-storage-android.rules if it exists

9 years agoreleasing package systemd version 218-5
Martin Pitt [Thu, 22 Jan 2015 15:13:52 +0000 (16:13 +0100)]
releasing package systemd version 218-5

9 years agoEnable EFI support
Martin Pitt [Thu, 22 Jan 2015 13:49:33 +0000 (14:49 +0100)]
Enable EFI support

This mostly auto-mounts /sys/firmware/efi/efivars, but also provides a
generator for auto-detecting the root and the /boot/efi partition if they
aren't in /etc/fstab.

Closes: #773533
9 years agoFix assertion failure due to /dev/urandom being unmounted
Martin Pitt [Fri, 16 Jan 2015 17:03:15 +0000 (18:03 +0100)]
Fix assertion failure due to /dev/urandom being unmounted

This happens when shutting down unprivileged containers, where /dev/urandom is
a bind mount. Reading from it is needed after unmounting everything.

http://lists.freedesktop.org/archives/systemd-devel/2015-January/027113.html
(Final upstream fix will probably look different).

Thanks Stéphane Graber.

9 years agoMake EPERM/EACCESS when applying OOM adjustment for forked processes non-fatal
Martin Pitt [Thu, 22 Jan 2015 10:24:00 +0000 (11:24 +0100)]
Make EPERM/EACCESS when applying OOM adjustment for forked processes non-fatal

This happens in user namespaces like unprivileged LXC containers.
Cherry-picked from upstream.

9 years agoDon't install the Debian *.agent scripts when building on Ubuntu
Martin Pitt [Thu, 22 Jan 2015 09:08:46 +0000 (10:08 +0100)]
Don't install the Debian *.agent scripts when building on Ubuntu

They were never supported there. Instead, have Ubuntu's
80-networking.rules directly pull in ifup@.service, which is much easier and
more efficient.

9 years agoAdd 78-graphics-card.rules when building on Ubuntu
Martin Pitt [Thu, 22 Jan 2015 09:41:43 +0000 (10:41 +0100)]
Add 78-graphics-card.rules when building on Ubuntu

Mark KMS cpaable graphics devices as PRIMARY_DEVICE_FOR_DISPLAY so that we can
wait for those in plymouth.

By Scott James Remnant.

9 years agoAdd 71-power-switch-proliant.rules when building on Ubuntu
Martin Pitt [Thu, 22 Jan 2015 09:39:15 +0000 (10:39 +0100)]
Add 71-power-switch-proliant.rules when building on Ubuntu

This supports the power switches of ProLiant Server Cartridges.

By Dann Frazier.

9 years agoAdd 61-persistant-storage-android.rules when building on Ubuntu
Martin Pitt [Thu, 22 Jan 2015 09:30:58 +0000 (10:30 +0100)]
Add 61-persistant-storage-android.rules when building on Ubuntu

This creates persistent symlinks for partitions with PARTNAME.

By Ricardo Salveti.

9 years agoAdd 40-hyperv-hotadd.rules when building on Ubuntu
Martin Pitt [Thu, 22 Jan 2015 09:26:14 +0000 (10:26 +0100)]
Add 40-hyperv-hotadd.rules when building on Ubuntu

Workaround for https://launchpad.net/bugs/1233466.

9 years agoClean up Debian specific file installation
Martin Pitt [Thu, 22 Jan 2015 08:46:01 +0000 (09:46 +0100)]
Clean up Debian specific file installation

In debian/rules, remove manual file installation. Move them to
debian/*.install.

Move all Debian specific installed files to debian/extra/.

9 years agodebian/rules: Configure with --disable-firstboot
Martin Pitt [Thu, 22 Jan 2015 07:26:43 +0000 (08:26 +0100)]
debian/rules: Configure with --disable-firstboot

This replaces some manual file removals.

9 years agoDrop logger.agent
Martin Pitt [Thu, 22 Jan 2015 07:01:00 +0000 (08:01 +0100)]
Drop logger.agent

It hasn't been called from any udev rule for a long time, and looks obsolete.

9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Wed, 21 Jan 2015 16:07:46 +0000 (17:07 +0100)]
Adjust patch series for upstreamed patch

sysv-generator-Replace-Provides-symlinks-with-real-u.patch was pushed upstream,
move in d/p/series.

There's some gbp-pq patch noise for this, too.

9 years agoreleasing package systemd version 218-4
Martin Pitt [Wed, 21 Jan 2015 14:57:56 +0000 (15:57 +0100)]
releasing package systemd version 218-4

9 years agoSilence useless warning about /etc/localtime not being a symlink
Martin Pitt [Wed, 21 Jan 2015 14:56:12 +0000 (15:56 +0100)]
Silence useless warning about /etc/localtime not being a symlink

This is deliberate in Debian with /usr (possibly) being on a separate partition.

LP: #1409594

9 years agoAdd some missing dpkg and ucf temp files to the "hidden file" filter
Martin Pitt [Wed, 21 Jan 2015 14:40:05 +0000 (15:40 +0100)]
Add some missing dpkg and ucf temp files to the "hidden file" filter

This e. g. avoids creating units for them through the sysv-generator.

Closes: #775903
9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Wed, 21 Jan 2015 13:58:20 +0000 (14:58 +0100)]
Adjust patch series for upstreamed patch

Add-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch was pushed upstream,
move in d/p/series.

There's some gbp-pq patch noise for this, too.

9 years agoMake sure we run debian-fixup.service after /var has been mounted
Michael Biebl [Wed, 21 Jan 2015 13:54:48 +0000 (14:54 +0100)]
Make sure we run debian-fixup.service after /var has been mounted

if /var is on a separate partition. Otherwise we might end up creating
the /var/lock and /var/run symlink in the underlying root filesystem.

Closes: #768644
9 years agoRe-enable AppArmor support
Martin Pitt [Wed, 21 Jan 2015 12:17:43 +0000 (13:17 +0100)]
Re-enable AppArmor support

Now that libapparmor1 moved to /lib it is safe to do so. Add versioned
dependency as long as this is still only in experimental.

Closes: #775331
9 years agoFix journal forwarding to syslog in containers without CAP_SYS_ADMIN
Martin Pitt [Wed, 21 Jan 2015 11:55:36 +0000 (12:55 +0100)]
Fix journal forwarding to syslog in containers without CAP_SYS_ADMIN

Patch also committed upstream.

Closes: #775067
9 years agosysv-generator: Make real units overwrite symlinks generated by Provides: from other...
Martin Pitt [Wed, 21 Jan 2015 11:44:29 +0000 (12:44 +0100)]
sysv-generator: Make real units overwrite symlinks generated by Provides: from other units

Fixes failures due to presence of backup or old init.d scripts.

Patch forwarded upstream, but not applied yet:

  http://lists.freedesktop.org/archives/systemd-devel/2015-January/027249.html

Test case removed from the patch as we don't have the sysv-generator test suite
in 218 yet.

Closes: #775404
9 years agosysv-generator: Handle .sh suffixes when translating Provides:
Martin Pitt [Wed, 21 Jan 2015 11:20:21 +0000 (12:20 +0100)]
sysv-generator: Handle .sh suffixes when translating Provides:

Patch sent to upstream, but not applied yet:

  http://lists.freedesktop.org/archives/systemd-devel/2015-January/027248.html

Test case removed from the patch as we don't have the sysv-generator test suite
in 218 yet.

Closes: #775889
9 years agogbp-pq patch noise
Martin Pitt [Wed, 21 Jan 2015 11:15:55 +0000 (12:15 +0100)]
gbp-pq patch noise

No-change import/export.

9 years agoUse common-session-noninteractive in systemd-user's PAM config
Martin Pitt [Wed, 21 Jan 2015 10:53:30 +0000 (11:53 +0100)]
Use common-session-noninteractive in systemd-user's PAM config

Instead of common-session. The latter can include PAM modules like libpam-mount
which expect to be called just once and/or interactively, which already happens
for login, ssh, or the display-manager. Add pam_systemd.so explicitly, as it's
not included in -noninteractive, but is always required (and idempotent).

There is no net change on systemd which don't use manually installed PAM
modules.

Closes: #739676
9 years agodebian/ifup@.service: Set proper service type (oneshot)
Martin Pitt [Tue, 20 Jan 2015 06:11:38 +0000 (07:11 +0100)]
debian/ifup@.service: Set proper service type (oneshot)

9 years agodebian/ifup@.service: Check if ifup succeeds
Martin Pitt [Mon, 19 Jan 2015 13:20:21 +0000 (14:20 +0100)]
debian/ifup@.service: Check if ifup succeeds

Call ifquery to see if interface is actually being brought up. This works
around ifup not failing on invalid interfaces (see
https://bugs.debian.org/773539)

9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Tue, 13 Jan 2015 11:15:52 +0000 (12:15 +0100)]
Adjust patch series for upstreamed patch

sysv-generator-Avoid-wrong-dependencies-for-failing-.patch got committed
upstream.

9 years agoAdd autopkgtest for one-time boot with upstart when systemd-sysv is installed
Martin Pitt [Tue, 13 Jan 2015 10:16:52 +0000 (11:16 +0100)]
Add autopkgtest for one-time boot with upstart when systemd-sysv is installed

This test only works under Ubuntu which has a split out upstart-bin package,
and will be skipped under Debian.

9 years agoFix systemd-remount-fs.service to not fail on remounting /usr if /usr isn't mounted yet
Martin Pitt [Tue, 13 Jan 2015 07:30:29 +0000 (08:30 +0100)]
Fix systemd-remount-fs.service to not fail on remounting /usr if /usr isn't mounted yet

This happens with initramfs-tools < 0.118 which we might not get into Jessie
any more.

Closes: #742048
9 years agofstab-generator: Handle mountall's non-standard "nobootwait" and "optional" options
Martin Pitt [Fri, 9 Jan 2015 17:00:50 +0000 (18:00 +0100)]
fstab-generator: Handle mountall's non-standard "nobootwait" and "optional" options

"bootwait" is already the systemd default behaviour, and "showthrough" is
irrelevant here, so both can be ignored.

9 years agogbp-pq patch noise
Martin Pitt [Tue, 13 Jan 2015 07:20:19 +0000 (08:20 +0100)]
gbp-pq patch noise

No-change import/export.

9 years agosysv-generator: handle Provides: for non-virtual facility names
Martin Pitt [Tue, 13 Jan 2015 07:19:30 +0000 (08:19 +0100)]
sysv-generator: handle Provides: for non-virtual facility names

Patch cherry-picked from upstream git.

Closes: #774335
9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Thu, 1 Jan 2015 16:00:25 +0000 (17:00 +0100)]
Adjust patch series for upstreamed patch

build-sys-Fix-install-location-of-systemd.pc.patch committed upstream.

9 years agoRevert "Limit journal to 7 days with "MaxRetentionSec=7day""
Martin Pitt [Thu, 1 Jan 2015 15:57:55 +0000 (16:57 +0100)]
Revert "Limit journal to 7 days with "MaxRetentionSec=7day""

journald already uses the dynamic size based on available space, so let's not
deviate from upstream.

This reverts commit cba3882303d565d64edea36e7e5374a7d35dc024.

9 years agoLimit journal to 7 days with "MaxRetentionSec=7day"
Martin Pitt [Tue, 30 Dec 2014 15:36:50 +0000 (16:36 +0100)]
Limit journal to 7 days with "MaxRetentionSec=7day"

Corresponding to the default rsyslog rotation period.

Closes: #773538
9 years agoreleasing package systemd version 218-3
Martin Pitt [Mon, 29 Dec 2014 13:55:42 +0000 (14:55 +0100)]
releasing package systemd version 218-3

9 years agoFixes massive CPU usage due to tight retry loops in user LXC containers
Martin Pitt [Mon, 29 Dec 2014 13:38:23 +0000 (14:38 +0100)]
Fixes massive CPU usage due to tight retry loops in user LXC containers

Cherry-pick various bug fixes in loopback device setup and netlink socket
communication from upstream trunk.

9 years agoDon't enable audit by default
Martin Pitt [Sun, 28 Dec 2014 11:53:02 +0000 (12:53 +0100)]
Don't enable audit by default

It causes flooding of dmesg and syslog, suppressing actually important
messages.

Start of upstream discussion:
http://lists.freedesktop.org/archives/systemd-devel/2014-December/026591.html

Closes: #773528
9 years agoPut systemd.pc into arch specific pkgconfig dir
Martin Pitt [Sun, 28 Dec 2014 11:33:29 +0000 (12:33 +0100)]
Put systemd.pc into arch specific pkgconfig dir

It contains the arch specific libdir value.

9 years agoUse dh_installinit's --noscript instead of --no-start for the upstart jobs
Martin Pitt [Sun, 28 Dec 2014 11:30:49 +0000 (12:30 +0100)]
Use dh_installinit's --noscript instead of --no-start for the upstart jobs

So that the postinst does not try and call update-rc.d on them; as there are no
corresponding sysvinit scripts, these trigger a lintian warning.

9 years agoQuiesce possibly-insecure-handling-of-tmp-files lintian warning
Martin Pitt [Sun, 28 Dec 2014 11:05:28 +0000 (12:05 +0100)]
Quiesce possibly-insecure-handling-of-tmp-files lintian warning

It's wrong there, we are handling tmpfiles.d/ files which are not in a temp
dir.

9 years agoQuiesce maintainer-script-calls-systemctl lintian warning
Martin Pitt [Sun, 28 Dec 2014 10:53:19 +0000 (11:53 +0100)]
Quiesce maintainer-script-calls-systemctl lintian warning

9 years agoMark systemd{,-sysv} as M-A: foreign
Martin Pitt [Sun, 28 Dec 2014 10:45:03 +0000 (11:45 +0100)]
Mark systemd{,-sysv} as M-A: foreign

Spotted by lintian.

9 years agoAdd debian/extra/systemd-vconsole-setup.service dependency shim
Martin Pitt [Wed, 17 Dec 2014 10:05:46 +0000 (11:05 +0100)]
Add debian/extra/systemd-vconsole-setup.service dependency shim

This depends on the console-setup init script, to avoid breaking dependencies
of third-party packages which need this service, until we actually enable
systemd-vconsole.

Install it for Ubuntu only for now, as in Debian plymouth's unit got adjusted.

LP: #1392970
Debian #755194

9 years agobuild-login autopkgtest: Build against libsystemd, not libsystemd-login any more
Martin Pitt [Wed, 17 Dec 2014 08:51:19 +0000 (09:51 +0100)]
build-login autopkgtest: Build against libsystemd, not libsystemd-login any more

9 years agoBring back patch to make sd_login_monitor_new() work under other init systems
Martin Pitt [Wed, 17 Dec 2014 08:35:00 +0000 (09:35 +0100)]
Bring back patch to make sd_login_monitor_new() work under other init systems

Under sysvinit or upstart /sys/fs/cgroup/systemd/machine does not exist.

LP: #1400203