Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524966 - www-misc/monitorix-3.5.1 - /etc/init.d/monitorix: remove space from shebang
Summary: www-misc/monitorix-3.5.1 - /etc/init.d/monitorix: remove space from shebang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-10 15:41 UTC by marco
Modified: 2016-04-15 14:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2014-10-10 15:41:34 UTC
www-misc/monitorix/files/monitorix-3.5.1.init

has a wrong  Shabang as
#! /sbin/runscript
instead of 
#!/sbin/runscript

without space.

Running
rc-config add monitorix default
rc-config list default

do not output the monitorix script.

if you modify the Shabang to #!/sbin/runscript
all is ok.




Reproducible: Always

Steps to Reproduce:
1.Modify #! /sbin/runscript to #!/sbin/runscript
2.
3.
Comment 1 marco 2014-10-24 12:56:32 UTC
Maybe using the patch in this bug ?

https://bugs.gentoo.org/show_bug.cgi?id=524970
Comment 2 Peter 2016-04-14 18:51:21 UTC
I'm unable to reproduce with ebuild for 3.5.1:

BOX ~ # rc-config list default
Init scripts to be started by runlevel default
  dcron
  local
  net.enp0s3
  net.enp0s8
  netmount
  sshd
  syslog-ng
  virtualbox-guest-additions
BOX ~ # head -1 /etc/init.d/monitorix
#! /sbin/runscript
BOX ~ # rc-config add monitorix default
Adding monitorix to following runlevels
  default                   [done]
BOX ~ # rc-config list default
Init scripts to be started by runlevel default
  dcron
  local
  monitorix
  net.enp0s3
  net.enp0s8
  netmount
  sshd
  syslog-ng
  virtualbox-guest-additions

As you can see I'm able to add the service to the default run level and it appears listed.

Do you still have the issue?
Comment 3 Peter 2016-04-14 18:58:54 UTC
Also check Bug#539480 for an updated patch and bump to 3.8.1
Comment 4 Amy Liffey gentoo-dev 2016-04-15 14:10:52 UTC
author	Amy Winston <amynka@gentoo.org>	2016-04-15 14:05:32 (GMT)
committer	Amy Winston <amynka@gentoo.org>	2016-04-15 14:06:58 (GMT)
commit	2b2392bad269b6cecc440ad83ff65ab0a5b1e1a4

www-misc/monitorix: space removed bug #524966