Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | initscript: append restorecon lines instead of a final script | Xin Ouyang | 2013-03-05 | 2 | -204/+7 |
| | | | | | | | | | | | | Current meta-selinux provides a populate-volatile.sh for adding restorecon lines to the oe-core script. If other meta layers would add a new populate-volatile.sh, it will override the oe-core and meta-selinux ones and cause selinux issues. So append restorecon lines to the original script instead of a final script. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||||
* | initscripts: restorecon after populate-volatile | Xin Ouyang | 2012-10-18 | 2 | -0/+205 |
populate-volatile.sh creates new directories in /var/volatile/ while booting, so we should restore the security contexts in it. Also touch /var/log/lastlog to set correct security contexts. populate-volatile.sh is imported for oe-core, and add these two lines at the end. touch /var/log/lastlog test ! -x /sbin/restorecon || /sbin/restorecon -R /var/volatile/ Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> |