Public bug reported:

check-diskfree attempts to exlucde external automatically mounted disks
by removing mount paths containing "media/" from the output of df(1),
like so:

    df -klP |
    grep ^/ |
    grep -v /media/ |
    ...

If you have a standard filesystem mounted at, say, /mnt/media/press (any
mount point with media as the non-terminating component), then this will
be unintentionally excluded.

Suggested fix:

    42c42
    < grep -v /media/ |
    ---
    > grep -v ^/media/ |

** Affects: checksecurity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to checksecurity in Ubuntu.
https://bugs.launchpad.net/bugs/1054477

Title:
  check-diskfree ignores fs with "media" anywhere in mount path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checksecurity/+bug/1054477/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to