--- Log opened Sun Jan 06 00:00:23 2019 11:36 -!- K`Tetch [~no@unaffiliated/ktetch] has joined #se2600 11:39 -!- K`Tetch_ [~no@47.39.211.239] has quit [Ping timeout: 250 seconds] 11:52 -!- K`Tetch_ [~no@47.39.211.239] has joined #se2600 11:56 -!- K`Tetch [~no@unaffiliated/ktetch] has quit [Ping timeout: 252 seconds] 15:22 <@Mirage> Evilpig_: um..yeah...i think my old MythTV box did better with OTA than Plex does. 16:52 -!- K`Tetch [~no@unaffiliated/ktetch] has joined #se2600 16:56 -!- K`Tetch_ [~no@47.39.211.239] has quit [Ping timeout: 258 seconds] 16:58 -!- K`Tetch_ [~no@47.39.211.239] has joined #se2600 17:01 -!- K`Tetch [~no@unaffiliated/ktetch] has quit [Ping timeout: 250 seconds] 17:06 -!- K`Tetch [~no@unaffiliated/ktetch] has joined #se2600 17:10 -!- K`Tetch_ [~no@47.39.211.239] has quit [Ping timeout: 272 seconds] 17:18 -!- K`Tetch_ [~no@47.39.211.239] has joined #se2600 17:21 -!- K`Tetch [~no@unaffiliated/ktetch] has quit [Ping timeout: 252 seconds] 20:24 < Synx_hm> somebody learn me on order of operations in a shell, 'su-exec $UID:$GID echo $HOME' 20:25 < Synx_hm> i want UID and GID to be resolved first but delay the $HOME until run as the correct user 20:32 < Synx_hm> sudo sh -c 21:31 <@Dagmar> Are you expecting sh or are you expecting _bash_ 21:31 <@Dagmar> bash -l might be more like what you want 21:32 < Synx_hm> im actually using su-exec inside alpine which doesn't do anything about local profile or bashrc it seems 21:32 < Synx_hm> ill just avoid using $HOME unless its spawned inside another process that is already running as the user 21:33 <@Dagmar> Well, sudo bash -l seems to set $HOME as expected 21:34 < Synx_hm> i think -H does also but ill be honest i have not read the manpage 21:34 <@Dagmar> Well, -l tells it to behave like a login shell 21:34 < Synx_hm> ahh right so it sources the local bashrc too 22:22 -!- K`Tetch [~no@unaffiliated/ktetch] has joined #se2600 22:26 -!- K`Tetch_ [~no@47.39.211.239] has quit [Ping timeout: 258 seconds] 22:26 -!- K`Tetch_ [~no@47.39.211.239] has joined #se2600 22:27 -!- K`Tetch [~no@unaffiliated/ktetch] has quit [Ping timeout: 246 seconds] 23:22 < Synx_hm> Dagmar, actually i cant quite sort this out 23:22 < Synx_hm> su - -c 'blah' also forces login shell 23:23 < Synx_hm> disregard 23:24 < Synx_hm> su - -c does not appear to source the ~/.profile 23:25 < Synx_hm> no wait it should 23:25 < Synx_hm> wtf so 'su - -c 'export' userblah' does not show my profile exports 23:25 < Synx_hm> but su - userblah 23:26 < Synx_hm> gives me a bash shell and export does show it 23:42 < Synx_hm> when bash actually gets an interactive tty in the latter example it sources .profile vs the former where it never does, i believe this was the correct answer --- Log closed Mon Jan 07 00:00:24 2019