Re: make relabel > restorecon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Brueckner wrote:

I have a file
/etc/selinux/targeted/src/policy/file_contexts/programs/tspi_dillo.fc that
contains the following line only:

/tspi/usr/local/bin/dillo	--	system_u:object_r:tspi_dillo_exec_t

When I do # make reload and then # make relabel the system correctly labels
the file and adds the above line to the master file_contexts file.

However, if I then run # /sbin/restorecon /tspi/usr/local/bin/dillo the
file's type reverts to default_t

Any ideas on why this is happening?


I take it you have a domains/program/tspi_dillo.te file?

grep dillo /etc/selinux/targeted/context/files/*


Thanks,

- Steve Brueckner, ATC-NY

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list




--


-- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux