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.
Maybe using the patch in this bug ? https://bugs.gentoo.org/show_bug.cgi?id=524970
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?
Also check Bug#539480 for an updated patch and bump to 3.8.1
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