https://bugzilla.novell.com/show_bug.cgi?id=728774
https://bugzilla.novell.com/show_bug.cgi?id=728774#c46
--- Comment #46 from Frederic Crozat 2012-06-07 07:55:42 UTC ---
here is the irc log when discussing with upstream:
<fcrozat> mezcaler1: hi.. after debugging a little, we found some issues
with the stdout / stderr handling (for capturing output to syslog / j
ournal) when used with shell redirection :(
<mezcaler1> fcrozat: hmm, issues? where?
<fcrozat> mezcaler1:
https://bugzilla.novell.com/show_bug.cgi?id=728774#c39
<fcrozat> I was hoping it was an issue in our "initscript integration of
systemd" but it isn't, unfortunately :(
<mezcaler1> fcrozat: what does /dev/stderr point to?
<fcrozat> mezcaler1: /dev/fd/2
<fcrozat> which points to the socket
<mezcaler1> fcrozat: i presume /proc/self/fd/2
<fcrozat> yep
<mezcaler1> fcrozat: get the kernel fixed if you cannot dup() a scoket by
opening /proc/self/fd/<socket>
<mezcaler1> fcrozat: not going to work around this in userspace
<mezcaler1> i am not the doktor ;-)
<mezcaler1> kay: have you seen that?
<mezcaler1> kay: supposedly opening /proc/self/fd/2 doesn't work if 2 is a
socket?
<kay> or give up the weird tricks in shell scripts :)
<kay> mezcaler1: yeah, seen it. did not know about that
<fcrozat> mezcaler1: you caused the disease ! :)
<kay> mezcaler1: we do not run such shell scripts, i guess :)
<mezcaler1> kay: we had those too
<mezcaler1> kay: but we hardly run any shell scripts anymore by default ;-)
<mezcaler1> fcrozat: but really this deserves to be fixed in the kernel
<mezcaler1> fcrozat: please reassign to your kernel package
* fcrozat tries ;)
<mezcaler1> fcrozat: working arond this in userspace is not an option
<kay> mezcaler1: we had "exec 2>&1" ? i've not seen that :)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.