[Mageia-dev] usrmove fallout: sysvinit services rising from the dead

Colin Guthrie mageia at colin.guthr.ie
Mon Jul 23 11:17:57 CEST 2012


Hi,

Due to some moves, it seems that some services that were previously
masked in packages are no longer masked.

This is due to relative symlinks in packages.

In actual fact such symlinks might cause other issues, so we'll have to
have a look at that.

I wonder if we can tweak whatever RPM macro-fu that converts symlinks to
relative to be aware of /dev/* links and not make them relative? It
would solve this particular case but perhaps not more generally.

In the mean time, just cd to /usr/lib/systemd/system and look for any
broken symlinks to /dev/null and recreate them as needed.

For me:

cd /usr/lib/systemd/system
for l in netfs.service memcached.service sound.service alsa.service
portreserve.service; do ln -snf /dev/null $l; done


Note that just rebuilding the packages containing these will not be
enough until the _unitpath is changed.


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