http://qa.mandrakesoft.com/show_bug.cgi?id=5676

           Product: initscripts
         Component: program
           Summary: rc.sysinit try to remove a file on a read only fs
           Product: initscripts
           Version: 7.06-26mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


in rc.sysinit, we have this:

# Possibly update quotas if fsck was run on /.
LC_ALL=C grep -E '[[:space:]]+/[[:space:]]+' /etc/fstab | \
    awk '{ print $4 }' | \
    LC_ALL=C grep -q quota
_ROOT_HAS_QUOTA=$?
if [ X"$_RUN_QUOTACHECK" = X1 -a \
    "$_ROOT_HAS_QUOTA" = "0" -a \
    -x /sbin/quotacheck ]; then
    if [ -x /sbin/convertquota ]; then
        if [ -f /quota.user ]; then
        action "Converting old user quota files: " \
            /sbin/convertquota -u / && rm -f /quota.user
        fi
        if [ -f /quota.group ]; then
        action "Converting old group quota files: " \
            /sbin/convertquota -g / && rm -f /quota.group
        fi
    fi
    action "Checking root filesystem quotas: " /sbin/quotacheck -nug /
fi

script may try to remove  /quota.group and /quota.user but / is mounted read
only at this step.

-- 
Configure bugmail: http://qa.mandrakesoft.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.

Reply via email to