Bug#830257: systemd-sysv-generator: Failed to build name: Invalid argument

Martin Pitt mpitt at debian.org
Sat Jul 16 15:47:22 BST 2016


Control: tag -1 moreinfo

Hello,

L.Bonnaud at laposte.net [2016-07-07 18:27 +0200]:
> [   51.807180] systemd-sysv-generator[2646]: Failed to build name: Invalid argument
> [   52.036000] systemd-sysv-generator[2734]: Failed to build name: Invalid argument
> 
> I guess they comes from files in /etc/init.d/ but there are more than 450 files there (this is a test system).  
> 
> So the bug is: systemd-sysv-generator should display the name of the incorrect SysV init script.
> Do you have any idea how to find this script ?

It is shown in log level debug. You can run the generator as user in
debug mode in a running system, that's safe and unintrusive:

  mkdir /tmp/x
  SYSTEMD_LOG_LEVEL=debug /lib/systemd/system-generators/systemd-sysv-generator /tmp/x /tmp/x /tmp/x

this should then tell the file(s) it's stumbling over. Copy&paste'ing
the output here would be appreciated!

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)




More information about the Pkg-systemd-maintainers mailing list