Skip to contentSkip to conversation

policy

DISCUSSION Hugo F. Martinez 2 participants 2 messages May 22, 2001 – May 23, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi:
Im trying to relabel my file system but im getting this kind of errors

....
./set files: invalid context system_u:object_r:cron_log_ti on line number 368
make: *** [relabel] Error 1

I check the file_contexts but i cant see any clue of where the problem

Thanks in advance.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw

Did you modify file_contexts? It appears that is simply a typo... try changing that line in file_contexts to the following, note the lack of "i" on the end:

system_u:object_r:cron_log_t

Jon Crowley

Quoted 9 lines · Hugo F. Martinez

Hi:
Im trying to relabel my file system but im getting this kind of errors

....
./set files: invalid context system_u:object_r:cron_log_ti on line number 368
make: *** [relabel] Error 1

Quoted 8 lines

I check the file_contexts but i cant see any clue of where the problem

Thanks in advance.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.