chiark / gitweb /
remount-fs: also remount /usr according to fstab
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Jun 2012 14:14:01 +0000 (16:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Jun 2012 14:14:43 +0000 (16:14 +0200)
TODO
man/systemd-remount-fs.service.xml
src/core/dbus-manager.c
src/remount-fs/remount-fs.c

diff --git a/TODO b/TODO
index 01b5edc..c51bfbe 100644 (file)
--- a/TODO
+++ b/TODO
@@ -25,6 +25,15 @@ Bugfixes:
 
 Features:
 
+* document that journal data is primarily ASCII, UTF-8 where necessary and binary only where nothing else makes sense.
+
+* on reload/reexec: serialize NInstalledJobs properly
+
+* Document:
+        - PID 1 D-Bus API
+        - Update Syslog Interface docs
+        - Journal C API manual pages
+
 * logind: export a bool property that tells user whether a
   suspend/shutdown is currently scheduled, i.e. where are between
   PrepareForSuspend(true) and PrepareForSuspend(false)
index fa3b009..c1df5e6 100644 (file)
                 is an early-boot service that applies mount options
                 listed in
                 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
-                to the root file system and the kernel API virtual
-                file systems. This is required so that the mount
-                options of these file systems -- which are pre-mounted
-                by the kernel, the initial RAM disk or system manager
-                code -- are updated to those listed in
-                <filename>/etc/fstab</filename>. This service ignores
-                normal file systems and only changes the root file
-                system (i.e. <filename>/</filename>) and the virtual
-                kernel API file systems such as
-                <filename>/proc</filename>, <filename>/sys</filename>
-                or <filename>/dev/</filename>. This service executes
-                no operation if <filename>/etc/fstab</filename> does
-                not exist or lists no entries for the root file system
-                or the kernel API VFS.</para>
+                to the root file system, the <filename>/usr</filename>
+                file system and the kernel API virtual file
+                systems. This is required so that the mount options of
+                these file systems -- which are pre-mounted by the
+                kernel, the initial RAM disk, container environments
+                or system manager code -- are updated to those listed
+                in <filename>/etc/fstab</filename>. This service
+                ignores normal file systems and only changes the root
+                file system (i.e. <filename>/</filename>),
+                <filename>/usr</filename> and the virtual kernel API
+                file systems such as <filename>/proc</filename>,
+                <filename>/sys</filename> or
+                <filename>/dev/</filename>. This service executes no
+                operation if <filename>/etc/fstab</filename> does not
+                exist or lists no entries for the mentioned file systems.</para>
         </refsect1>
 
         <refsect1>
index cd827ca..f8a5400 100644 (file)
         "  </method>\n"                                                 \
         "  <method name=\"Subscribe\"/>\n"                              \
         "  <method name=\"Unsubscribe\"/>\n"                            \
-        "  <method name=\"Dump\"/>\n"                                   \
+        "  <method name=\"Dump\">\n"                                    \
+        "   <arg name=\"dump\" type=\"s\" direction=\"out\"/>\n"        \
+        "  </method>\n"                                                 \
         "  <method name=\"CreateSnapshot\">\n"                          \
         "   <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"         \
         "   <arg name=\"cleanup\" type=\"b\" direction=\"in\"/>\n"      \
index ef68e50..8b3aaeb 100644 (file)
@@ -79,9 +79,10 @@ int main(int argc, char *argv[]) {
                 int k;
                 char *s;
 
-                /* Remount the root fs and all API VFS */
+                /* Remount the root fs, /usr and all API VFS */
                 if (!mount_point_is_api(me->mnt_dir) &&
-                    !path_equal(me->mnt_dir, "/"))
+                    !path_equal(me->mnt_dir, "/") &&
+                    !path_equal(me->mnt_dir, "/usr"))
                         continue;
 
                 log_debug("Remounting %s", me->mnt_dir);