chiark / gitweb /
var-lock: don't try to enable var-lock.mount if we don't install it
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Apr 2011 13:57:37 +0000 (15:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Apr 2011 13:57:37 +0000 (15:57 +0200)
Makefile.am
TODO

index 4e24480..160acfb 100644 (file)
@@ -274,7 +274,6 @@ dist_systemunit_DATA += \
        units/var-lock.mount
 endif
 
-
 nodist_systemunit_DATA = \
        units/getty@.service \
        units/serial-getty@.service \
@@ -1320,13 +1319,11 @@ install-data-hook:
                        fsck-root.service \
                        remount-rootfs.service \
                        var-run.mount \
-                       var-lock.mount \
                        media.mount && \
                $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
                $(LN_S) ../fsck-root.service fsck-root.service && \
                $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
                $(LN_S) ../var-run.mount var-run.mount && \
-               $(LN_S) ../var-lock.mount var-lock.mount && \
                $(LN_S) ../media.mount media.mount )
        ( cd $(DESTDIR)$(userunitdir) && \
                rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target sound.target && \
@@ -1474,6 +1471,12 @@ if TARGET_DEBIAN_OR_UBUNTU
                $(LN_S) multi-user.target runlevel5.target )
 endif
 
+if HAVE_SYSV_COMPAT
+       ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
+               rm -f var-lock.mount && \
+               $(LN_S) ../var-lock.mount var-lock.mount )
+endif
+
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
        --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
diff --git a/TODO b/TODO
index 45d7b4e..90d419d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,9 +3,15 @@ F15:
 * swap units that are activated by one name but shown in the kernel under another are semi-broken
 
 * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
+   https://bugzilla.redhat.com/show_bug.cgi?id=688661
 
 * NFS, networkmanager ordering issue (PENDING)
 
+* NM should pull in network.target (PENDING)
+  https://bugzilla.redhat.com/show_bug.cgi?id=692008
+
+* ntpd should pull in rtc-set.target. (PENDING)
+
 * add fstab fields to add wait timeouts, change Wants to Requires by local-fs.target
 
 * hook emergency.target into local-fs.target in some way as OnFailure with isolate
@@ -15,8 +21,6 @@ F15:
 * 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown
     (path: after installing inotify watches, recheck file again to fix race)
 
-* NM should pull in network.target, ntpd should pull in rtc-set.target.
-
 * bluetooth should be possible to disable
 
 * fix alsa mixer restore to not print error when no config is stored