Kauth problem
Christian Jann
christian_jann at yahoo.de
Sat Mar 13 12:22:44 UTC 2010
Hello,
Could somebody get
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeexamples/authorization
to work with F12 or F13, I can't
F12 KDE 4.4.1 (kde-unsable repo)
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeexamples/authorization
cd authorization/
sed -i '1i\cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)' CMakeLists.txt
mkdir build
cd build
cmake ..
make
sudo make install
./kauth_example
now when I try to save /testfile I get an SELinux alert:
SELinux is preventing /lib/dbus-1/dbus-daemon-launch-helper "execute_no_trans"
access on /usr/local/lib/kde4/libexec/kauth_example_helper.
su -
audit2allow -m local -l -i /var/log/audit/audit.log > local.te
vim local.te
################
module local 1.0;
require {
type lib_t;
type system_dbusd_t;
class file execute_no_trans;
}
#============= system_dbusd_t ==============
allow system_dbusd_t lib_t:file execute_no_trans;
#################
checkmodule -M -m -o local.mod local.te
semodule -i local.pp
exit
./kauth_example
now no SELINUX alert anymore but I get only:
"Launch helper exited with unknown return code 255"
when I try to save /testfile but I should get some authorization window like
here:
pkexec touch /testfile
changing date and time in systemsettings works also
I hope somebody can help me to get some more debug output or knows what the
problem is
I hope this behavior is only F12 special, maybe somebody with F13 can try this
More information about the kde
mailing list