13.1 replaces the previous Yast system runlevel management with a
new systemd services management.
In 12.2, the NUT package (UPS management) placed upsd in the runlevel
table and made it possible to activate upsd for automatic running at system start.
But in 13.1 this is missing. When nut is installed, there is no upsd in Yast =>
System => Services Manager. It looks as if some systemd engineering is missing.
13.1 replaces the previous Yast system runlevel management with a
new systemd services management.
In 12.2, the NUT package (UPS management) placed upsd in the runlevel
table and made it possible to activate upsd for automatic running at
system start.
But in 13.1 this is missing. When nut is installed, there is no upsd in
Yast =>
System => Services Manager. It looks as if some systemd engineering is
missing.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
pinta:~ # chkconfig upsd on
pinta:~ # chkconfig --list | grep ups
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
upsd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
… rcupsd start to fire it up the service.
This is an unattended server. When power comes back on there is no-one to type a
command. Perhaps a Bash script linked to /usr/lib/systemd/system/multi-user.target.wants
could do the job, but I am a systemd novice and I hesitate to hack into the systemd setup.
You misunderstood me - the “rc” command was to merely start it up for the first time if you hadn’t started it up yet.
As you can see from the chkconfig --list, it has been enabled for levels 3 and 5, meaning it’s going to automatically startup at the next system reboot (without GUI the default init level is 3, with GUI it’s 5).
Sorry, I misunderstood. I restarted the box, and I see that upsd has
been automatically started.
It looks as if command ** chkconfig upsd on** followed by chkconfig --list | grep upsd
as a check is a complete workaround for the missing entry in the Yast Services Manager.
And it should be shown in YaST’s Services Manager.
But the version shipped with 13.1 had a bug in that it did not show sysvinit scripts (from /etc/init.d/).
This has been fixed already though. Have you installed all online updates?
Edit:
I just installed “nut” as a test, and the service is really not shown in YaST’s Services Manager as well here.
Seems to be another bug…
I just installed “nut” as a test, and the service is really not shown in YaST’s Services Manager as well here.
Seems to be another bug…
I’m also having difficulty getting a known fully operational 12.3 setup working with 13.1.
The upssched.conf CMDSCRIPT /usr/sbin/upssched-cmd
mechanism is not working, but that’s for another thread.
I am also seeing upsd in the Services Manager since using command chkconfig upsd on
But you have to configure it first (in /etc/ups/upsd.conf). Otherwise /etc/init.d/upsd only gives an error:
/etc/ups/ups.conf not configured, see /usr/share/doc/packages/nut/README.SUSE
And that’s the reason why YaST doesn’t show it, I think.
I am using a nut configuration which is fully operational in 12.3, so I don’t
think it’s a missing nut configuration which is affecting the Services Manager.