You are not logged in.
Pages: 1
Hey guys, got a "little" Problem.
https://github.com/cerebrosus/UMounter
This application written in c with glib2 gio should mount storage like usb sticks. Before the last commit all worked fine. But i want to make it a system service, thtat won't be run by a user. Therefore it gets a config file, where u can set the user and group this service will run as. So that i won't run as root although it starts as root. Something like apache, that will be startet as root but changed his user and group to another one.
Now after the last commit, i won't get any error from gio related to the dbus or something else, but i don't get any signals. I don't find any logs where i can see that something wents wrong. So i don't know how to solve.
I already tried to create a file for PolKit-1 like it could be read in the UDiskie Wiki entry. I also see no problem on the dbus UDiskie rules. Maybe someone can give me a hint how to solve this problem. Would be enough to get known about logs where i can see that PolKit or DBus or something else blogs my actions.
I got the actual ArchLinux System with dbus + hal + udisks + polkit-1 + consolekit.
If u wish to have more informations, please tell me. Ahhh... something else: The user and group the system should run in shouldn't get a shell and a home dir.
Thx Greez
EDIT: I missed something. I got real user and group for my personal account. When setting this account in config. All works fine. I also tried to create a real user and group for umounter and add all groups, which are also by my personal account.
Last edited by CerebrosuS (2011-02-22 13:47:11)
Offline
Pages: 1