The officially official Devuan Forum!

You are not logged in.

#1 2023-01-01 08:27:25

aluma
Member
Registered: 2022-10-26
Posts: 522  

[SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

Using sysv-rc-conf, the cups service was turned off and the computer was rebooted.
Here is the output of sysv-rc-conf and service --status-all, the cups service is running, there is a symlink in /etc/rc5.d.
Is it just me having this problem?
3.jpg

Last edited by aluma (2023-01-01 16:07:57)

Offline

#2 2023-01-01 11:51:38

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#3 2023-01-01 12:32:28

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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. sad

Offline

#4 2023-01-01 12:38:18

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#5 2023-01-01 13:45:02

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#6 2023-01-01 14:13:39

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#7 2023-01-01 14:44:36

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#8 2023-01-01 15:43:34

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#9 2023-01-01 16:10:26

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

@Head_on_a_Stick

Thank you.

I have corrected the title.

Offline

#10 2023-01-01 17:19:32

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 47  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#11 2023-01-01 17:49:12

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

dzz wrote:

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

#12 2023-01-01 18:22:55

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 47  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

@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

#13 2023-01-01 18:25:20

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

@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.
4.jpg

P.S. Just saw it myself smile
I did not touch the eudev service at all.

Last edited by aluma (2023-01-01 18:34:18)

Offline

#14 2023-01-01 19:09:28

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 47  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

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

#15 2023-01-02 04:30:55

aluma
Member
Registered: 2022-10-26
Posts: 522  

Re: [SOLVED] Exe GNU/Linux (Chimaera 4.0 ) sysv-rc-conf has a life of its own.

@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... smile

Last edited by aluma (2023-01-02 04:59:56)

Offline

Board footer