Kauth problem

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

 



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


[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux