← Back to team overview

touch-packages team mailing list archive

[Bug 1543282] [NEW] masked jobs trigger warning about failed dependency

 

Public bug reported:

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

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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


Follow ups