[Bug 278934] New: updatedb dies if localuser is set

https://bugzilla.novell.com/show_bug.cgi?id=278934 Summary: updatedb dies if localuser is set Product: SUSE Linux 10.1 Version: Final Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cconnoll@u.washington.edu QAContact: jsrain@novell.com updatedb dies if localuser is set, removing locatedb. It also dies silently if run from suse.de-updatedb in /etc/cron.daily, because STDERR is redirected to /dev/null. The subroutine select_shell() tests wheter to use su -s by testing for output of the commands 'su $1 -s $SHELL false < /dev/null' and 'su $1 -s $SHELL true < /dev/null' where $1 is the localuser and $SHELL is coded as /bin/sh. The commands should be 'su $1 -s $SHELL -c false < /dev/null' and 'su $1 -s $SHELL -c true < /dev/null' This works correctly. -- 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, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=278934 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |schwab@novell.com |screening@forge.provo.novell| |.com | Component|Update Problems |Basesystem -- 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, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=278934 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from schwab@novell.com 2007-06-04 06:14 MST ------- This is already fixed. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com