Package: kerneloops
Version: 0.12+git20140509-6
Severity: normal
File: /lib/systemd/system/kerneloops.service
Usertags: warnings

The ExecStartPre option in kerneloops.service uses the non-existent
kerneloops --test command-line option. This causes systemd to print a
notice message to the journal whenever starting the kerneloops service
because it detects a left-over process in the control group. This is
also because kerneloops does not exit when given a non-existent option.

$ grep -- -- /lib/systemd/system/kerneloops.service
ExecStartPre=/usr/sbin/kerneloops --test

$ strings /usr/sbin/kerneloops | grep -- '--[a-z]\+$'
--nodaemon
--debug
--file

$ journalctl --system --priority notice --follow --lines 0 --quiet --unit 
kerneloops &
[1] 21835
$ systemctl restart kerneloops ; sleep 1
Feb 03 14:20:03 chianamo systemd[1]: kerneloops.service: Found left-over 
process 21862 (kerneloops) in control group while starting unit. Ignoring.
Feb 03 14:20:03 chianamo systemd[1]: This usually indicates unclean termination 
of a previous run, or service implementation deficiencies.

$ /usr/sbin/kerneloops --nodaemon --asdjasbdkajdfksdfbasldkfbasdf
^C

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kerneloops depends on:
ii  init-system-helpers  1.56+nmu1
ii  libc6                2.28-5
ii  libcurl3-gnutls      7.63.0-1
ii  libdbus-1-3          1.12.12-1
ii  libdbus-glib-1-2     0.110-4
ii  libglib2.0-0         2.58.2-3
ii  lsb-base             10.2018112800

Versions of packages kerneloops recommends:
ii  kerneloops-applet  0.12+git20140509-6

kerneloops suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to