Browse Source

Minor comment/doc fixes

Davin McCall 1 year ago
parent
commit
edf52ee4e5
3 changed files with 4 additions and 4 deletions
  1. 2 1
      BUILD
  2. 0 1
      doc/manpages/dinit-service.5.m4
  3. 2 2
      src/dinit.cc

+ 2 - 1
BUILD

@@ -147,7 +147,8 @@ path for normal users. Consider making a symbolic link to /usr/sbin/dinit.
 Special note for GCC/Libstdc++
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
-(Note: the issue discussed here has apparently been resolved in recent GCC versions).
+(Note: the issue discussed here has apparently been resolved in recent GCC versions, with the fix
+backported to GCC 6.x series and newer).
 
 GCC 5.x onwards includes a "dual ABI" in its standard library implementation, aka Libstdc++.
 Compiling against the newer (C++11 and later) ABI can be achieved by adding

+ 0 - 1
doc/manpages/dinit-service.5.m4

@@ -482,7 +482,6 @@ This prompts Dinit to attempt to create its control socket, if it has not alread
 and similarly log boot time to the system \fBwtmp\fR(5) database (if supported) if not yet done.
 This option may be specified on multiple services, which may be useful if the wtmp database becomes
 writable at a different stage than the control socket location becomes writable, for example.
-It
 .TP
 \fBstarts\-log\fR
 This service starts the system log daemon.

+ 2 - 2
src/dinit.cc

@@ -574,8 +574,8 @@ int dinit_main(int argc, char **argv)
         log(loglevel_t::NOTICE, false, "Starting system");
     }
     
-    // Only try to set up the external log now if we aren't the system init. (If we are the
-    // system init, wait until the log service starts).
+    // Only try to set up the external log (via syslog) now if we aren't the system init. (If we
+    // are the system init, wait until the log service starts, unless a logfile has been specified).
     if (!am_system_init || log_specified) setup_external_log();
 
     if (env_file != nullptr) {