Features:
+* replace BindTo= by BindsTo=, but keep old name for compat
+
* switch-root: sockets need relabelling
* switch-root: handle journald restart
* systemd-analyze post-boot is broken for initrd
-* journal: s/permanent/persistant
-
* man: clarify that time-sync.target is not only sysv compat but also useful otherwise. Same for similar targets
* journalctl should complain if run with uid != 0 and no persistant logs exist
<listitem><para>Controls where to
store journal data. One of
<literal>volatile</literal>,
- <literal>permanent</literal>,
+ <literal>persistent</literal>,
<literal>auto</literal> and
<literal>none</literal>. If
<literal>volatile</literal> journal
<filename>/run/log/journal</filename>
hierarchy (which is created if
needed). If
- <literal>permanent</literal> data will
+ <literal>persistent</literal> data will
be stored preferably on disk,
i.e. below the
<filename>/var/log/journal</filename>
early boot and if the disk is not
writable. <literal>auto</literal> is
similar to
- <literal>permanent</literal> but the
+ <literal>persistent</literal> but the
directory
<filename>/var/log/journal</filename>
is not created if needed, so that its
static const char* const storage_table[] = {
[STORAGE_AUTO] = "auto",
[STORAGE_VOLATILE] = "volatile",
- [STORAGE_PERMANENT] = "permanent",
+ [STORAGE_PERSISTENT] = "persistent",
[STORAGE_NONE] = "none"
};
sd_id128_to_string(machine, ids);
if (!s->system_journal &&
- (s->storage == STORAGE_PERMANENT ||
+ (s->storage == STORAGE_PERSISTENT ||
s->storage == STORAGE_AUTO)) {
/* If in auto mode: first try to create the machine
* path, but not the prefix.
*
- * If in permanent mode: create /var/log/journal and
+ * If in persistent mode: create /var/log/journal and
* the machine path */
- if (s->storage & STORAGE_PERMANENT)
+ if (s->storage & STORAGE_PERSISTENT)
(void) mkdir("/var/log/journal/", 0755);
fn = strappend("/var/log/journal/", ids);
assert(s);
if (s->storage != STORAGE_AUTO &&
- s->storage != STORAGE_PERMANENT)
+ s->storage != STORAGE_PERSISTENT)
return 0;
if (!s->runtime_journal)
typedef enum Storage {
STORAGE_AUTO,
STORAGE_VOLATILE,
- STORAGE_PERMANENT,
+ STORAGE_PERSISTENT,
STORAGE_NONE,
_STORAGE_MAX,
_STORAGE_INVALID = -1