From acfbe4b8e05959079a807dcc1df7650946cd0924 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 30 Apr 2012 13:29:31 +0200 Subject: tmpfiles: use 'root' rather than '0' as the default user/group This avoids hangs due to '0' not being found and the system attempting to look it up over ldap. Suggested-by: Laurent Rahuel Signed-off-by: Tom Gundersen --- arch-tmpfiles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-tmpfiles b/arch-tmpfiles index 8d927de..9355fdc 100755 --- a/arch-tmpfiles +++ b/arch-tmpfiles @@ -285,8 +285,8 @@ while read -d '' fragment; do d|D) line[2]=0755 ;; esac fi - [[ ${line[3]} = '-' ]] && line[3]=0 - [[ ${line[4]} = '-' ]] && line[4]=0 + [[ ${line[3]} = '-' ]] && line[3]='root' + [[ ${line[4]} = '-' ]] && line[4]='root' "_${line[@]}" done <"$FILE" -- cgit v1.2.3