[Mageia-dev] minor systemd-related issues

Colin Guthrie mageia at colin.guthr.ie
Thu Apr 12 01:39:51 CEST 2012


'Twas brillig, and David Walser at 11/04/12 19:09 did gyre and gimble:
> There are a few things I noticed from a new upgrade test I just did
> with a server VM.
> 
> In systemctl --all I have two things failed for unknown reasons: -
> dev-sda2.swap, even though the swap partition looks to be mounted

I've noticed this too with a couple of other users systems. Not quite
sure what causes it - likely udev.

> - fedora-loadmodules.service, even though the modules look to be
> loaded

Yeah this does happen from time to time. It's typically /etc/rc.modules
that actually fails. Again it really depends on the contents of
modprobe.preload.d folder.

> systemctl status doesn't really give any information and I don't see
> a way to debug this.

No neither would likely give you any hints in this case.


> During the upgrade (done using the installer), I told the cups and
> named services not to run, but they are enabled.

This is likely due to that simply not working yet (drakxservers is not
systemd aware yet). There are bugs open for this.

> httpd is running, but it is using the LSB init script instead of
> systemd units.  I believe Colin's intention was to have
> apache-mpm-prefork install a symlink to httpd-prefork.service called
> httpd.service, but this symlink does not exist.

Are you sure? The %post script should certainly have done that....

[colin at jimmy ~]$ rpm -q --scripts apache-mpm-prefork
postinstall scriptlet (using /bin/sh):
ln -s /lib/systemd/system/httpd-prefork.service
/etc/systemd/system/httpd.service 2>/dev/null || :

I guess the only possible explanation I can think of here is that
somehow, apache-mpm-prefork was upgraded before systemd was installed!
Perhaps we need to make sure system is installed early in the process?

Col



-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list