projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b0610
)
tmpfiles: downgrade error message when operation is not supported (#5692)
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 10 Apr 2017 11:22:18 +0000
(20:22 +0900)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Apr 2017 11:22:18 +0000
(13:22 +0200)
Fixes #5607
src/tmpfiles/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index
7326597
..
ed6a9ad
100644
(file)
--- a/
src/tmpfiles/tmpfiles.c
+++ b/
src/tmpfiles/tmpfiles.c
@@
-973,7
+973,7
@@
static int path_set_attribute(Item *item, const char *path) {
r = chattr_fd(fd, f, item->attribute_mask);
if (r < 0)
- log_full_errno(r == -ENOTTY ? LOG_DEBUG : LOG_WARNING,
+ log_full_errno(r == -ENOTTY
|| r == -EOPNOTSUPP
? LOG_DEBUG : LOG_WARNING,
r,
"Cannot set file attribute for '%s', value=0x%08x, mask=0x%08x: %m",
path, item->attribute_value, item->attribute_mask);