Thanks for the reply, Carlos! On Fri, Jun 13, 2014 at 11:47:57AM +0200, Carlos E. R. wrote:
I think it would have this Message-ID:
In-Reply-To: <alpine.LNX.2.00.0903100026320.30508@Fatou.suse.de>
and it was perhaps sent privately. I did a search, and I have never seen a post from him on the opensuse general mail list. Only factory, security, and bugzillas.
This message was addressed to: To: Josef Wolf <jw@raven.inka.de>, opensuse@opensuse.org Maybe Christian's messages were removed from the archives?
Tonight, it happened again. /dev/null became chmod'ed to 0600 on opensuse-13.1
Has the fix been lost somewhere during its 5 years lasting transision from FACTORY to opensuse-13.1?
What happened in that case was that you had /root/.bash_history symlinked to /dev/null, and the postinstall script of the aaa_base rpm did: touch root/.bash_history chmod 600 root/.bash_history
which changed /dev/null, not the symlink (which is impossible).
The cause of the problem is clear to me. The symlink is still there, since I set it by intent. I don't want bash-history for root, even if some variables happen to pass through /bin/su or sudo.
The solution, according to Cristian, would be to «"touch & chmod" only if it the file doesnt exists.»
Yeah. Something like if [ ! -e /root/.bash_history ] ; then touch /root/.bash_history chmod 600 /root/.bash_history fi in the postinstall script or something.
But I don't see in the thread a bugzilla number for the issue.
I never created a bug. Due to Christian's message, I assumed the fix was already applied. There's no point in creating a bug for something that's already fixed, IMHO. Turns out that the fix has been lost somewhere?
The procedure for finding out the culprit this time would be to repeat the steps again ;-)
Sorry, I don't understand. We know the cause and we know the fix. What else do we need to find out by repeating the steps? -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org