superm1 | i don't use xmltv personally.. | 04:01 |
---|---|---|
dekarl | tgm4883, superm1: well, the storage location is $HOME/.mythtv/$NAMEOFSOURCE.xmltv, there's not much to choose from. | 05:32 |
superm1 | dekarl, ah i just looked over the question. | 06:37 |
superm1 | either approach would solve it short term, but long term it should hopefully be N/A with web based mythtv-setup | 06:38 |
dekarl | superm1: where shall I put this so it doesn't get lost? | 06:41 |
superm1 | well ideally in the form of a patch that can be merged immediately :) | 06:41 |
dekarl | as the web setup with xmltv... is not going to happen RSN | 06:41 |
dekarl | uhh, I don't even know how to start mythtv-setup with "mythtv" credentials and still being able to access the screen | 06:42 |
superm1 | then a bug against the mythtv source package or the mythbuntu project is fine | 06:42 |
dekarl | it's just a one line change to the wrapper, but how should that look like? | 06:42 |
superm1 | oh i forgot there's all that other logic in the line to run it single threaded and in a terminal window | 06:44 |
superm1 | it might just be a matter of adding $SU_TYPE to the beginning of that xterm launch | 06:44 |
dekarl | hmm | 06:45 |
dekarl | yes, but it has to be a variant of $SU_TYPE that sus to mythtv, not root and gets the environment setup correctly :( | 06:47 |
superm1 | so it might be $SU_TYPE su mythtv -c xterm -title ... | 06:48 |
dekarl | but $SU_TYPE (cd ~mythtv/.mythtv; ln -s $HOME/.mythtv/*.xmltv .) should work, too (if it wasn't for spaces in the names of the video sources :( | 06:50 |
dekarl | does $SU_TYPE su mythtv -c xterm -title ... change $HOME to ~mythtv ? | 06:50 |
superm1 | well you run into bigger problems if you are symlinking directories around | 06:50 |
superm1 | what if several users have .xmltv directories already | 06:50 |
superm1 | or files in there? | 06:50 |
superm1 | do you keep them, rename them? | 06:51 |
superm1 | so i think the better way to solve it is mythtv-setup as mythtv user for now | 06:51 |
superm1 | and yes that should change $HOME to ~mythtv | 06:51 |
dekarl | that's good, I agree it's better to change the wrapper to run setup as mythtv | 06:51 |
superm1 | another way to do it would be to add support to mythtv-setup to drop permissions and change uid/gid and then require it to run as root | 06:52 |
superm1 | similar to what mythbackend supports now | 06:52 |
superm1 | kees, any opinions about above what you think would be the best approach? | 06:53 |
dekarl | imho dropping permission in backend or setup is an ugly kludge ;) | 06:54 |
dekarl | I'm looking at the su variant atm | 06:54 |
superm1 | well in backend it's the only way to cleanly do it with upstart | 06:54 |
dekarl | then upstart has a bug there | 06:54 |
superm1 | well because using su in an upstart job creates an interactive consolekit session | 06:54 |
superm1 | so suddenly anything that normally would "log out" of a session sees a "user" logged in | 06:55 |
dekarl | I think upstart needs auxillary tools like daemontools have | 06:55 |
dekarl | but that's another topic | 06:55 |
superm1 | i think this cycle it actually gained support for user jobs, i haven't explored that yet | 06:55 |
superm1 | it might be a possibility to just have a job in ~mythtv that gets spawned by upstart directly as the right user | 06:56 |
dekarl | this seems to be ok: $SU_TYPE su mythtv -c xterm -title ... | 07:07 |
dekarl | hmm | 07:07 |
dekarl | gksu -- sudo -u mythtv -i set | grep HOME | 07:07 |
dekarl | notice the "-i" for getting a fresh mythtv login session | 07:07 |
* dekarl gotta run | 07:08 | |
ahhughez | I've been going thru all the ubuntu 11.04 bluetooth guides... what I am doing *should* work. But it's not. I can'f ro the life of me work out why mythbuntu didnt have all the bluetooth packages installed by default. I suspect that ubutnu != mythbuntu but others might be able to help me out with this | 12:44 |
kees | superm1: I didn't follow what the original need was. something relating to xmltv, but I think it is lost in my backscroll. | 15:14 |
superm1 | kees, basically xmltv config needs to be setup for ~mythtv since mythbackend uses it | 15:55 |
superm1 | but you run mythtv-setup as $USER meaning the xmltv config gets saved in ~$USER | 15:56 |
superm1 | everything else about running mythtv-setup as $USER is fine I think | 15:56 |
kees | ah, well, yeah, I think the stuff you mentioned should be fine (since mythtv-setup is run by root anyway, so switching away to the mythtv user to the piece that needs it is okay afaict) | 18:21 |
superm1 | ok, i'll double check that thing dekarl posted works and merge that in then | 18:27 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!