Re: [DNG] Upgrade from buster to beowulf, runlevels are goofed

2021-03-21 Thread g4sra via Dng
‐‐‐ Original Message ‐‐‐
On Sunday, March 21, 2021 10:07 AM, Antony Stone 
 wrote:

> On Sunday 21 March 2021 at 10:57:46, Erich Minderlein via Dng wrote:
> 

> > In the times of SuSE 7.0 to 7.3 I used runlevels to control a server with
> > attached thin clients. The users on the system got a wall message and had
> > to save their work. After a few minutes the runlevel was reduced from 5 to
> > 3.
> 

> That's a long time ago.
> 

> > Now I find that the runlevels are identical from 2 to 5 as opposed to the
> > old times, when they were substantially differentiated. (root only, +local
> > multi-user, +network, +Xserver) Is this a heritage of the debian
> > distribution crippled by the poeystemd?
> 

> No, Debian has had identical runlevels 2-5 for many releases, nothing to do
> with systemd.
> 

> > Can I obtain a devuan different more clever system with update-rc.d ?
> 

> I'm not quite sure what you're looking for - I've never tried Debian Buster,
> but Devuan Beowulf works fine for me, and I happened yesterday to have to
> install a sysvinit startup file (for zoneminder, which no longer comes with 
> one
> by default), which got installed using update-rc.d without any problem.
> 

> > https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification
> > devuan (beowulf standard installation with some cruft maybe) as I have it
> > on my notebooks does not conform to the LSB.
> 

> Devuan is based on Debian, and that project dropped LSB support in 2015:
> https://wiki.debian.org/LSB
> 

> You can have LSB, or you can have Debian/Devuan, but it's not easy to have
> both.
> 


The only change that I can recall since the very very early days is that the 
runlevels used to step either incrementally or decrementally through all states 
between the current runlevel and the target runlevel e.g. 2>3>4>5 and 4>3>2>1 
instead of jumping straight to 5 or straight to 1.

The sysvinit scripts require LSB headers on Debian/Devuan. The drop of LSB by 
Debian refers to not complying with the whole LSB specification which dictates 
far more than just the init scripts. There is nothing to prevent from defining 
different states at different runlevels. There is no practical way of 
determining what will be required at system build time by a generic 
installation utility, it is up to the system administrator to customise the 
install appropriately after.

man update-rc.d





publickey - g4sra@protonmail.com - 0x42E94623.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Upgrade from buster to beowulf, runlevels are goofed

2021-03-21 Thread Antony Stone
On Sunday 21 March 2021 at 10:57:46, Erich Minderlein via Dng wrote:

> In the times of SuSE 7.0 to 7.3 I used runlevels to control a server with
> attached thin clients. The users on the system got a wall message and had
> to save their work. After a few minutes the runlevel was reduced from 5 to
> 3.

That's a long time ago.

> Now I find that the runlevels are identical from 2 to 5 as opposed to the
> old times, when they were substantially differentiated. (root only, +local
> multi-user, +network, +Xserver) Is this a heritage of the debian
> distribution crippled by the poeystemd?

No, Debian has had identical runlevels 2-5 for many releases, nothing to do 
with systemd.

> Can I obtain a devuan different more clever system with update-rc.d ?

I'm not quite sure what you're looking for - I've never tried Debian Buster, 
but Devuan Beowulf works fine for me, and I happened yesterday to have to 
install a sysvinit startup file (for zoneminder, which no longer comes with one 
by default), which got installed using update-rc.d without any problem.

> https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification
> devuan (beowulf standard installation with some cruft maybe) as I have it
> on my notebooks does not conform to the LSB.

Devuan is based on Debian, and that project dropped LSB support in 2015:
https://wiki.debian.org/LSB

You can have LSB, or you can have Debian/Devuan, but it's not easy to have 
both.


Antony.

-- 
Wanted: telepath.   You know where to apply.

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Upgrade from buster to beowulf, runlevels are goofed

2021-03-21 Thread Erich Minderlein via Dng

Hi

Now I upgraded my other notebook from buster to beowulf.
No more debian systems chez moi.
I followed the advice from the website.
However, the upgrades of the notebooks were not smooth.

On the 2nd NB when I started the system after the dist-upgrade,
it went straight into the Xserver.
Only the xserver keyboard driver was lost in the process of upgrading.
Only the power button on the NB could save, no, delete the situation.
After changing /etc/rc2.d/S04lightdm to /etc/rc2.d/_S04lightdm
I could safely boot and do the missing work.

In the times of SuSE 7.0 to 7.3 I used runlevels to control a server with 
attached thin clients.
The users on the system got a wall message and had to save their work.
After a few minutes the runlevel was reduced from 5 to 3.
This stopped the x client on the server, while maintaining the network 
connection.
A backup was made, and when finished,
the runlevel was increased to 5 and the thin clients (with a blank screen) 
obtained their login screen automagically again.
It was extremely simple to accomplish.

Since the times of SuSE7.3, after with I switched to debian in 2003,
I did not observe the sysvinit/runlevels, there was no need to,
until I obtained the systemd message: A service required was not available at 
start.

Now I find that the runlevels are identical from 2 to 5 as opposed to the old 
times,
when they were substantially differentiated. (root only, +local multi-user, 
+network, +Xserver)
Is this a heritage of the debian distribution crippled by the poeystemd?

Can I obtain a devuan different more clever system with update-rc.d ?

https://debianforum.de/forum/viewtopic.php?t=173006

https://de.wikipedia.org/wiki/Runlevel#Beispiel_Linux
https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification
devuan (beowulf standard installation with some cruft maybe) as I have it on my 
notebooks
does not conform to the LSB.

Before filing a bug, I ask for the opinion here in the forum.

--
mit freundlichen Grüßen
with the beste regards

cordialement

Erich |\/|inderlei|\|
--
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng