commit b45719fbdff635b20723d52237c94c2c0acd475e
Author: Jacek Konieczny <[email protected]>
Date: Fri Jan 10 10:00:28 2014 +0100
Do not install invalid [email protected] unit
The problem is described here:
https://bugs.mageia.org/show_bug.cgi?id=10931
systemd.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index c880546..24f3360 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -833,7 +833,6 @@ if [ $1 -eq 1 ]; then
# Enable the services we install by default.
/bin/systemctl enable \
- [email protected] \
network.service \
remote-fs.target \
systemd-readahead-replay.service \
@@ -844,7 +843,6 @@ fi
%preun units
if [ $1 -eq 0 ] ; then
/bin/systemctl disable \
- [email protected] \
network.service \
remote-fs.target \
systemd-readahead-replay.service \
@@ -887,6 +885,12 @@ if [ -f /etc/sysconfig/rpm ]; then
fi
fi
+%triggerpostun units -- systemd-units < 1:208-9
+# remove buggy symlink
+if [ -L /etc/systemd/system/getty.target.wants/[email protected] ] ; then
+ rm -f /etc/systemd/system/getty.target.wants/[email protected] || :
+fi
+
%post inetd
%systemd_reload
# Do not change it to restart, we only want to start new services here
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/36c219eca8f35019861712472aaa2243a17cc868
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit