1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00
The systemd System and Service Manager
Go to file
Lennart Poettering f78273c8da journald: don't flush to /var/log/journal before we get asked to
This changes journald to not write to /var/log/journal until it received
SIGUSR1 for the first time, thus having been requested to flush the runtime
journal to disk.

This makes the journal work nicer with systems which have the root file system
writable early, but still need to rearrange /var before journald should start
writing and creating files to it, for example because ACLs need to be applied
first, or because /var is to be mounted from another file system, NFS or tmpfs
(as is the case for systemd.volatile=state).

Before this change we required setupts with /var split out to mount the root
disk read-only early on, and ship an /etc/fstab that remounted it writable only
after having placed /var at the right place. But even that was racy for various
preparations as journald might end up accessing the file system before it was
entirely set up, as soon as it was writable.

With this change we make scheduling when to start writing to /var/log/journal
explicit. This means persistent mode now requires
systemd-journal-flush.service in the mix to work, as otherwise journald would
never write to the directory.

See: #1397
2016-12-21 19:09:29 +01:00
.github CONTRIBUTING: reword the part about unsetting the label (#4716) 2016-11-23 08:52:19 +01:00
.mkosi mkosi: update mkosi.fedora so that we can run "make check" during build 2016-12-14 18:29:30 +01:00
catalog catalog: update french translation following 5a1d6cb (#4872) 2016-12-12 16:17:51 -05:00
coccinelle tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
docs docs: add .gitignore 2015-07-06 17:47:38 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb hwdb: axis override for HP Spectre 2016-12-20 14:39:59 +10:00
m4 build-sys: Perform flag tests in context to existing flags 2016-02-06 14:57:46 +01:00
man util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
network network: allow LLDP packets to cross non-customer bridges for container network interfaces 2016-05-09 15:45:31 +02:00
po l10n: update line numbers in Czech translation (#4776) 2016-11-30 15:59:19 -05:00
rules core: make mount units from /proc/self/mountinfo possibly bind to a device (#4515) 2016-12-16 17:13:58 +01:00
shell-completion analyze: add syscall-filter verb 2016-11-03 09:35:35 -04:00
src journald: don't flush to /var/log/journal before we get asked to 2016-12-21 19:09:29 +01:00
sysctl.d treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
system-preset unit: drop console-shell.service (#4298) (#4325) 2016-10-10 12:06:26 +02:00
sysusers.d remove bus-proxyd 2016-02-12 19:10:01 +01:00
test test: check that we can boot with broken machine-id 2016-12-13 13:03:14 +00:00
tmpfiles.d treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
tools tools/catalog-report.py: a script to scour the journal for bad catalog entries 2016-12-11 15:43:16 -05:00
units units: drop --fail parameter from "systemctl switch-root" invocation 2016-12-20 20:00:09 +01:00
xorg login: support user-bus on dbus1 2015-08-31 18:12:37 +02:00
.dir-locals.el editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.editorconfig editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.gitattributes
.gitignore core: hook up MountFlags= to the transient unit logic 2016-12-13 21:22:13 +01:00
.mailmap NEWS: add contributor list to news file 2016-11-02 15:52:57 -06:00
.travis.yml remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
.vimrc vimrc: fix indentation logic for our docbook xml files 2016-04-29 12:23:34 +02:00
.ycm_extra_conf.py ycm: update flag blacklist 2014-06-04 15:41:10 -04:00
autogen.sh build-sys/autogen: don't use bashisms (#4489) 2016-10-25 19:39:48 -04:00
CODING_STYLE tree-wide: set SA_RESTART for signal handlers we install 2016-12-01 12:41:17 +01:00
configure.ac build-sys: don't mke use of "sushell" automatically 2016-12-20 20:23:40 +01:00
DISTRO_PORTING build-sys: Allow disabling installation of pam config snippet 2016-10-12 14:09:14 -03:00
ENVIRONMENT.md util-lib: read $SYSTEMD_PROC_CMDLINE if set when looking for the kernel cmdline 2016-12-21 19:07:55 +01:00
HACKING documentation: add a short document describing how to test your systemd build tree (#3763) 2016-07-20 22:15:54 -04:00
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile-man.am Add sd_is_socket_sockaddr (#4885) 2016-12-14 11:51:26 +01:00
Makefile.am nspawn: split out VolatileMode definitions 2016-12-20 20:00:08 +01:00
mkosi.build mkosi: change /etc/issue text a bit for mkosi images build from systemd tree 2016-12-14 18:29:30 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS build-sys: don't mke use of "sushell" automatically 2016-12-20 20:23:40 +01:00
README build-sys: revert dbus >= 1.9.18 requirement (#4924) 2016-12-20 10:53:53 +01:00
README.md documentation: add a short document describing how to test your systemd build tree (#3763) 2016-07-20 22:15:54 -04:00
TODO update TODO 2016-12-14 18:30:05 +01:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are provided in the README file.

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

Please see the HACKING file for information 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.