Hi!
I have SElinux activated in permissive mode. This changes the
output of ls slightly:
$ ls -l "/etc/keys/din-1.luks"
-r--------. 1 root root 9 2010-01-13 13:01 /etc/keys/din-1.luks
This leads to returning wrong value for OWNER in
/lib/cryptsetup/cryptdisks.functions, line 262:
$ ls -l "/etc/keys/din-1.luks" | sed
's/^.\{10\}[+]\?.[^[:space:]]* \([^[:space:]]*\).*/\1/'
1
Returned is value 1, most likely "root" should have been
returned.
A possibly important difference from ls output when using SElnux
is the dot after the permissions letters. If so, the sed line
would have to be changed. I haven't checked the sed line so far.
Greetings,
Raoul Bönisch
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]