Bug 27928

Summary: systemd 248 complains about rc.d/init.d/script that don't have a systemd Unit file
Product: Mageia Reporter: Aurelien Oudelet <ouaurelien>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: Mageia 9   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd-249.1-1.mga9.src.rpm CVE:
Status comment:

Description Aurelien Oudelet 2020-12-26 14:53:06 CET
Some packages lacks a native systemd unit file.
Each boot on Mageia 8 onwards there are these messages:

"systemd-sysv-generator[480]: SysV service '/etc/rc.d/init.d/NAME SCRIPT'
lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robusts."

Theses are the following /etc/rc.d/init.d/ scripts:
/etc/rc.d/init.d/resolvconf
/etc/rc.d/init.d/network
/etc/rc.d/init.d/partmon
/etc/rc.d/init.d/virtualbox
/etc/rc.d/init.d/netconsole
/etc/rc.d/init.d/msec
/etc/rc.d/init.d/mandrake_firstime
/etc/rc.d/init.d/mandrake_everytime
/etc/rc.d/init.d/network-auth
/etc/rc.d/init.d/network-up

Some of them are legacy network scripts, virtualbox, msec,...

I think we should do a fix on this. I wonder if upstream systemd devs will one day suppress this generator.
Comment 1 Aurelien Oudelet 2020-12-27 11:57:58 CET
systemd is an other no one package.
Assigning globally.
Aurelien Oudelet 2020-12-27 11:58:16 CET

Assignee: bugsquad => pkg-bugs

Comment 2 Thomas Backlund 2021-01-03 22:32:13 CET
Packages should be fixed to provide native systemd files, but we wont rush them for Mageia 8.

I've disabled the warning in systemd-246.9-2.mga8 that is currently building.

We'll try ro get it done for Mageia 9

Target Milestone: Mageia 8 => Mageia 9

Comment 3 Aurelien Oudelet 2021-01-08 17:47:34 CET
(In reply to Thomas Backlund from comment #2)
> Packages should be fixed to provide native systemd files, but we wont rush
> them for Mageia 8.
> 
> I've disabled the warning in systemd-246.9-2.mga8 that is currently building.
> 
> We'll try ro get it done for Mageia 9

Yeah, these are silenced now.
Comment 4 Aurelien Oudelet 2021-05-19 11:33:06 CEST
In Cauldron, they are not silenced, which is the correct behaviour.

On my system:

systemd-sysv-generator[513]: SysV service

/etc/rc.d/init.d/numlock
/etc/rc.d/init.d/pptp
/etc/rc.d/init.d/partmon
/etc/rc.d/init.d/mandrake_firstime
/etc/rc.d/init.d/netconsole
/etc/rc.d/init.d/msec
/etc/rc.d/init.d/mandrake_everytime
/etc/rc.d/init.d/resolvconf
/etc/rc.d/init.d/network-auth
/etc/rc.d/init.d/network
/etc/rc.d/init.d/network-up

Virtualbox has been switched.

According to Bug 27112, we can add postfix package.
We should audit other servers packages like Apache, mariadb,...

Summary: systemd 246.x onwards complains about rc.d/init.d/script that don't have a systemd Unit file => systemd 248 complains about rc.d/init.d/script that don't have a systemd Unit file
Source RPM: systemd-246.9-1.mga8.src.rpm => systemd-248.2-1.mga9.src.rpm

Aurelien Oudelet 2021-07-23 22:11:20 CEST

Source RPM: systemd-248.2-1.mga9.src.rpm => systemd-249.1-1.mga9.src.rpm