leedev | I can't seem to get setgid and setuid to work in 1.5 on ubuntu precise | 20:09 |
---|---|---|
leedev | and then I get "start: Unknown job: daq" | 20:10 |
leedev | as soon as you start a job with setgid and setuid, upstart seems unstable | 20:11 |
xnox | leedev: upstart rejects jobs with invalid syntax, can you paste full job? | 22:17 |
leedev | working on it | 22:19 |
xnox | leedev: you may used pastebin service, e.g. http://paste.ubuntu.com/ | 22:21 |
leedev | http://pastebin.com/jWZ2ESLw | 22:21 |
xnox | thanks. | 22:21 |
leedev | is is as simple and plain as it gets | 22:21 |
xnox | File foo.conf: syntax ok | 22:22 |
xnox | leedev: that's what init-checkconf says. | 22:22 |
xnox | leedev: what's the name of the file and where do you put it? | 22:22 |
xnox | also what is encoding / line endings? | 22:23 |
leedev | lets say it this way, it works fine on newer versions | 22:24 |
leedev | and I am using vi | 22:24 |
xnox | leedev: do you have init-checkconf available to run against that file? | 22:25 |
leedev | $ init-checkconf /etc/init/daq.conf | 22:25 |
leedev | ERROR: failed to ask Upstart to check conf file | 22:25 |
xnox | (in precise i think it fortunately needs dbus-launch and thus a DISPLAY) | 22:25 |
xnox | darn. | 22:25 |
xnox | yeap =/ | 22:26 |
leedev | hahah | 22:26 |
xnox | leedev: yes, i don't understand why dbus needs that either. | 22:26 |
xnox | not a bug in the init-checkconf script itself. | 22:26 |
leedev | I can't start or stop any upstart once I use one with setuid or setgid | 22:27 |
leedev | but i'm not guaranteeing the sanity of install, so if you tell me it looks fine, I might do a fresh up to date install | 22:29 |
xnox | leedev: do note that HOME will not be set, so you do want to add "export HOME=/home/lee" or somesuch. | 22:29 |
leedev | this program isn't dependent on the HOME environment variable, but thanks for the tip | 22:31 |
xnox | leedev: the paste you gave me is a valid job file, i've tested it in precise vm just now. | 22:31 |
leedev | oh ya, I should have made a quick precise lxc to test it | 22:32 |
leedev | thanks, xnox | 22:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!