projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9561f24
)
Fix bug where systemd-tmpfiles gets stuck on fifos in tmp.
author
r-vdp
<ramses@well-founded.dev>
Mon, 29 Jan 2024 10:21:12 +0000
(11:21 +0100)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 29 Jan 2024 12:16:38 +0000
(12:16 +0000)
Fixes #30690.
src/tmpfiles/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index 9601c538bcb6c8bfc21479f0f517606bac4b0b63..dbe9156f067909d0d6a8c91c20511b6f9929e8cb 100644
(file)
--- a/
src/tmpfiles/tmpfiles.c
+++ b/
src/tmpfiles/tmpfiles.c
@@
-822,7
+822,7
@@
static int dir_cleanup(
fd = xopenat(dirfd(d),
de->d_name,
- O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NOATIME,
+ O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NOATIME
|O_NONBLOCK
,
/* xopen_flags = */ 0,
/* mode = */ 0);
if (fd < 0 && !IN_SET(fd, -ENOENT, -ELOOP))