mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-31 09:51:59 +00:00
48681bb49c
Basically this patch makes restorecond a dbus session service that can be run in the users session to watch the creation of files in the homedir. Most of the changes are just to get it to run as a dbus session and then to allow it to read its own config. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
41 lines
1.1 KiB
Groff
41 lines
1.1 KiB
Groff
.TH "restorecond" "8" "2002031409" "" ""
|
|
.SH "NAME"
|
|
restorecond \- daemon that watches for file creation and then sets the default SELinux file context
|
|
|
|
.SH "SYNOPSIS"
|
|
.B restorecond [\-d] [\-f restorecond_file ] [\-u] [\-v]
|
|
.P
|
|
|
|
.SH "DESCRIPTION"
|
|
This manual page describes the
|
|
.BR restorecond
|
|
program.
|
|
.P
|
|
This daemon uses inotify to watch files listed in the /etc/selinux/restorecond.conf, when they are created, this daemon will make sure they have
|
|
the correct file context associated with the policy.
|
|
|
|
.SH "OPTIONS"
|
|
.TP
|
|
.B \-d
|
|
Turns on debugging mode. Application will stay in the foreground and lots of
|
|
debugs messages start printing.
|
|
.TP
|
|
.B \-f restorecond_file
|
|
Use alternative restorecond.conf file.
|
|
.TP
|
|
.B \-u
|
|
Turns on user mode. Runs restorecond in the user session and reads /etc/selinux/restorecond_user.conf. Uses dbus to make sure only one restorecond is running per user session.
|
|
.TP
|
|
.B \-v
|
|
Turns on verbose debugging. (Report missing files)
|
|
|
|
.SH "AUTHOR"
|
|
This man page and program was written by Dan Walsh <dwalsh@redhat.com>.
|
|
|
|
.SH "FILES"
|
|
/etc/selinux/restorecond.conf
|
|
/etc/selinux/restorecond_user.conf
|
|
|
|
.SH "SEE ALSO"
|
|
.BR restorecon (8),
|