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 01b5edcd220ebd9a78cfbba41b42153b01e734e7..c51bfbe70d84e33b09c2b9698eef1f7ad131fdf1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -25,6 +25,15 @@ Bugfixes:
 
 Features:
 
 
 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)
 * 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 fa3b00967080fdf0a00b79a78c5f3a44f736e764..c1df5e6f433b95f92390c41083692b95bfbd70f7 100644 (file)
                 is an early-boot service that applies mount options
                 listed in
                 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
                 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>
         </refsect1>
 
         <refsect1>
index cd827ca458ddbcbd16a6ce6c5e0517f71addd5fd..f8a54000552476fad60d3cbbec71854765069ea6 100644 (file)
         "  </method>\n"                                                 \
         "  <method name=\"Subscribe\"/>\n"                              \
         "  <method name=\"Unsubscribe\"/>\n"                            \
         "  </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"      \
         "  <method name=\"CreateSnapshot\">\n"                          \
         "   <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"         \
         "   <arg name=\"cleanup\" type=\"b\" direction=\"in\"/>\n"      \
index ef68e506e5097da4628acad62cb5af547a800042..8b3aaeb32cfd1d4d524d4a0eb4d8b144eb8a9ecd 100644 (file)
@@ -79,9 +79,10 @@ int main(int argc, char *argv[]) {
                 int k;
                 char *s;
 
                 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) &&
                 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);
                         continue;
 
                 log_debug("Remounting %s", me->mnt_dir);