Find a file
наб ef658a63f8 parse_timestamp: accept RFC3339-style timezone and %FT%R[:%S[.%N]]
We basically parsed the RFC3339 format already, except with a space:
      NOTE: ISO 8601 defines date and time separated by "T".
      Applications using this syntax may choose, for the sake of
      readability, to specify a full-date and full-time separated by
      (say) a space character.
so now we handle both
  2012-11-23 11:12:13.456
  2012-11-23T11:12:13.456
as equivalent.

Parse directly-suffixed Z and +05:30 timezones as well:
  2012-11-23T11:12:13.456Z
  2012-11-23T11:12:13.456+02:00
as they're both defined by RFC3339.

We do /not/ allow z or t; the RFC says
      NOTE: Per [ABNF] and ISO8601, the "T" and "Z" characters in this
      syntax may alternatively be lower case "t" or "z" respectively.

      This date/time format may be used in some environments or contexts
      that distinguish between the upper- and lower-case letters 'A'-'Z'
      and 'a'-'z' (e.g. XML).  Specifications that use this format in
      such environments MAY further limit the date/time syntax so that
      the letters 'T' and 'Z' used in the date/time syntax must always
      be upper case.  Applications that generate this format SHOULD use
      upper case letters.
We /are/ in a case-sensitive environment, neither are in wide-spread
use, and "z" poses an issue of whether "todayz" should be the same
as "todayZ" ("today UTC") or an error (it should be an error).

Fractional seconds are limited to six digits (they're nominally
   time-secfrac    = "." 1*DIGIT
), since we only support 1µs-resolution timestamps, and limit to six
digits in our other sub-second formats.

Parsing
  2012-11-23T11:12
is an extension two ways (no seconds, no timezone),
mirroring our "canonical" format.

Fixes #5194
2023-09-07 17:33:15 +02:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github ci: Do not run build test as root 2023-09-06 11:01:53 +02:00
.semaphore test: use 'until' instead of 'while !' 2023-09-06 19:54:29 +01:00
catalog systemd.catalog: freezed -> froze 2023-09-05 12:57:28 +08:00
coccinelle tree-wide: use cocinnelle to apply _NEG_ macros 2023-08-16 12:52:56 +02:00
docs docs/NETWORK_ONLINE: Use until instead of while ! 2023-08-14 09:15:31 +02:00
factory vconsole: allow setting default keymap through build option 2023-02-15 20:00:51 +00:00
hwdb.d hwdb: keyboard: D330 FnLk toggle 2023-09-06 19:00:29 +01:00
LICENSES LICENSES/README.md: fix syntax 2023-07-08 22:33:53 +00:00
man parse_timestamp: accept RFC3339-style timezone and %FT%R[:%S[.%N]] 2023-09-07 17:33:15 +02:00
mkosi.conf.d mkosi: Update to latest 2023-09-05 15:28:23 +02:00
mkosi.presets mkosi: Don't build hid selftests 2023-09-06 12:57:57 +02:00
modprobe.d meson: install the right README file in modprobe.d 2021-07-07 14:52:05 +02:00
network meson: use install_emptydir() and drop meson-make-symlink.sh 2023-08-08 22:11:34 +01:00
po po: Translated using Weblate (German) 2023-09-07 07:08:28 +09:00
presets preset: enable systemd-networkd-wait-online.service by default 2023-06-07 21:51:37 +01:00
rules.d 99-systemd.rules.in: tag PTP devices with systemd 2023-08-28 10:42:27 +01:00
shell-completion shell-completions: add missing systemctl verbs/options 2023-09-04 11:49:51 +02:00
src parse_timestamp: accept RFC3339-style timezone and %FT%R[:%S[.%N]] 2023-09-07 17:33:15 +02:00
sysctl.d meson: use install_emptydir() and drop meson-make-symlink.sh 2023-08-08 22:11:34 +01:00
sysusers.d sysusers.d: create the user for systemd-journal-upload.service 2023-06-19 23:42:00 +02:00
test Merge pull request #28957 from yuwata/core-mount-set-dirty-on-umount 2023-09-07 11:54:52 +02:00
tmpfiles.d Revert "Revert "tmpfiles.d: adjust /dev/vfio/vfio access mode"" 2023-08-09 11:27:39 +09:00
tools meson: Drop skip-deps option 2023-08-23 14:57:49 +02:00
units userdbd: Order systemd-userdbd.service after systemd-remount-fs.service 2023-09-04 09:47:05 +08:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: Adjust style of pointers 2022-05-30 04:00:54 +09:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig mkosi: Use 4 space indentation for scripts 2023-02-21 14:22:52 +01:00
.gitattributes Mark all base64 files as generated 2023-08-16 12:49:45 +02:00
.gitignore mkosi: Update .gitignore to account for changed output locations 2023-05-12 11:38:02 +02:00
.mailmap mailmap: "reduce contributor count by 13" 2023-08-16 12:49:42 +02:00
.packit.yml Revert "packit: temporarily use older Rawhide spec" 2023-07-18 15:28:07 +02:00
.pylintrc Add .pylintrc to globally suppress warnings we don't really care about 2023-08-10 18:13:29 +02:00
.vimrc vimrc: use 109ch text width for shell scripts as well 2023-05-13 22:02:37 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure configure: update meson invocation 2023-07-29 14:08:06 +02:00
LICENSE.GPL2
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson.build meson: disallow fuzz test names above 60 characters 2023-09-02 17:32:19 +03:00
meson_options.txt meson: Drop skip-deps option 2023-08-23 14:57:49 +02:00
mkosi.kernel.config mkosi: Don't disable CONFIG_USB 2023-09-06 12:58:30 +02:00
NEWS core,systemctl: refuse switching root if we're not in initrd 2023-09-02 15:56:24 +08:00
README Drop split-usr and unmerged-usr support 2023-07-28 19:34:03 +01:00
README.md Update badge on README to refer new scorecard viewer (#28050) 2023-06-15 19:24:32 +01:00
TODO update TODO 2023-09-06 12:05:21 +02:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Weblate
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.