installing x-window-system on my loovely minimalist system
Quoted 17 lines · Russell Coker
Quoted 11 lines · Luke Kenneth Casson Leighton
okay, just for fun, i began to install x-windows.
bizarrely i get these (wheeee):
allow
initrc_tsysadm_tmp_t:file { read };
#EXE=/bin/cat NAME=XF86Config-4 : readallow ldconfig_t lib_t:file { read }; #EXE=/sbin/ldconfig NAME=libXft.so.2.1.1 : read #EXE=/sbin/ldconfig NAME=libfontconfig.so.1.0.4 : read #EXE=/sbin/ldconfig NAME=libXft.so.2.1.1 : readWhen you use apt or dselect to install packages several packages will have their files installed at one pass, then the postinst scripts will be run for the packages.
Quoted 6 lines
In Debian file labelling is done just before the postinst, so you have files from packages liba and libb installed but not labeled, you run liba's postinst (which first correctly labels files in liba), but ldconfig tries reading the files from libb which fails.
Maybe I should just put a dontaudit rule in dpkg.te?
*shrug* :)
Quoted 9 lines
Quoted 7 lines
allow
ldconfig_tusr_t:file { read };
#EXE=/sbin/ldconfig NAME=libXrandr.so.2.0 : read
#EXE=/sbin/ldconfig NAME=libXTrap.so.6.4 : readallow
ldconfig_tusr_t:lnk_file { read unlink };#EXE=/sbin/ldconfig NAME=libXrandr.so.2 : read #EXE=/sbin/ldconfig NAME=libXrandr.so.2 : unlinkThat is wrong. What directories are those files in?
sez:~# locate libXrandr /usr/X11R6/lib/libXrandr.so.2 /usr/X11R6/lib/libXrandr.so.2.0
sez:~# locate libXTrap.so.6.4 /usr/X11R6/lib/libXTrap.so.6.4 sez:~#
Quoted 4 lines
On my system it's in
/usr/X11R6/liband the followingfile_contextsentry correctly matches it:/usr/X11R6/(.*/)?lib(64)?/.*\.so.* -- system_u:object_r:shlib_t
sez:~# ls --context /usr/X11R6/lib/libXTrap.so.6.4 -rw-r--r-- root root system_u:object_r:shlib_t /usr/X11R6/lib/libXTrap.so.6.4 sez:~# ls --context /usr/X11R6/lib/libXrandr.so.2.0 -rw-r--r-- root root system_u:object_r:shlib_t /usr/X11R6/lib/libXrandr.so.2.0 sez:~# ls --context /usr/X11R6/lib/libXrandr.so.2 lrwxrwxrwx root root system_u:object_r:lib_t /usr/X11R6/lib/libXrandr.so.2 sez:~#
well, somehow, one of them doesn't match - libXrandr.so.2 is a lib_t type (is that because it's a symbolic link?) and what happened to libXtrap.so.6 symbolic link??
hey, i gotta question for you.
is there possibly a delay in the journalling ext3 file system on extended attributes?
is there any way that old extended attributes could be read from the filesystem because of delays in the journalling filesystem not writing them down immediately?
Quoted 7 lines
Quoted 3 lines
allow
xprint_tsysadm_xserver_tmp_t:dir { search };#EXE=/usr/bin/Xprt NAME=.X11-unix : search #EXE=/usr/bin/Xprt NAME=.X11-unix : searchI had been in a rush when I wrote the policy for xprint. I've attached a new policy file which should work better, please try it out and let me know how it goes.
ah ha, okie.
l.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.