summaryrefslogtreecommitdiff
path: root/src/timedate
Commit message (Collapse)AuthorAge
* timedated: remove left-over distribution specific codeKay Sievers2013-01-09
|
* build-sys: drop all distribution specfic checksLennart Poettering2013-01-04
| | | | Yay, we now have a completely generic systemd. No distribution specific checks anymore!
* core: drop support for old per-distro configuration files for console, ↵Lennart Poettering2013-01-04
| | | | | | hostname, locale, timezone This simplifies the upstream system code quite a bit. If downstream distributions want to maintain compatibility with their old configuration files, they are welcome to do so, but need to maintain this as patches downstream. The burden needs to be on the distributions to maintain differences here. Our suggestion however is to just convert the old configuration files on upgrade, as multiple distributions already do.
* polkit: add "imply" rules to a number of polkit actionsLennart Poettering2012-12-31
|
* timedated: do not incorrectly close non-opened dbus connectionShawn Landden2012-12-03
| | | | | | | | | | Fix the fallowing error when no system dbus available: Failed to get system D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory process 14920: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2889. This is normally a bug in some application using the D-Bus library. process 14920: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2776. This is normally a bug in some application using the D-Bus library.
* timedatectl: improve english language DST change texts a bitLennart Poettering2012-11-23
|
* timedatectl: show both current actual timezone name and UTC distance in ↵Lennart Poettering2012-11-23
| | | | TImezone field
* timedatctl: bring manual strftime in sync with format_timestamp()Lennart Poettering2012-11-23
|
* timedatectl: replace ",' with ':'Kay Sievers2012-11-22
|
* timedatectl: shorten output to print single < 80 char lineKay Sievers2012-11-22
|
* timedatectl: break line to not exceed 80 columnsZbigniew Jędrzejewski-Szmek2012-11-14
|
* enable localization for common *ctl commandsDave Reisner2012-11-12
|
* timedatectl: properly print 30 minutes DST transitionsKay Sievers2012-11-11
|
* timedatectl: show "DST active: n/a" if no DST data is availableKay Sievers2012-11-02
|
* timedatectl: explain everything nobody wants to know about DSTKay Sievers2012-11-02
|
* set: introduce strv_sort()Lennart Poettering2012-10-19
|
* timedatectl,hostnamectl: rework --help textLennart Poettering2012-10-19
|
* timedatectl: rename --fix-system to --adjust-system-clockLennart Poettering2012-10-17
| | | | Quite long to read but hopefully less misleading.
* timedatectl: ensure n_zones is initializedDave Reisner2012-10-17
|
* timedatectl: properly initialize struct before decoding bus messagesLennart Poettering2012-10-17
|
* timedatectl: introduce new command line client for timedatedLennart Poettering2012-10-17
| | | | | | Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings.
* log: introduce a macro to format message idZbigniew Jędrzejewski-Szmek2012-10-13
| | | | | | | The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places.
* timedated: /etc/sysconfig/clock is dead on Fedora, remove itLennart Poettering2012-09-20
|
* timedated: unregister the right bus serviceLennart Poettering2012-09-19
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=858771
* hwclock: always set the kernel's timezoneKay Sievers2012-09-17
| | | | | | | | | | | Properly tell the kernel at bootup, and any later time zone changes, the actual system time zone. Things like the kernel's FAT filesystem driver needs the actual time zone to calculate the proper local time to use for the on-disk time stamps. https://bugzilla.redhat.com/show_bug.cgi?id=802198
* timedated: make /etc/timezone a Debian-only thingLennart Poettering2012-09-14
|
* timedate: assorted improvementsLennart Poettering2012-09-14
| | | | | | | | - Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT - Introduce symlink_atomic() after all, and use it - Use relative symlink for /etc/localtime
* timedated: gather timezone from /etc/localtime sym targetShawn Landden2012-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc/localtime -> /usr/share/zoneinfo/... or /etc/localtime -> ../usr/share/zoneinfo/... (note, ../usr is not the same if /etc is a symlink, as this isn't using canonicalize_file_name()) keep other method for now, consider dropping later. Supporting relative links here are problematic as timezones in /usr/share/zoneinfo are often themselves symlinks (and symlinks to symlinks), so this implamentation only supports absolute symlinks "/usr/share/zoneinfo/" and relative symlinks starting with "../usr/share/zoneinfo/" >From TODO (kay sievers): * 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
* journal: generate structured journal messages for a number of eventsLennart Poettering2012-09-03
|
* log.h: new log_oom() -> int -ENOMEM, use itShawn Landden2012-07-26
| | | | | | also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
* use "Out of memory." consistantly (or with "\n")Shawn Landden2012-07-25
| | | | | | | | glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
* timedate: uniq'ify ntp units listLennart Poettering2012-07-03
|
* timedated: replace ntp-units file with an ntp-units.d drop-in dirLennart Poettering2012-07-03
| | | | | | To be considered by timedated for NTP a package simply has to drop in /usr/lib/systemd/ntp-units.d/foobar.list and write one or more unit names into it. The first one listed is the one that is enabled.
* timedate: fix ntp-units commentLennart Poettering2012-07-02
|
* timedated: replace systemd-timedated-ntp.target logic with simpler schemeLennart Poettering2012-07-02
| | | | | | | | The previous systemd-timedated-ntp.target was suffering by the problem that NTP implementations enabled via the machanism could not be disabled the obvious way on the "systemctl disable" command line. Replace systemd-timedated-ntp.target by a list of implementations we try in turn. The list is encoded in $pkgdatadir/ntp-units.
* util: split-out hwclock.[ch]Kay Sievers2012-05-08
|
* timedated: introduce systemd-timedated-ntp.target which is controlled by ↵Lennart Poettering2012-04-25
| | | | | | | | | | | | | | | | timedated's NTP setting We shouldn't hardcode the name of the NTP implementation in the timedated mechanism, especially since Fedora currently switched from NTP to chrony. This patch introduces a new target that is enabled/disabled instead of the actual NTP implementation. The various NTP implementations should then add .wants/ symlinks to their services and BindTo back to the target, so that their implementations are started/stopped jointly with the target. https://bugzilla.redhat.com/show_bug.cgi?id=815748
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* timedate: don't fail if NTP is not installedLennart Poettering2012-02-15
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=790260
* logind: introduce CanReboot/CanPowerOff bus callsLennart Poettering2012-02-11
|
* login: move seat udev rules to login subdirKay Sievers2012-01-22
|
* dbus: more efficient implementation of propertiesMichal Schmidt2012-01-16
| | | | | | | | | | | | | | | | | The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
* build-sys: add stub makefiles to subdirsLennart Poettering2012-01-05
|
* timedated: move sources to subdirectoryKay Sievers2011-12-31