]> git.proxmox.com Git - systemd.git/log
systemd.git
9 years agoMove systemd-hwdb into udev
Martin Pitt [Tue, 17 Feb 2015 12:17:22 +0000 (13:17 +0100)]
Move systemd-hwdb into udev

It fits better there, as udev also ships the hdwb.d database.

9 years agotmpfiles.d/systemd.conf: Make ACL for "adm" actually work
Martin Pitt [Tue, 17 Feb 2015 12:03:03 +0000 (13:03 +0100)]
tmpfiles.d/systemd.conf: Make ACL for "adm" actually work

Drop "wheel" ACL, that group does not exist in Debian.

9 years agoUse /sbin/sulogin as default path
Michael Biebl [Tue, 17 Feb 2015 11:49:16 +0000 (12:49 +0100)]
Use /sbin/sulogin as default path

9 years agoStop removing firstboot man pages
Michael Biebl [Tue, 17 Feb 2015 11:45:57 +0000 (12:45 +0100)]
Stop removing firstboot man pages

They are now installed conditionally.

9 years agodebian/libsystemd0.symbols: Add new symbols from this release
Martin Pitt [Tue, 17 Feb 2015 10:52:08 +0000 (11:52 +0100)]
debian/libsystemd0.symbols: Add new symbols from this release

9 years agodebian/systemd.install: Add new systemd-hwdb and language-fallback-map files
Martin Pitt [Tue, 17 Feb 2015 10:50:03 +0000 (11:50 +0100)]
debian/systemd.install: Add new systemd-hwdb and language-fallback-map files

9 years agoBump libblkid-dev build dependency
Martin Pitt [Tue, 17 Feb 2015 07:44:33 +0000 (08:44 +0100)]
Bump libblkid-dev build dependency

As per upstream configure.ac

9 years agoNew upstream release 219
Martin Pitt [Tue, 17 Feb 2015 06:50:22 +0000 (07:50 +0100)]
New upstream release 219

  - Fix spelling mistake in systemd.unit(5). (Closes: #773302)
  - Fix timeouts with D-Bus, leading to SIGFPE. (Closes: #774012)
  - Fix load/save of multiple rfkill states. (Closes: #759489)
  - Non-persistant journal (/run/log/journal) is now readable by group adm.
    (Closes: #771980)
  - Read netdev user mount option to correctly order network mounts after
    network.target. (Closes: #769186)
  - Fix 60-keyboard.hwdb documentation and whitespace handling.
    (Closes: #757367)
  - Fix ThinkPad X1 Carbon 20BT trackpad buttons (LP: #1414930)

Drop all backported patches and port the others to new upstream release.

9 years agoMerge tag 'upstream/219' into experimental
Martin Pitt [Tue, 17 Feb 2015 10:22:58 +0000 (11:22 +0100)]
Merge tag 'upstream/219' into experimental

Upstream version 219

9 years agoImported Upstream version 219
Martin Pitt [Tue, 17 Feb 2015 10:22:16 +0000 (11:22 +0100)]
Imported Upstream version 219

9 years agoMerge tag 'upstream/218' into experimental
Martin Pitt [Tue, 17 Feb 2015 10:21:21 +0000 (11:21 +0100)]
Merge tag 'upstream/218' into experimental

Upstream version 218

This commit was accidentally removed when rebasing. Retroactively merging to
unbreak git-import-orig.

9 years agoMerge tag 'upstream/217' into experimental
Martin Pitt [Tue, 17 Feb 2015 10:19:57 +0000 (11:19 +0100)]
Merge tag 'upstream/217' into experimental

Upstream version 217

This commit was accidentally removed when rebasing. Retroactively merging to
unbreak git-import-orig.

9 years agodebian/systemd.links: Drop obsolete hwclockfirst.service mask link
Martin Pitt [Mon, 16 Feb 2015 16:18:56 +0000 (17:18 +0100)]
debian/systemd.links: Drop obsolete hwclockfirst.service mask link

This was dropped in wheezy's util-linux already.

9 years agoEnable timesyncd by default
Martin Pitt [Mon, 16 Feb 2015 14:38:40 +0000 (15:38 +0100)]
Enable timesyncd by default

Add a config drop-in to not start if ntp, openntpd, or chrony is installed.

Closes: #755722
9 years agoMove all Debian specific units in the systemd package into debian/extra/units/
Martin Pitt [Mon, 16 Feb 2015 14:24:36 +0000 (15:24 +0100)]
Move all Debian specific units in the systemd package into debian/extra/units/

Simplify debian/systemd.install accordingly. This makes it easier to see where
the .d/ drop-ins go to.

9 years agoClean up leftover symlinks on purge
Martin Pitt [Mon, 16 Feb 2015 13:49:32 +0000 (14:49 +0100)]
Clean up leftover symlinks on purge

debian/systemd.postrm: Clean getty@tty1.service and remote-fs.target enablement
symlinks on purge. These are created in the postinst with systemctl enable.

Closes: #778499
9 years ago/lib/lsb/init-functions.d/40-systemd: Call systemctl is-system-running with --quiet
Martin Pitt [Sun, 15 Feb 2015 15:45:55 +0000 (16:45 +0100)]
/lib/lsb/init-functions.d/40-systemd: Call systemctl is-system-running with --quiet

LP: #1421058

9 years agoreleasing package systemd version 218-10
Martin Pitt [Fri, 13 Feb 2015 11:25:12 +0000 (12:25 +0100)]
releasing package systemd version 218-10

9 years agorules: simplify mmc RPMB handling
Martin Pitt [Fri, 13 Feb 2015 10:11:27 +0000 (11:11 +0100)]
rules: simplify mmc RPMB handling

Simplifiy commit 82c7a9 following upstream commit 0c13be38.

We don't actually want a by-path/ symlink for MMC RPMB devices, so just add
them to the blacklist. This will prevent creating wrong by-path links and
blkid'ing those.

9 years agoboot-and-services autopkgtest: Add CgroupsTest to check cgroup creation/cleanup behaviour
Martin Pitt [Fri, 13 Feb 2015 09:53:14 +0000 (10:53 +0100)]
boot-and-services autopkgtest: Add CgroupsTest to check cgroup creation/cleanup behaviour

This reproduces #777601 and verifies the fix for it.

9 years agoWhen booting with systemd-bootchart, default to run systemd
Martin Pitt [Fri, 13 Feb 2015 08:29:03 +0000 (09:29 +0100)]
When booting with systemd-bootchart, default to run systemd

Rather than /sbin/init (which might not be systemd)

LP: #1417059

9 years agoQuiesce confusing and irrelevant "failed to reset devices.list" warning
Martin Pitt [Fri, 13 Feb 2015 08:25:53 +0000 (09:25 +0100)]
Quiesce confusing and irrelevant "failed to reset devices.list" warning

LP: #1413193

9 years agoDocument systemctl --failed option
Martin Pitt [Fri, 13 Feb 2015 08:19:26 +0000 (09:19 +0100)]
Document systemctl --failed option

Patch cherry-picked from upstream.

Closes: #767267
9 years agoAdjust patch series for upstreamed patch
Martin Pitt [Fri, 13 Feb 2015 08:16:58 +0000 (09:16 +0100)]
Adjust patch series for upstreamed patch

core-don-t-fail-to-run-services-in-user-instances-if.patch was picked from
upstream.

9 years agoClean up stale mounts when ejecting CD drives with the hardware eject button
Martin Pitt [Fri, 13 Feb 2015 08:03:55 +0000 (09:03 +0100)]
Clean up stale mounts when ejecting CD drives with the hardware eject button

Patches cherry-picked from upstream git.

LP: #1168742

9 years agorules: Fix by-path of mmc RPMB partitions and don't blkid them
Martin Pitt [Fri, 13 Feb 2015 07:56:16 +0000 (08:56 +0100)]
rules: Fix by-path of mmc RPMB partitions and don't blkid them

This avoids kernel buffer I/O errors and timeouts.

Patch cherry-picked from upstream git.

LP: #1333140

9 years agoPull latest keymaps from upstream git
Martin Pitt [Fri, 13 Feb 2015 07:42:06 +0000 (08:42 +0100)]
Pull latest keymaps from upstream git

LP: #1334968, #1409721

9 years agoRelease version 218-9 to experimental
Michael Biebl [Thu, 12 Feb 2015 17:45:55 +0000 (18:45 +0100)]
Release version 218-9 to experimental

9 years agoSmall changelog tweaks
Michael Biebl [Thu, 12 Feb 2015 17:45:09 +0000 (18:45 +0100)]
Small changelog tweaks

9 years agocore: Don't fail to run services in --user instances if $HOME is missing
Michael Biebl [Thu, 12 Feb 2015 17:43:14 +0000 (18:43 +0100)]
core: Don't fail to run services in --user instances if $HOME is missing

Otherwise we cannot even invoke systemd-exit.service anymore, thus not
even exit.

Closes: #759320
9 years agoDon't parse /etc/mtab for current mounts, but /proc/self/mountinfo
Martin Pitt [Thu, 12 Feb 2015 16:29:40 +0000 (17:29 +0100)]
Don't parse /etc/mtab for current mounts, but /proc/self/mountinfo

If the former is a file, it's most likely outdated on boot, leading to race
conditions and unmounts during boot.

LP: #1419623

9 years agoRevert "(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual...
Martin Pitt [Thu, 12 Feb 2015 16:23:00 +0000 (17:23 +0100)]
Revert "(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives"

This reverts commit 2787a8bed5a86bdd9ca0e573a440f630b953d353.

This is not a good long-term approach to fix this bug, only as a workaround for
a stable release update. See discussion in https://launchpad.net/bugs/1420544,
as long as that didn't come to a conclusion let's not ship this.

9 years agocgroup: Don't trim cgroup trees created by someone else
Martin Pitt [Thu, 12 Feb 2015 14:40:25 +0000 (15:40 +0100)]
cgroup: Don't trim cgroup trees created by someone else

Just the ones that systemd itself created. This avoids cleaning up empty
cgroups from e. g. LXC.

Closes: #777601
9 years agodefault-display-manager-generator: Avoid unecessary /dev/null symlink and warning
Didier Roche [Thu, 12 Feb 2015 12:40:41 +0000 (13:40 +0100)]
default-display-manager-generator: Avoid unecessary /dev/null symlink and warning

If there is no display-manager.service unit there is no need to create an
unused /dev/null symlink and print a warning.

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.