From Mageia wiki
Jump to: navigation, search
this page is a draft.
It requires improvements. If you want to improve it, simply log in and click on the Edit tab.

Please remove this {{Draft}}template, when you're sure the page is complete and correct.


View the other draft pages, or other pages to improve and maintain.

Systemd Migration

See https://fedoraproject.org/wiki/Systemd for more info on Systemd in general.

Below table contains a list of packages which have /var/run or /var/lock as part of their .spec file. To complete the transition to a pure Systemd based system for Mageia 3, these packages have to be updated. Mageia 3 can't be released before all these packages have been addressed as otherwise ...Colin... might/will occur. See below the table for general guidelines to make the necessary changes.

NOTE: This table was created on 2012-08-15. An up to date list of packages needing love and attention still can be had by issueing the following command on an updated Cauldron system:

urpmf /var/{run,lock} | grep ":/var" | cut -d : -f 1 | sort | uniq
Package Status Fixed by Date
abrt
apache-cassandra-app
bind
bip
c-icap-server
clamav
consolekit
couchdb-bin
courier-authdaemon
cups
cyrus-sasl
dbus
ddclient Done Eatdirt 3.8.1-3
dhcp-server
dirmngr
dovecot
dspam
fail2ban
fcron
filesystem
firebird-server-common
freeradius
gdm
gearmand
gkrellm
glusterfs-server
gnokii
hplip
icecast
initscripts
inn
iptraf
ircd-hybrid
jetty
kolab-server Done spuhler January 8, 2013
kolab-saslauthd Done spuhler January 8, 2013
leafnode
libvirt-utils
lirc
mariadb-common
motion Done Eatdirt 3.2.12-0.20120717git.1
mpd
mtink
munin
nagios
networkmanager
nrpe
nsca
nss-pam-ldapd
nut
openldap-servers
pacemaker
pdns
php-fpm
plymouth
policykit
powerman
ppp
prelude-manager
proftpd
prosody
puppet
quagga
rabbitmq-server
radvd
rdnssd
resource-agents
samba-common
siproxd
smtp-gated
snort
sphinx
spread
ss5
stompserver
stunnel
system-config-printer-udev
tinyproxy
util-vserver
uucp
uuidd
varnish
virtualbox
vtun
xen
zabbix
zabbix-agent
ziproxy


What to change? ...Colin...

Add an additional source to your .spec file: %{name}-tmpfiles.conf

This file should contain enough information for systemd to create the directory for you. Checkout: [1]

If your .spec file creates %{buildroot}/var/run/%{name}, you can replace this with %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf

Add to your %post section the following: systemd-tmpfiles --create %{name}.conf ||:

If you ship a systemd.service file, ensure that it no longer references /var/run or /var/lock but just /run or /lock instead.

...Colin... Can we remove the below? =

NOTE: The table below is automatically generated from a Google Docs document. The following command is used with a CSV export from Google Docs:

awk -F, '{ print "|-\n|["$2" "$1"]\n|"$3"\n|"$4"\n|"$5"\n|-" }'
Package Checked Status Checked By
abrt Yes Has LSB Pascal
acpid Yes Native Colin
afbackup Yes Has LSB Colin
ajaxterm Yes Has LSB Colin
amavisd-new Yes Has LSB Colin
am-utils Yes Has LSB Colin
apache Yes Native Colin
apcupsd No Has LSB Pascal's Auto Check
apmd Yes Has LSB Colin
arpwatch Yes Has LSB Pascal's Auto Check
at Yes Native Colin
atop No Has LSB Pascal's Auto Check
audit Yes Has LSB Pascal's Auto Check
autofs Yes Native Colin
autoscan Yes Has LSB Pascal's Auto Check
avahi Yes Has LSB Pascal's Auto Check
backuppc Yes Native Guillaume
bacula No Pascal's Auto Check
bind Yes Native Colin
bip Yes Native Colin
boinc-client No Pascal's Auto Check
bootparamd No Has LSB Pascal's Auto Check
bpalogin No Broken Pascal's Auto Check
canna No Broken Pascal's Auto Check
cherokee No
c-icap No
clamav No
cluster No
cluster-glue No
clusterscripts No Broken Pascal's Auto Check
corosync No
couchdb No
courier-authlib No
courier-imap No
cpqarrayd No Broken Pascal's Auto Check
cpudyn No
cpufreq No
cpufreqd No
cronie Yes Native Colin
ctdb No
cups Yes Native Guillaume
cyrus-imapd No
cyrus-sasl Yes Native Guillaume + Colin
dahdi No
dansguardian No
dbus Yes Native Colin
ddclient No
deadwood No
dhcp Yes Native Colin
dhcp-forwarder Yes Native Guillaume + Colin
distcache No
dnotify No Broken Pascal's Auto Check
dns2tcp No
dnsmasq No
dovecot No
drakxtools No
drbd-utils No
dropbear No Broken Pascal's Auto Check
dspam Yes Native Colin
ebtables No Broken Pascal's Auto Check
eee-control No
fail2ban No
fcron No Broken Pascal's Auto Check
fetchmail Yes Has LSB alien
fglrx No
firebird No
firestarter No Broken Pascal's Auto Check
freeipmi Yes Native Guillaume + Colin
freepops No Broken Pascal's Auto Check
freeradius Yes Native Guillaume
fusioninventory-agent Yes Native Guillaume
g15daemon No
ganglia No Broken Pascal's Auto Check
gearmand No
gkrellm Yes Native Guillaume
glibc Yes Native Guillaume
glusterfs No
gnokii Yes Native Guillaume
gpm Yes Native Colin
hal No
halevt No
haveged Yes Native Guillaume
hddtemp No
heartbeat No
heimdal No
hostapd Yes Native Colin
hsqldb No
hylafax No Broken Pascal's Auto Check
ice No
icecast No
icecream Yes Has LSB Colin
ices Yes Native Guillaume
iguanair No
imspector No
incron No
initscripts Yes Has LSB Colin
inn No
invictus-firewall No
iodine No
iplog No
ipsec-tools No
ip-sentinel No Broken Pascal's Auto Check
iptables Yes Native Colin
ipvsadm No Broken Pascal's Auto Check
ircd-hybrid No Broken Pascal's Auto Check
irda-utils No
irqbalance No
iscsitarget No
isdn4k-utils No Broken Pascal's Auto Check
jchkmail No
jetty No Broken Pascal's Auto Check
keepalived No Broken Pascal's Auto Check
knock No
kolab No Broken Pascal's Auto Check
krb5 No
laptop-mode-tools No
lcdproc No Broken Pascal's Auto Check
libcgroup No
libvirt Yes Native Guillaume
lighttpd Yes Native Guillaume
lirc No
lm_sensors Yes Native Guillaume + Colin
lvm2 No
mailman Yes Native Colin
mandi No
maradns Yes Native Remmy
mariadb Yes Native Colin
mdadm Yes Broken Colin
mediatomb No
memcached No
microcode_ctl No
mindi No
mldonkey No
mongodb No Broken Pascal's Auto Check
monit No
mpd Yes Native Colin
mrepo Yes Has LSB Pascal
msec No
mtink No
mt-st No
multipath-tools No
mumble No
munin Yes Native Guillaume
mythtv Yes Native Colin
nagios No
nas No
ndisc6 No
netcf No
net-snmp Yes Native Guillaume
networkmanager Yes Native Colin
nfs-utils No
nginx Yes Native Guillaume
nrpe No
nss-pam-ldapd Yes Native Guillaume
ntop Yes Native Guillaume
ntp Yes Native Guillaume
numlock No
nut No
nvidia-cuda-toolkit No Broken Pascal's Auto Check
oar No
ocfs2-tools No
ocsigenserver No
oki4linux No
omniorb No Broken Pascal's Auto Check
openafs No
openais No
openipmi No
open-iscsi No
openldap No
openntpd No
openslp No
openssh Yes Native Colin
openswan No
openvas-scanner Yes Native Guillaume + Colin
openvpn Yes Native Colin
pacemaker No
partimage No
pcsc-lite Yes Native Colin
pdns No
perl-DJabberd No
perl-FCGI-Daemon No
perl-kolab No Broken Pascal's Auto Check
php No
portreserve No
postfix No
postgresql8.4 No
postgresql9.0 No
postgresql9.1 No
postgrey No
powerman No
powernowd Yes Has LSB Eatdirt
pptp-linux No
prboom No Broken Pascal's Auto Check
preload No
prelude-lml No Broken Pascal's Auto Check
prelude-manager No
privoxy No
proftpd Yes Has LSB Colin
prosody No
puppet No
pure-ftpd Yes Has LSB Colin
pxe No
python-coherence No
qemu No
quagga No Broken Pascal's Auto Check
quake2 No Broken Pascal's Auto Check
rabbitmq-server No
radvd No
redis No Broken Pascal's Auto Check
resolvconf No
routed No Broken Pascal's Auto Check
rpcbind Yes Native Guillaume
rp-pppoe No Broken Pascal's Auto Check
rrdcollect No Broken Pascal's Auto Check
rrdtool No
rsyslog Yes Native Colin
samba No
sendmail No
shorewall Yes Has LSB Colin
siproxd Yes Has LSB alien
smartmontools Yes Native Colin
smtp-gated No
snort No
sound-scripts Yes Native Colin
spamassassin Yes Native Guillaume + Colin
spread No Broken Pascal's Auto Check
squid No
ss5 No
sshutout Yes Has LSB Eatdirt
sssd No
stompserver No
suricata No Broken Pascal's Auto Check
sympa No
syslog-ng Yes Native Guillaume
sysvinit-legacy Yes Native Colin
tinyproxy No
tomcat No
tomcat5 No
tomcat6 No
tomoyo-tools No
tor Yes Native Colin
torque No Broken Pascal's Auto Check
tvheadend No
ucarp No
udftools No Broken Pascal's Auto Check
unfs3 No Broken Pascal's Auto Check
unimrcp No Broken Pascal's Auto Check
uptimed No
usermin No
usermin-webmail No
ushare No Broken Pascal's Auto Check
util-linux No
util-vserver No Broken Pascal's Auto Check
varnish No
vdr No
vdradmin-am No
virtualbox No
vnc-server-common No
vnstat No
vsftpd No
vtun No Broken Pascal's Auto Check
watchdog No Broken Pascal's Auto Check
webmin No
wicd No
wine No
xen Yes Has LSB alien
xinetd No
xymon No Broken Pascal's Auto Check
yamagi-quake2 No
ypbind Yes Has LSB Pascal
ypserv Yes Has LSB Pascal
yum No Broken Pascal's Auto Check
zarafa No
ziproxy Yes Has LSB Pascal
zoneminder Yes Native Colin