https://bugzilla.novell.com/show_bug.cgi?id=861955 https://bugzilla.novell.com/show_bug.cgi?id=861955#c12 --- Comment #12 from Don Hughes <support@microtechniques.com> 2014-03-18 01:01:57 UTC --- I got an error on mlocate.cron on line 32 with too many arguments. I fixed that by adding quotes. Then when I ran it, it took the su branch which did not have the --add-prunepaths argument that had been added to the root branch. I added it. It ran, but ignored the parameters. The "--" end of commnand line flags was evidently intended for the su command, but was passed to the updatedb command. I removed the -- and put the -c argument in quotes. Here is my diff: ====================================================================== [-${UPDATEDB_PRUNEFS}-] {+"$UPDATEDB_PRUNEFS"+} ====================================================================== [-UPDATEDB_PRUNEFS="--add-prunefs ${UPDATEDB_PRUNEFS}"-] {+UPDATEDB_PRUNEFS="--add-prunefs=\"${UPDATEDB_PRUNEFS}\""+} ====================================================================== [-${UPDATEDB_PRUNEPATHS}-] {+"$UPDATEDB_PRUNEPATHS"+} ====================================================================== [-UPDATEDB_PRUNEPATHS="--add-prunepaths ${UPDATEDB_PRUNEPATHS}"-] {+UPDATEDB_PRUNEPATHS="--add-prunepaths=\"${UPDATEDB_PRUNEPATHS}\""+} ====================================================================== [-NODEVS=$(<-] {+NODEVS="-f "$(<+} ====================================================================== [-/usr/bin/updatedb -- -f "${NODEVS}"-] {+"/usr/bin/updatedb ${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS}"+} ====================================================================== [--f "${NODEVS}" "${UPDATEDB_PRUNEFS}" "${UPDATEDB_PRUNEPATHS}"-] {+${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS}+} ====================================================================== This works for me with my old /etc/sysconfig/locate config file. I did not test it with /etc/updatedb.conf changes I also created an alias for updatedb the passes the prunepaths argument. -- 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.