From 050a99bd7be44992292aa752bcf0b13c044896b6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 14 Sep 2012 20:45:37 +0200 Subject: [PATCH] man: update localtime(5) a bit --- TODO | 30 +----------------------------- man/localtime.xml | 21 ++++++++++++--------- man/systemd-timedated.service.xml | 2 +- 3 files changed, 14 insertions(+), 39 deletions(-) diff --git a/TODO b/TODO index 78da71791..d3a3a4d44 100644 --- a/TODO +++ b/TODO @@ -1,22 +1,12 @@ Bugfixes: * always open() tty6 to keep X from using it; move debug shell to tty6 -* Fedora: rename /usr/lib/systemd/system-preset/99-default.preset to 90-default.preset - * there is nothing to warn about here :) $ systemctl stop systemd-udevd.service systemd-udevd-kernel.socket systemd-udevd-control.socket Warning: Stopping systemd-udevd.service, but it can still be activated by: systemd-udevd-control.socket systemd-udevd-kernel.socket -* kill /etc/timezone handling entirely? What does it provide? - - /etc/localtime carries the same information already: - $ ls -l /etc/localtime; cat /etc/timezone - lrwxrwxrwx 1 root root 33 Jul 27 09:55 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin - Europe/Berlin - - systemd enforces /usr to be available at bootup, so we can - enforce the use of the symlink - * check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar * swap units that are activated by one name but shown in the kernel under another are semi-broken @@ -63,14 +53,9 @@ Features: * do shutdown audit/utmp msgs inside of PID 1, get rid of systemd-update-utmp-runlevel -* make use of macros like this: - - #define _cleanup_free_ __attribute__((cleanup(freep))) - #define _cleanup_fclose_ __attribute__((cleanup(fclosep))) - * make timer units go away after they elapsed -+ refuse automount triggers when automount is queued for stop, much like we refuse socket triggers when sockets are queued for stop +* refuse automount triggers when automount is queued for stop, much like we refuse socket triggers when sockets are queued for stop * perfomance messages for selinux are gone from debug log? @@ -88,8 +73,6 @@ Features: * Document word splitting syntax for ExecStart= and friends -* merge: github.com/systemd/python-systemd - * when writing journal entries order field items by their address to improve speed on rotating media * create /sbin/init symlinks from the build system @@ -104,14 +87,10 @@ Features: * json: properly serialize multiple fields with the same name per entry -* journald: add option to choose between "split up nothing", "split up login user journals", "split up all user journals" - * journal live copy, based on libneon (client) and libmicrohttpd * document in wiki json serialization -* python-journal merge - * system-wide seccomp filter * securityfs: don't mount in container @@ -197,8 +176,6 @@ Features: * logind: wakelock/opportunistic suspend support -* switch-root: sockets need relabelling - * systemd-analyze post-boot is broken for initrd * man: clarify that time-sync.target is not only sysv compat but also useful otherwise. Same for similar targets @@ -390,9 +367,6 @@ Features: * when an instanced service exits, remove its parent cgroup too if possible. -* if we can not get user quota for tmpfs, mount a separate tmpfs instance - for every user in /run/user/$USER with a configured maximum size - * default to actual 32bit PIDs, via /proc/sys/kernel/pid_max * be able to specify a forced restart of service A where service B depends on, in case B @@ -512,8 +486,6 @@ Features: - bluetoothd (/var/run/sdp! @/org/bluez/audio!) - distccd -* auditd service files - * fingerprint.target, wireless.target, gps.target, netdevice.target * io priority during initialization diff --git a/man/localtime.xml b/man/localtime.xml index 09df161ba..c0e87bf78 100644 --- a/man/localtime.xml +++ b/man/localtime.xml @@ -55,7 +55,7 @@ - /etc/localtime -> /usr/share/zoneinfo/… + /etc/localtime -> ../usr/share/zoneinfo/… @@ -64,17 +64,20 @@ The /etc/localtime file configures the system-wide time zone of the local system that is used by applications for presentation - to the user. It should be an absolute symbolic link - with a destination of /usr/share/zoneinfo/, - fallowed by a time zone identifier such as - Europe/Berlin or Etc/UTC. - The resulting link should point to the corresponding binary + to the user. It should be an absolute or relative + symbolic link pointing to + /usr/share/zoneinfo/, followed by + a time zone identifier such as + Europe/Berlin or + Etc/UTC. The resulting link should + lead to the corresponding binary tzfile5 time zone data for the configured time zone. - As the time zone identifier is extracted from the name of - the target of /etc/localtime this file may - not be a normal file or hardlink. + As the time zone identifier is extracted from + the symlink target name of + /etc/localtime this file may not + be a normal file or hardlink. The time zone may be overridden for individual programs by using the TZ environment variable. See diff --git a/man/systemd-timedated.service.xml b/man/systemd-timedated.service.xml index 56450482d..47e762284 100644 --- a/man/systemd-timedated.service.xml +++ b/man/systemd-timedated.service.xml @@ -75,7 +75,7 @@ See Also systemd1, - timezone5, + localtime5, hwclock8 -- 2.30.2