[Bug 1543282] Re: masked jobs trigger warning about failed dependency

Launchpad Bug Tracker 1543282 at bugs.launchpad.net
Thu Feb 11 11:05:26 UTC 2016


This bug was fixed in the package systemd - 228-6ubuntu1

---------------
systemd (228-6ubuntu1) xenial; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - Hack to support system-image read-only /etc, and modify files in
      /etc/writable/ instead.
    - Build using libseccomp on powerpc and ppc64el (See Debian #800818).

    Upgrade fixes, keep until 16.04 LTS release:
    - systemd Conflicts/Replaces/Provides systemd-services.
    - Remove obsolete systemd-logind upstart job.
    - Clean up obsolete /etc/udev/rules.d/README.
    - systemd.postinst: Migrate mountall specific fstab options to standard
      util-linux "nofail" option.
    - systemctl: Don't forward telinit u to upstart. This works around
      upstart's Restart() always reexec'ing /sbin/init on Restart(), even if
      that changes to point to systemd during the upgrade. This avoids running
      systemd during a dist-upgrade. (LP: #1430479)
    - Provide shutdown fallback for upstart. (LP: #1370329)
    - Break lvm (<< 2.02.133-1ubuntu1) and remove our dummy /etc/init.d/lvm2
      on upgrades, as it's shipped by lvm2 now.
    - Make udev break on mdadm << 3.3-2ubuntu3, as udev's init script dropped
      the "Provides: raid-mdadm".
    - Clean up /var/log/udev on upgrade (which is written under upstart, but
      not under systemd). (LP: #1537211)
    - Migrate existing s390x network configuration to new names. (LP: #1526808)
    - systemd.postinst: Bump Version comparison for migrating the UTC setting
      from /etc/default/rcS to /etc/adjtime, to run it for upgrades to 16.04.

systemd (228-7) UNRELEASED; urgency=medium

  * debian/tests/systemd-fsckd: Tame overly strict test for failed plymouth
    unit, which is a race condition with plymouthd auto-stopping.
    (LP: #1543144)
  * Do not warn about Wants depencencies on masked units. (LP: #1543282)
  * 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 #803144).
  * 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).
  * 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.
  * Drop debian/tests/ifupdown-hotplug. The units moved into ifupdown, so the
    test should go there too (see #814312).
  * debian/tests/control: Reorder tests and add a comment which ones should
    not be run for an upstream build.
  * debian/tests/control: Rearrange tests and avoid removing test dependencies
    to minimize testbed resets.
  * Add debian/extra/checkout-upstream: Script to replace the current
     source with a checkout of an upstream pull request, branch, or commit,
     and remove debian/patches/. Call from debian/rules if $TEST_UPSTREAM is
     set. This will be used for upstream CI.

systemd (228-6) unstable; urgency=medium

  * 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)

 -- Martin Pitt <martin.pitt at ubuntu.com>  Thu, 11 Feb 2016 00:31:51
+0100

** Changed in: systemd (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1543282

Title:
  masked jobs trigger warning about failed dependency

Status in systemd package in Ubuntu:
  Fix Released

Bug description:
  When one masks a unit, systemd complains that it fails to add the
  masked job as dependency. For example, after masking proc-sys-fs-
  binfmt_misc.automount, a boot sequence logs this message 24 times:

   Feb  8 15:14:18 simon-laptop systemd[1]: proc-sys-fs-
  binfmt_misc.automount: Cannot add dependency job, ignoring: Unit proc-
  sys-fs-binfmt_misc.automount is masked.

  This should be a debug level message to avoid spamming syslog
  needlessly. This is exactly what upstream recently did in
  https://github.com/systemd/systemd/commit/e93af635c73663ea9e0d719e150dca4bb894b407.
  It would be great to have this in Xenial.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: systemd 228-5ubuntu3
  ProcVersionSignature: Ubuntu 4.4.0-4.19-generic 4.4.1
  Uname: Linux 4.4.0-4-generic x86_64
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
  Date: Mon Feb  8 15:34:50 2016
  MachineType: LENOVO 2516CTO
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-4-generic root=/dev/mapper/crypt-xroot ro quiet splash cryptopts=target=crypt,source=/dev/sda1,lvm=crypt-xroot possible_cpus=4 nmi_watchdog=0 kaslr vt.handoff=7
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/14/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6IET85WW (1.45 )
  dmi.board.name: 2516CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6IET85WW(1.45):bd02/14/2013:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2516CTO
  dmi.product.version: ThinkPad T410
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1543282/+subscriptions



More information about the foundations-bugs mailing list