Today I noticed a duplicate entry for CUPS in the Status -> Services table. Also, Samba does not have the “Boot” checkbox.
I do not run both services, I just needed some Samba libraries for FreeRADIUS to start.
How can I get rid of the duplicate CUPS entry and eventually bring back the “Boot” check box for Samba? (I’ll provide a screenshot for details.)
Ok, after some reading I think this has something to do with the way
is run to parse the file list of the directories
to get a list of services. Since there is both a
meta-cups and a
meta-cups-filters package, there will be two “cups” entries in the Status -> Services table.
[root@ipfire]# for i in `find /opt/pakfire/db/installed/meta-* 2>/dev/null | cut -d"-" -f2`; do echo `find /etc/init.d/$i 2>/dev/null | cut -d"/" -f4` | grep -v '^$'; done
Not quite beautiful, but also not a real problem.
(Someone has to rename the package meta file “meta-cups-filters” to “meta-cupsfilters”
and add the name “cupsfilters” to the blacklist below line 171 of services.cgi to remove the duplicate entry from the services list.)
EDIT: Blacklist must not be updated.
If you feel this is a bug (sorry, I don’t know cups/samba enough to be dangerous) you may want to enter it in bugzilla.
this is definitely a bug. Please report it at https://bugzilla.ipfire.org/ and we will have a look at it.
Thanks in advance, and best regards,