Commit Graph
13207 Commits
Author SHA1 Message Date
Martin Pitt 45f38dcccc debian/tests/timedated: Add tests for "timedatectl set-local-rtc"
This requires the fix for https://github.com/systemd/systemd/issues/2638.
2016-02-29 07:35:44 +01:00
Martin Pitt 74b1a4eda7 releasing package systemd version 229-2 2016-02-28 22:16:18 +01:00
Martin Pitt ed938b6f8a networkd: Go back to letting the kernel handle IPv6 router advertisements
networkd's own currently has too many regressions.

Thanks to Stefan Lippers-Hollmann for investigating this!

Closes: #814566
Closes: #814667
Closes: #815586
Closes: #815884
Closes: #815793
2016-02-28 22:07:57 +01:00
Martin Pitt aa3bbfa0fe Fix addresses for type "sit" tunnels
Cherry-picked from upstream master commit 07dcb0.

Closes: #816132
2016-02-28 21:01:23 +01:00
Martin Pitt 64599ffe44 Revert changing the default core dump ulimit and core_pattern
This completely breaks core dumps without systemd-coredump. It's also
contradicting core(8).

Closes: #815020
2016-02-27 15:08:47 +01:00
Martin Pitt ea3fde415d debian/tests/control: Fix wrong empty line
Typo from commit 98771fa4dc.
2016-02-27 12:33:06 +01:00
Martin Pitt 466c9c57f9 Move systemd-coredump socket and service into systemd-coredump binary package 2016-02-27 12:02:30 +01:00
Martin Pitt 98771fa4dc debian/tests/bootchart: Don't run for upstream tests
bootchart now got removed from master, so move its autopkgtest below the
"NOUPSTREAM" section in debian/tests/control to speed up upstream tests.

Also drop the $TEST_UPSTREAM check from the autopkgtest as that's redundant
now.
2016-02-25 17:57:38 +01:00
Martin Pitt 54e0510590 debian/tests/boot-and-services: Sync journal in nspawn test
Sync the journal before examining it.
2016-02-24 08:05:39 +01:00
Martin Pitt f6b88f7e1b debian/tests/boot-and-services: Show verbose journal output on failure in nspawn test 2016-02-22 21:27:30 +01:00
Martin Pitt 3e405eab16 debian/tests/bootchart: Skip test if bootchart is not available
bootchart is in the process of moving to a separate repository.

Only do that when testing in upstream mode. For the distro we want to assert
that bootchart is available for the time being.
2016-02-19 18:03:29 +01:00
Martin Pitt 97e951d6ad debian/tests/networkd: Skip test_coldplug_dhcp_ip6 when running against upstream
This test is brittle there. To be investigated.
2016-02-19 08:25:11 +01:00
Martin Pitt 29bc0c4060 debian/tests/boot-and-services: Skip journal test for test_bash_crash when running against upstream
This currently fails most of the time. To be investigated.
2016-02-18 19:18:57 +01:00
Martin Pitt ca5b98fb13 debian/tests/systemd-fsckd: Use grub.d/50-cloudimg-settings.cfg as a template for generating our custom one
... instead of 90-autopkgtest.cfg. The latter does not exist on non-x86
architectures and is not relevant for this test.

This should fix the non-rebooting ppc64el instances in Ubuntu CI.
2016-02-18 17:54:30 +01:00
Martin Pitt 388a7e7658 debian/tests/boot-and-services: Explicitly sync the journal and reduce timeout again
This refines 8637e11. Thanks Evgeny Vereshchagin for the suggestion!
2016-02-18 16:05:38 +01:00
Martin Pitt dc5da62e93 debian/extra/checkout-upstream: Try again after one minute if git checkout fails
This should avoid failures from transient network errors, like in

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-pitti-systemd-semaphore/xenial/amd64/s/systemd-upstream/20160218_135146@/log.gz
2016-02-18 15:39:07 +01:00
Martin Pitt 8637e1162b debian/tests/boot-and-services: Increase timeouts of test_bash_crash from 5 to 50 seconds 2016-02-18 15:32:58 +01:00
Martin Pitt c59ff5c9ec debian/systemd.postinst: Only try to enable tmp.mount if we actually copied it to /etc
Don't try to enable a generated unit, as that will fail with "No such file or
directory".

LP: #1545707
2016-02-17 16:30:56 +01:00
Martin Pitt 80ac977a90 debian/systemd.postinst: Add missing newline to /etc/adjtime migration.
See corresponding bug in util-linux: https://bugs.debian.org/699554 and
upstream bug: https://github.com/systemd/systemd/issues/2638
2016-02-17 08:38:43 +01:00
Martin Pitt 74bafd0370 Revert "systemd.postinst: Do a daemon-reload after copying tmp.mount"
This turns out to be unnecessary after all.

This reverts commit d98dbe83d5.
2016-02-17 08:18:23 +01:00
Martin Pitt d98dbe83d5 systemd.postinst: Do a daemon-reload after copying tmp.mount
So that systemctl enable does not fail on enabling.

LP: #1545707
2016-02-15 18:36:03 +01:00
Martin Pitt abb094d84b time-util: map ALARM clockids to non-ALARM clockids in now()
This works on architectures which don't support CLOCK_BOOTTIME_ALARM. Fixes
FTBFS on many architectures.

Cherry-picked from upstream master commit 32c1f5a57998.
2016-02-14 13:17:11 +01:00
Martin Pitt c29883a17b releasing package systemd version 229-1 2016-02-11 21:02:43 +01:00
Martin Pitt 10111dcfc3 Fix cut&paste error in previous commit 2016-02-11 21:00:07 +01:00
Martin Pitt 71fa831da5 systemd-coredump.postinst: Create systemd-coredump system user 2016-02-11 20:14:51 +01:00
Martin Pitt b714308e8d libsystemd0.symbols: Add new symbols from this release 2016-02-11 18:58:38 +01:00
Martin Pitt 483b76c379 debian/systemd.install: Ship the new systemd-resolve 2016-02-11 18:49:53 +01:00
Martin Pitt 497721bfaa New upstream release 229
Drop cherry-picked patches and adjust the others for the new upstream release.
2016-02-11 18:49:33 +01:00
Martin Pitt 4c579edce7 Merge tag 'upstream/229'
Upstream version 229
2016-02-11 17:57:20 +01:00
Martin Pitt 4c89c718b5 Imported Upstream version 229 2016-02-11 17:57:18 +01:00
Martin Pitt 7a1805b4e8 Enable seccomp support on powerpc, ppc64el, and s390x
This got enabled in libseccomp 2.2.3-3.
2016-02-11 16:13:36 +01:00
Martin Pitt c7d36e4e6d Revert "checkout-upstream: shallow cloning"
This reverts commit 8d6e1b9981.
That broke "git describe".
2016-02-10 18:20:41 +01:00
Martin Pitt 8d6e1b9981 checkout-upstream: shallow cloning
We don't need the entire history, so clone/fetch with --depth=1.
2016-02-10 17:27:58 +01:00
Martin Pitt dbb315b949 Add debian/extra/checkout-upstream
This is a script to replace the current source with a checkout of an upstream
pull request, branch, or commit, and remove debian/patches/. This also disables
autopkgtests which are not appropriate for testing upstream. Called from
debian/rules if $TEST_UPSTREAM is set.

This will be used for upstream CI.
2016-02-10 13:06:52 +01:00
Martin Pitt 4f1bf9f6b4 Speed up autopkgtests
debian/tests/control: Rearrange tests and avoid removing test dependencies to
minimize testbed resets. This considerably speeds up running the autopkgtests.

Wrap test dependencies.
2016-02-10 12:37:23 +01:00
Martin Pitt d3729a6d7b debian/tests/control: Reorder tests
Add a comment which ones should not be run for an upstream build: In
particular, systemd-fsckd relies on a downstream patch, and
cmdline-upstart-boot is not relevant for testing upstream.
2016-02-10 09:55:06 +01:00
Martin Pitt 52e789f06e Drop debian/tests/ifupdown-hotplug
The units moved into ifupdown, so the test should go there too.
See <https://bugs.debian.org/814312>.
2016-02-10 09:19:33 +01:00
Martin Pitt a863860881 debian/tests/storage: Remove duplicated code 2016-02-09 10:49:03 +01:00
Martin Pitt 681aaee461 Remove obsolete udev maintainer script checks
- Drop check for kernel >= 2.6.32, which released in 2009.
  - Drop restarting of some daemons due to the devtmpfs migration, which
    happened before the above kernel even.
  - Drop support for forcing upgrades on kernels known not to work via
    /etc/udev/kernel-upgrade. Don't pretend that this would help, as users
    could end up with a non-bootable system. Always fail early in preinst
    when it's still possible to install a working kernel.
  - Drop postinst test for "running in containers" -- it's actually possible
    to run udev in containers if you mount /sys r/w and you know what you
    are doing. Also, the init.d script and systemd service do that check
    again.
  - Keep the kernel feature and chroot checks, as these are still useful.
    Simplify check_kernel_features() by eliminating some variables.
  - Drop debconf templates. Two of them are obsolete, and having
    CONFIG_SYSFS_DEPRECATED is now so implausible that this doesn't warrant
    the overhead and translator efforts.
2016-02-08 23:21:36 +01:00
Martin Pitt 39d2eab198 Trim Use-different-default-paths-for-various-binaries.patch
Drop path changes for setcap (which is already a build dep and not used at all)
and sulogin (which is now in util-linux).
2016-02-08 23:18:29 +01:00
Martin Pitt d8b2e9f5d5 Drop timedated-don-t-rely-on-usr-being-mounted-in-the-ini.patch
initramfs-tools has mounted /usr since Jessie, and tzdata now creates
/etc/localtime as a symlink too (see https://bugs.debian.org/803144).
2016-02-08 22:58:32 +01:00
Martin Pitt d6ab749bf9 Do not warn about Wants depencencies on masked units
Cherry-picked from upstream master e43cec8e055.

LP: #1543282
2016-02-08 22:52:59 +01:00
Martin Pitt b231b2a125 debian/tests/systemd-fsckd: Tame overly strict test for failed plymouth unit
This is a race condition with plymouthd auto-stopping.

LP: #1543144
2016-02-08 22:45:11 +01:00
Martin Pitt 9e07a99cd8 releasing package systemd version 228-6 2016-02-04 11:46:59 +01:00
Martin Pitt 08f0f6d39c Fix permissions of /run/lock
Make-run-lock-tmpfs-an-API-fs.patch: Drop /run/lock from tmpfiles.d/legacy.conf
to avoid the latter clobbering the permissions of /run/lock. Fixes fallout from
cleanup in -5 that resulted /run/lock to have 0755 permissions instead of 1777.

LP: #1541775
2016-02-04 11:46:30 +01:00
Martin Pitt 636fc70d0c releasing package systemd version 228-5 2016-02-03 10:09:49 +01:00
Martin Pitt 8df369446c Fix systemd Breaks:/Replaces
Commit b81f0e8f4 meant to say "udev".
2016-02-03 10:09:10 +01:00
Martin Pitt 21d7f9624b Move upstart conflicts back to static declarations
Revert the dynamism from commit 98ddec8f, and use the Ubuntu version. I. e.,
add systemd-sysv conflict to upstart-sysv, and version the upstart conflict.
This works with both Debian's and Ubuntu's upstart packages.
2016-02-03 09:36:46 +01:00
Michael Biebl 36648cdcc7 Drop "systemctl daemon-reload" from lsb init-functions hook
This is no longer necessary as invoke-rc.d and init-system-helpers take
care of this nowadays.
2016-02-03 04:17:19 +01:00
Michael Biebl 9dc9fdde4e Small typo fix in README.Debian 2016-02-03 04:17:02 +01:00