/srv/irclogs.ubuntu.com/2009/02/18/#upstart.txt

KeybukMd: patches for all packages are available in Ubuntu to move to /lib/udev/rules.d00:41
Keybukthere isn't a single package left installing to /etc00:42
Mdmaybe the ubuntu maintainers could submit them to the debian bts then :-)00:42
Keybukuntil now, you were dead set against such a change ;)00:53
KeybukI can submit them in literally seconds if you upload a udev that moves to the default rules and uses /lib/udev/rules.d00:53
Mdk00:56
Mdwell, I do not have immediate plans to switch to the default rules files00:57
Keybuk:-(01:01
=== sadmac_ is now known as sadmac
sadmacKeybuk: Did you check out the patch on the mailing list?03:03
=== Md is now known as Guest34812
=== Guest34812 is now known as Md
bgamariis there any way to have upstart execute a command as a given user?15:52
bgamariis su really the best way?15:53
sadmac2bgamari: for now, yes.15:53
bgamarialright15:53
bgamarithanks15:54
bgamariare there plans to change this?15:54
sadmac2bgamari: yes. In some pending release there should be a user stanza15:54
bgamarialright15:54
bgamarithat's probably for the best15:55
bgamarithanks for your help15:55
sadmac2m[15:57
solrizehi, if this isn't too impertinent a question, is there a manual for upstart?  i don't see one on the website23:13
solrizethanks23:13
solrizeone immediate thing i'm having trouble figuring out is how upstart knows whether a file in the config directory is in fact a config file23:13
sadmacsolrize: it doesn't :) if it doesn't understand anything in the file it puts an error in the log and ignores it. It also ignores file names matching a few specific patterns (temp files and files that tend to be laid down by package managers)23:17
solrizewhat about .txt files?23:18
solrizeor .sh ?23:18
solrizeis there a doc saying what file names are ignored?23:18
sadmacsolrize: sadly no. but I know it ignores neither of those23:19
solrizehmm23:19
sadmachmm. can't even find the code that does it anymore23:22
sadmacKeybuk: ?^23:22
solrizewell, can you tell me an example of a filename i can use to put some non-upstart stuff in the directory?  this idea of just treating every file as a config file and logging errors if it doesn't parse is unappetizing.23:28
sadmacsolrize: why do you need this?23:32
solrize1) to include some documentation for the config files, other than as # comments; 2) to put some of the service scripts in the same directory as the upstart config, so they're not scattered all over the place23:34
solrizei see that the directory now on the system i'm using has a .txt file with some docs, that i guess is getting parsed by upstart :(23:35
sadmac1 is flat out wrong. pure documentation does not go /anywhere/ in /etc23:36
sadmac/usr/share/doc if necessary23:36
solrizeit's just a readme saying what the different files do23:36
sadmac2 should be another folder in /etc23:36
sadmacbrb fire alarm in building.23:37
solrizeyow23:37
solrizeok23:37
solrizeget outside :)23:37
sadmacwell that was interesting23:42
sadmacbut yes, FHS says only configuration goes in /etc. Its extraordinarily adamant about it.23:42
solrizeFHS?23:44
solrizefalse alarm i hope (re the fire alarm)23:44
solrizeoh23:44
solrizewww.pathname.com/fhs23:44
sorensolrize: Filesystem Hierarchy Standard.23:44
solrizelooking23:44
sorenright :)23:44
solrizeit says "No binaries may be located under /etc" nothing about "no docs"23:48
solrizehttp://www.pathname.com/fhs/pub/fhs-2.3.html#AEN53423:49
sadmac"The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary."23:50
sadmacdocs aren't used to control the operation of a program23:51
solrizeby that logic, comments shouldn't be allowed in conf files23:51
sadmacits only granular to the file level.23:51
ion_sadmac is right, solrize is wrong. :-P23:55
solrizethat is lame, how an application interprets its conf files is up to the application23:55
sadmacsolrize: Unix is a large thing, and old.23:56
solrizeyes, quite old.  i remember something called /etc/init which was an executable binary ;-)23:56
sadmacwhen was that?23:56
solrizebefore the dawn of time ;)23:56
solrizealso /etc/update :)23:57
solrizeremember that?23:57
sadmacwell /usr used to be a kind of shared home folder.23:57
solrizethat too :)23:57
solrizei mean, it got its name because that's where user directories were :)23:57
solrizeanyway it is perfectly reasonable to treat some files as comments or no-ops, as upstart apparently already does23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!