Commit Graph

12779 Commits

Author SHA1 Message Date
Martin Pitt
865ca5e8b7 Ignore test failures during build if /etc/machine-id is missing
This is the case in a few buildd chroots still.

Closes: #787258
2015-06-03 08:58:13 +02:00
Martin Pitt
364fc07eab gbp pq patch noise after previous cherry-pick 2015-06-03 08:34:00 +02:00
Martin Pitt
7adbce014a dracut: Fix path to systemd-fsck
Patch cherry-picked from upstream trunk.

Closes: #787553
2015-06-03 08:33:17 +02:00
Martin Pitt
8c2556e1d6 debian/control: Replace obsolete Python2 version header with X-Python3-Version 2015-06-03 08:27:51 +02:00
Martin Pitt
2e27dcc8f6 debian/README.source: Upstream repository moved to github
Adjust cherry-picking instructions accordingly.
2015-06-03 08:24:00 +02:00
Martin Pitt
2c63dff7d2 releasing package systemd version 220-4 2015-06-02 08:16:39 +02:00
Martin Pitt
b378f1df66 Add debian/extra/rules/80-debian-compat.rules
This replaces three of our patches. These are independent udev rules to change
device permissions and add CD/DVD symlinks for compatibility with earlier
Debian releases.
2015-06-02 07:50:20 +02:00
Martin Pitt
de9580b22a Drop path_is_mount_point-handle-false-positive-on-some-fs.patch
It was already not applied in 220-1.

This needs to be re-thought and re-done against the current code, and overlayfs
in general. On overlayfs this still reports false positives for files that
changed in the upperdir, but this does not break systemd-machine-id-commit any
more.
2015-06-02 07:13:54 +02:00
Martin Pitt
3844936c93 Fix parsing of escape characters in Exec*= lines
Patch and test cherry-picked from upstream trunk.

Closes: #787256
2015-06-02 06:08:49 +02:00
Michael Biebl
e2b294170e Drop udev migration code from pre-wheezy 2015-06-02 01:17:13 +02:00
Michael Biebl
0ee61e098c Remove any vestiges of /dev/.udev/
This directory has been replaced by /run/udev/ since wheezy.
2015-06-02 01:15:33 +02:00
Michael Biebl
64723e627e Stop using /sbin/udevd and drop the compat symlink 2015-06-02 01:15:27 +02:00
Michael Biebl
37c0162c08 Make sure we have the proper sulogin implementation from util-linux
Bump depends on util-linux to make sure we have a sulogin implementation
which properly cleans up its children when emergency.service is
restarted.

Closes: #784238
2015-06-01 19:27:56 +02:00
Martin Pitt
4a26840495 Make rc-local.service wait for network-online.target (if it gets started)
Add debian/extra/units/rc-local.service.d/wait-online.conf.
This not specified by LSB, but has been behaving that way in Debian under SysV
init and upstart.

LP: #1451797
2015-06-01 15:56:48 +02:00
Martin Pitt
61e055638c debian/extra/initramfs-tools/scripts/init-top/udev: Drop $ROOTDELAY wait
This does not concern udev in particular, but is handled by initramfs-tools
itself (scripts/local). The intention of this parameter is not to statically
wait for the given time, but wait *up to* that time for the root device to
appear.

Thanks to Thomas Conté for pointing this out!
2015-06-01 15:14:35 +02:00
Martin Pitt
02258d0ade releasing package systemd version 220-3 2015-06-01 12:58:23 +02:00
Martin Pitt
8c465164f3 ifupdown-hotplug autopkgtest: Fix systemctl status call
We expect ifup@.service on the v* side to not be running, as it's not
configured in ifupdown.
2015-06-01 12:57:21 +02:00
Martin Pitt
fe1c3a0701 sd-device: Fix invalid property strv pointers
This unbreaks the environment of udev callouts.

Patch cherry-picked from upstream git.
2015-06-01 12:09:54 +02:00
Martin Pitt
d08cb6c3a8 udev-Bring-back-persistant-storage-symlinks-for-bcac.patch was upstreamed 2015-06-01 12:07:31 +02:00
Martin Pitt
1a28300378 udev: Bring back persistant storage symlinks for bcache
Thanks David Mohr!

Closes: #787367
2015-06-01 08:12:25 +02:00
Martin Pitt
3df4853d9d Add ifupdown-hotplug autopkgtest
This reproduces #787263.
2015-06-01 07:54:50 +02:00
Martin Pitt
ee26dbafd6 Ignore test failures on mipsel
The three failures are not reproducible on the porter box (different kernel?).

See #787258, which we downgrade to important with this.
2015-06-01 07:17:45 +02:00
Martin Pitt
918716cc26 sd-device: fix device_get_properties_strv()
Fixes environment for processes spawned by udev, in particular "allow-hoplug"
ifupdown interfaces via ifup@.service.

Patch cherry-picked from upstream trunk.

Closes: #787263
2015-05-31 20:48:42 +02:00
Martin Pitt
b23e064fc7 Fix ProtectSystem=yes to actually protect /usr, not /home
Cherry-picked from upstream trunk.

Closes: #787343
2015-05-31 20:34:12 +02:00
Michael Biebl
829e8e4236 Wrap Uploaders for better readability 2015-05-30 03:24:09 +02:00
Martin Pitt
ce14e00a5d releasing package systemd version 220-2 2015-05-29 18:54:54 +02:00
Martin Pitt
7df0bcb8a6 Merge branch 'master' into experimental
This adds the changelog entries from master since we branched off experimental.
Most changes got committed into experimental as well (or backported from it),
except these:

  - Addition of hwclock-save.service, which was specific to Jessie. We enable
    timesyncd by default now. (See #755722)
  - Versioned udev dependency for wheezy → jessie upgrades (See #771726).

Deliberately drop those.
2015-05-29 18:51:30 +02:00
Martin Pitt
d7aa55ae4e releasing package systemd version 220-1 2015-05-29 10:37:46 +02:00
Martin Pitt
de55508a64 Add missing ${misc:Depends} to new libnss-* packages 2015-05-29 10:35:04 +02:00
Michael Biebl
697bcdb271 Cleanup up some leftover bits after the gudev removal
Those were missed in ff3e6f6.
2015-05-29 10:09:53 +02:00
Martin Pitt
6ced9cb735 Use Ubuntu's default NTP server for timesyncd when building on Ubuntu 2015-05-29 10:00:12 +02:00
Michael Biebl
ff3e6f6fc8 Stop building gudev packages
Upstream has moved the gudev code into a separate repository which is
now managed on gnome.org. The gudev packages will be built from
src:libgudev from now on. See also
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032070.html
2015-05-29 09:48:46 +02:00
Martin Pitt
8fa9b77707 debian/control: Drop obsolete XS-Testsuite:
pkg adds it automatically.
2015-05-29 09:41:00 +02:00
Martin Pitt
0b4c84b0e6 Fix path_is_mount_point for files
Regression in 220. This has been proposed upstream, but not accepted yet as
upstream wants some stylistic changes. But this works and has test cases.
2015-05-29 09:29:41 +02:00
Martin Pitt
4a7a991059 gbp pq patch noise 2015-05-29 08:45:56 +02:00
Martin Pitt
b5aa768d81 Remove our update-rc.d patches, replace them with upstream patches
Upstream now calls a /lib/systemd/systemd-sysv-install abstraction. Provide one
for update-rc.d.

This also implements the "is-enabled" command by directly checking for the
presence of rcS or rc5 symlinks.

Closes: #760616
2015-05-29 08:45:03 +02:00
Martin Pitt
5a66fb4f53 Replace almost all of Fix-paths-in-man-pages.patch with upstreamed patches
The reminder is planned to get fixed upstream as well, but there is no patch
yet.
2015-05-29 08:03:46 +02:00
Michael Biebl
ff10f7e194 Put back Before=sysinit.target ordering in debian-fixup.service
This was accidentally dropped in f832a9c. We don't want late boot
services looking at a bad /etc/mtab.
2015-05-29 07:40:21 +02:00
Michael Biebl
fc44e35e85 Drop our versioned Depends on initscripts
This was initially added for the /run migration and later to ensure we
have a mountnfs hook which doesn't cause a deadlock under systemd. The
/run migration was completed in wheezy and jessie ships a fixed mountnfs
hook. In addition we now use the ignore-dependencies job mode in our lsb
init-functions hook, so it's safe to drop this dependency.
2015-05-29 07:35:27 +02:00
Michael Biebl
f832a9ce7b Remove /var/run and /var/lock migration code from debian-fixup
The /run migration was completed in wheezy so this is no longer
necessary.
2015-05-29 07:24:36 +02:00
Martin Pitt
4709beb607 systemd-fsckd autopkgtest: Fix test_systemd_fsck_with_plymouth_failure
Fix plymouthd status check to work under both Debian and Ubuntu.
2015-05-28 12:23:33 +02:00
Martin Pitt
825615532d systemd-fsckd: On Debian plymouth-start stays running, adjust was_running() for that
Fixes a bunch of test failures on Debian.
2015-05-28 12:01:54 +02:00
Martin Pitt
10eaac4c3d bootchart autopkgtest: Skip test if /proc/schedstat does not exist
I. e. the kernel is missing CONFIG_SCHEDSTAT. Bootchart requires this.
2015-05-28 10:53:09 +02:00
Martin Pitt
8e9833a6f2 Drop buildsys-Don-t-default-to-gold-as-the-linker.patch
Set LD in debian/rules on sparc only.

This can be dropped entirely once we build GUdev from a separate source.
2015-05-28 07:46:28 +02:00
Martin Pitt
851e3f3384 Cherry-pick patch to fix udevd worker hang 2015-05-27 21:25:41 +02:00
Martin Pitt
7e6cca78a9 Add libnss-myhostname binary package
Taking over from the very old and unmaintained standalone source package as per
its maintainer's request.

Closes: #760514
2015-05-26 21:16:02 +02:00
Martin Pitt
9f485b1763 Add libnss-mymachines binary package
Closes: #784858
2015-05-26 21:13:01 +02:00
Martin Pitt
1369a1ee42 autopkgtest: Ship/use mock fsck from debian/tests, as it's missing in the 220 tarball
Fixed upstream in commit db47294f41, this can be reverted with the next upstream
release.
2015-05-26 07:22:45 +02:00
Martin Pitt
4480379901 debian/rules: Remove shipped keyboard-keys-from-name.gperf and regenerate it during build
This is a bug in the 220 tarball, see upstream report/discussion:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032161.html
2015-05-25 19:50:56 +02:00
Martin Pitt
b57e156f47 debian/rules: Remove shipped audit_type-to-name.h and regenerate it during build.
This is a build failure with the 220 tarball, see upstream report/discussion:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032148.html
2015-05-25 19:50:56 +02:00