mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: skip the space before the argument of an entry
An entry written in aligned columns got the space after the age field
as part of its argument:
L /tmp/null - - - - /dev/null
This made a link to " /dev/null". Only the first separator after
the age was dropped. A lone "-" for no argument was also taken as is,
so an f entry with it made a file holding a dash.
Skip all the space before the argument, and read "-" as no argument.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+42
No files matched your search
@@ -243,6 +243,9 @@ All relevant changes are documented in this file.
|
||||
- Fix owner of existing directories and files in tmpfiles, an entry with no
|
||||
user or group, or `-`, reset them to `root`. As in tmpfiles.d(5), the
|
||||
owner and the group are now each left alone unless the entry gives them
|
||||
- Fix the argument of a tmpfiles entry written in aligned columns, the space
|
||||
after the age field ended up in the argument, e.g. in the target of an `L`
|
||||
link. A lone `-` is now read as no argument
|
||||
- Fix a lost reload for a service paused mid-reload by a condition in
|
||||
flux. A second reload arriving meanwhile re-parsed the unchanged .conf
|
||||
and cleared the pending mark, so the service resumed without ever being
|
||||
|
||||
Reference in new issue
Block a user