You are not logged in.
Offline
How exactly did you attempt to disable cups?
These work for me:
# sysv-rc-conf cups off
# update-rc.d cups disable
The changes survive a reboot but I think they might be over-ridden if the cups package is updated. Not sure though.
Did you try manually toggling the individual run levels? That also seems to work.
Brianna Ghey — Rest In Power
Offline
The issue is not service management, update-rc.d works without problems.
The question is in the behavior of sysv-rc-conf, where does it get information about the status of services and why is it not true?
Another GUI on my KsysV system behaves similarly, with the same errors.
It's pure curiosity, not a problem.
Offline
Can you demonstrate an example of sysv-rc-conf behaving in an "untrue" manner?
It seems to be working as expected for me.
Brianna Ghey — Rest In Power
Offline
I posted a screenshot.
This is right after the reboot, without changing anything, in fact cups is running, according to the sysv-rc-conf report it is not.
Offline
I cannot reproduce that in a freshly-installed daedalus system (2022-12-26 netinstall ISO).
Is this with sysvinit?
Brianna Ghey — Rest In Power
Offline
This is a GNU/LINUX EXE (Devuan GNU/Linux with Trinity Desktop), basically Devuan Chimaera 4.0 stable release, with the latest updates.
Yes, sysvinit.
Offline
Well put that in the thread title then. I would try to reproduce the problem in that system but unfortunately the GNU/Linux EXE installer doesn't seem to recognise virtio disks in QEMU, which is a bit silly. Sorry.
Brianna Ghey — Rest In Power
Offline
@Head_on_a_Stick
Thank you.
I have corrected the title.
Offline
Fairly new Exe install here. I dont actually need cups always on so disabled it in all runlevels using sysv-rc-conf. After reboot:
root@exegnu:~# runlevel
N 2
root@exegnu:~# service cups status
cupsd is not running ... failed!
root@exegnu:~# ls /etc/rc5.d|grep cups
K01cups
That is normal, I can't reproduce aluma's problem!
GNU/Linux EXE installer doesn't seem to recognise virtio disks in QEMU
Exe GNU installer is quite basic. All Exe builds include also refractainstaller which may work in that case..
EDIT aluma, your sysv-rc-conf screenshot show cups only off in runlevel 5, that's not normal. What happens if you turn it off in all runlevels using arrow and spacebar keys?
Last edited by dzz (2023-01-01 17:55:27)
Offline
Exe GNU installer is quite basic. All Exe builds include also refractainstaller which may work in that case..
Indeed it does. Thanks dzz. I think the en_US.UTF-8 locale should be generated regardless of the selected system locale and I would have liked more choice in respect of filesystems (btrfs ftw!) but I do like that installer :-)
@OP: I also cannot reproduce this in EXE. You've clearly broken it. What did you do?
Brianna Ghey — Rest In Power
Offline
@OP: Please note Devuan default runlevel is 2 (you only change that if you got a reason)
I think the en_US.UTF-8 locale should be generated regardless of the selected system locale
It is! (and you can generate any others needed and choose your system default)
root@exegnu:~# dpkg-reconfigure locales
Generating locales (this might take a while)...
de_DE.UTF-8... done
en_GB.UTF-8... done
en_US.UTF-8... done
es_ES.UTF-8... done
fr_FR.UTF-8... done
it_IT.UTF-8... done
pl_PL.UTF-8... done
pt_PT.UTF-8... done
Generation complete.
Offline
@dzz
EDIT aluma, your sysv-rc-conf screenshot show cups only off in runlevel 5, that's not normal. What happens if you turn it off in all runlevels using arrow and spacebar keys?
Thank you.
Yes, if the service is turned off in sysv-rc-conf at all levels, everything matches.
Here is a screenshot after reboot.
P.S. Just saw it myself
I did not touch the eudev service at all.
Last edited by aluma (2023-01-01 18:34:18)
Offline
Sorted! Please mark as "solved".. Note it's actually /etc/init.d/rc2.d/ that's relevant (unless you manually changed default runlevel from 2). Disabled you will see K01cups, or enabled, S01cups..
root@exegnu:~# ls /etc/rc2.d|grep cups
K01cups
I did not touch the eudev service at all.
Please don't, for sure will break things! And I hope you're not running konqueror as root..
Offline
@dzz
Thank you.
I understand there are no questions.
P.S. Just a remark, not as a reason for discussion.
My 1998 ancient textbook, "Linux verstehen und anwenden" by Kai Petzke, in 13.6.4 says. that when changing the runlevel, the script specified in the specific /etc/rc* should be processed.
In my case for level 5 K01cups is present and cups must be "killed".
But times are changing...
Last edited by aluma (2023-01-02 04:59:56)
Offline