On Mon, Jul 18, 2011 at 10:12:06PM +0200, J?r?my Vi?s wrote:
> The problem is related to the \040 I have in my fstab to have a space in the
> path. I don't know if their is another proper way to have a space in a mount
> point...
> If not, I can patch the standard script to replace the \040 by a space.
Could you please patch your /etc/cron.daily/standard with the attached patch
and see if still have the issue?
You can manually force the cron run by running /etc/cron.daily/standard (as
root) directly. Please send me (privately if it contains confidential
information) the output of running 'sh -x /etc/cron.daily/standard' with the
patch herein.
Regards
Javier
Index: standard.daily
===================================================================
--- standard.daily (revisión: 721)
+++ standard.daily (copia de trabajo)
@@ -52,12 +52,19 @@
esac
[ "$MTPT" = '/' ] && MTPT=""
+ # Replace spaces in the path (\040)
+ MTPT="`echo $MTPT | sed -e 's/\\040/ /g'`"
if [ ! -d "$MTPT/$LOFO" ]
then
# XFS does not necessarily have a lost+found dir
[ "$FSTYPE" = "xfs" ] && continue
+ # If we do not find the directory then it might
+ # be an issue with the mtab or with how we parse
+ # the information
+ [ ! -d "$MTPT" ] && continue
+
MISSING="$MISSING\n$MTPT/$LOFO"
elif cd "$MTPT/$LOFO" 2> /dev/null
then