From c904f64d84db8c4eebedf210ba10893f19ba05ed Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Feb 2011 01:47:31 +0100 Subject: label: udev might be making changes in /dev while we iterate through it Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169 --- src/tmpfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tmpfiles.c') diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 917747a4a4..0302262394 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -507,7 +507,7 @@ static int create_item(Item *i) { break; } - if ((r = label_fix(i->path)) < 0) + if ((r = label_fix(i->path, false)) < 0) goto finish; log_debug("%s created successfully.", i->path); -- cgit v1.2.3-54-g00ecf