pikaren | ~/.config/upstart $ ls | 08:27 |
---|---|---|
pikaren | rescuetime.conf | 08:27 |
pikaren | ~/.config/upstart $ start rescuetime | 08:27 |
pikaren | start: Unknown job: rescuetime | 08:27 |
pikaren | system: linux mint upstart version: 1.10 | 08:28 |
pikaren | and i've changed my upstart.conf to http://bazaar.launchpad.net/~upstart-devel/upstart/trunk/view/1301/dbus/Upstart.conf | 08:29 |
pikaren | please help? | 08:29 |
jrib | hello! If I would like to have a job that is managed by an unprivileged user, what is the best way to do this? Should I create a user job in ~/.config/upstart? I need the job to run automatically at boot | 14:23 |
jrib | i guess http://upstart.ubuntu.com/cookbook/#non-graphical-sessions-ubuntu-specific is the way? | 14:36 |
jrib | it seems somewhat hacky/like it's going to change. I'm thinking of just using setuid/setgid and setting up sudoers so the user can control the one job. Thoughts? | 14:36 |
jrib | plus it would make it clunky to control the job | 14:37 |
xnox | pikaren, well you are now gone.... | 19:41 |
xnox | jrib: if it's a system job, make it a system job in /etc/init/ and with correct start on it will start on boot. | 19:41 |
xnox | jrib: if you want to allow some users to control it (e.g. start/stop/restart/reload etc.) i believe you can apply policykit rules to allow those actions. Or e.g. create simple setuid scripts around initctl to do that + e.g. change permissions on the job file to allow a group of users to write/modify it. | 19:43 |
xnox | jrib: typically setuid/setguid/export HOME= are sufficent to make a "system" job to run unprivileged. | 19:43 |
bwlang | hi... i'm trying to get an upstart script to respond to a dvd insertion... | 22:01 |
bwlang | i can see the udev event using udevadm monitor --property --udev | 22:01 |
bwlang | but i don't think my script /etc/init/dvd-inserted.conf is being run. | 22:02 |
bwlang | where can i find the logs about this or increase the logs. | 22:02 |
bwlang | ? | 22:02 |
bwlang | i start with start on block-device-added; task; script ; echo 'here' > /tmp/dvd_inserted; end script (s/;/\n/) | 22:04 |
=== hidgw is now known as ElimGarak | ||
=== ElimGarak is now known as hidgw |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!