Commit Graph

12507 Commits

Author SHA1 Message Date
Martin Pitt
fa9335ec4e tmpfiles.d/systemd.conf: Make ACL for "adm" actually work
Drop "wheel" ACL, that group does not exist in Debian.
2015-02-17 13:03:11 +01:00
Michael Biebl
f4824fa9ee Use /sbin/sulogin as default path 2015-02-17 12:49:16 +01:00
Michael Biebl
1849301f3f Stop removing firstboot man pages
They are now installed conditionally.
2015-02-17 12:46:01 +01:00
Martin Pitt
daab783ea9 debian/libsystemd0.symbols: Add new symbols from this release 2015-02-17 11:52:08 +01:00
Martin Pitt
3175273992 debian/systemd.install: Add new systemd-hwdb and language-fallback-map files 2015-02-17 11:50:19 +01:00
Martin Pitt
94e0164426 Bump libblkid-dev build dependency
As per upstream configure.ac
2015-02-17 11:31:34 +01:00
Martin Pitt
8b9c316708 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.
2015-02-17 11:31:34 +01:00
Martin Pitt
cb1e60fcdb Merge tag 'upstream/219' into experimental
Upstream version 219
2015-02-17 11:22:58 +01:00
Martin Pitt
e735f4d4ea Imported Upstream version 219 2015-02-17 11:22:16 +01:00
Martin Pitt
32b9c0cca5 Merge tag 'upstream/218' into experimental
Upstream version 218

This commit was accidentally removed when rebasing. Retroactively merging to
unbreak git-import-orig.
2015-02-17 11:21:21 +01:00
Martin Pitt
5784c90800 Merge tag 'upstream/217' into experimental
Upstream version 217

This commit was accidentally removed when rebasing. Retroactively merging to
unbreak git-import-orig.
2015-02-17 11:19:57 +01:00
Martin Pitt
0a7f4d4b8e debian/systemd.links: Drop obsolete hwclockfirst.service mask link
This was dropped in wheezy's util-linux already.
2015-02-16 17:18:56 +01:00
Martin Pitt
929bece532 Enable timesyncd by default
Add a config drop-in to not start if ntp, openntpd, or chrony is installed.

Closes: #755722
2015-02-16 15:38:40 +01:00
Martin Pitt
7ea24cda5e 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.
2015-02-16 15:24:36 +01:00
Martin Pitt
46e123691b 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
2015-02-16 14:49:34 +01:00
Martin Pitt
956b720a1d /lib/lsb/init-functions.d/40-systemd: Call systemctl is-system-running with --quiet
LP: #1421058
2015-02-15 16:46:12 +01:00
Martin Pitt
06beac97b6 releasing package systemd version 218-10 2015-02-13 12:25:12 +01:00
Martin Pitt
d222fe5940 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.
2015-02-13 11:12:53 +01:00
Martin Pitt
37aaa7fd86 boot-and-services autopkgtest: Add CgroupsTest to check cgroup creation/cleanup behaviour
This reproduces #777601 and verifies the fix for it.
2015-02-13 10:53:14 +01:00
Martin Pitt
17d592e2da When booting with systemd-bootchart, default to run systemd
Rather than /sbin/init (which might not be systemd)

LP: #1417059
2015-02-13 09:29:28 +01:00
Martin Pitt
87a79bfb31 Quiesce confusing and irrelevant "failed to reset devices.list" warning
LP: #1413193
2015-02-13 09:25:53 +01:00
Martin Pitt
918f962596 Document systemctl --failed option
Patch cherry-picked from upstream.

Closes: #767267
2015-02-13 09:19:26 +01:00
Martin Pitt
0f30786b6e Adjust patch series for upstreamed patch
core-don-t-fail-to-run-services-in-user-instances-if.patch was picked from
upstream.
2015-02-13 09:16:58 +01:00
Martin Pitt
8ab696836c Clean up stale mounts when ejecting CD drives with the hardware eject button
Patches cherry-picked from upstream git.

LP: #1168742
2015-02-13 09:03:55 +01:00
Martin Pitt
82c7a92e3f 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
2015-02-13 08:56:16 +01:00
Martin Pitt
3129f08e78 Pull latest keymaps from upstream git
LP: #1334968, #1409721
2015-02-13 08:42:06 +01:00
Michael Biebl
22f8a6e0f0 Release version 218-9 to experimental 2015-02-12 22:51:08 +01:00
Michael Biebl
5e89f1fa8a Small changelog tweaks 2015-02-12 22:51:01 +01:00
Michael Biebl
25b3c17340 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
2015-02-12 19:30:54 +01:00
Martin Pitt
999fb5e2b0 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
2015-02-12 17:29:40 +01:00
Martin Pitt
b640a9303e Revert "(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives"
This reverts commit 2787a8bed5.

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.
2015-02-12 17:23:00 +01:00
Martin Pitt
286ef78fdd 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
2015-02-12 15:40:25 +01:00
Didier Roche
bd76ba5abf 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.
2015-02-12 15:15:53 +01:00
Michael Biebl
8984d3a4e2 Disable AppArmor support in the udeb build 2015-02-12 14:24:46 +01:00
Michael Biebl
0825d2f596 Explicitly disable the features we don't want to build for those with autodetection
This ensures reliable build results in dirty build environments.
2015-02-12 14:21:04 +01:00
Martin Pitt
2787a8bed5 (Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives
LP: #1420544
2015-02-11 17:36:49 +01:00
Martin Pitt
b11f879212 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.
2015-02-11 13:35:44 +01:00
Martin Pitt
58ba89db40 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
2015-02-11 10:24:45 +01:00
Martin Pitt
d227128f77 Add unit-config autopkgtest
This checks systemd unit/sysv init enabling and disabling via systemctl. This
also reproduces #777613.
2015-02-11 10:00:59 +01:00
Martin Pitt
a3d4a06ef7 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.
2015-02-10 10:29:55 +01:00
Martin Pitt
199cdab321 releasing package systemd version 218-8 2015-02-09 18:07:26 +01:00
Michael Biebl
5fc10440da Correctly hook up rc-local.service in multi-user.target.wants 2015-02-09 17:58:24 +01:00
Martin Pitt
435212f689 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.
2015-02-09 17:21:05 +01:00
Martin Pitt
7e91ff76ae Revert "Fix logind startup condition to not hardcode dbus-daemon path"
This reverts commit 3b3c274551. Go back to using
a patch, and check for /lib/systemd/system/dbus.service instead.
2015-02-09 16:51:21 +01:00
Martin Pitt
3b3c274551 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.
2015-02-09 15:22:33 +01:00
Martin Pitt
826cb9153e gbp-pq export noise 2015-02-09 15:15:55 +01:00
Michael Biebl
cde43b9ed2 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.
2015-02-09 14:50:34 +01:00
Martin Pitt
b30f12c9e8 debian/changelog: clean up changelog entry for commit 7443382 2015-02-09 14:37:26 +01:00
Martin Pitt
6e147c0124 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
2015-02-09 14:22:56 +01:00
Martin Pitt
bad3c2ee4e Fix previous changelog, we mean the "dbus" package, not the project 2015-02-09 12:06:49 +01:00