#104 chroot errors

code_needs_review
closed-invalid
OS-specific (5)
5
2008-05-25
2007-05-26
ktdreyer
No

Problem: on Red Hat-based systems (not sure if this is elsewhere) the df command throws an error if you've got a chrooted mount and you're not root. (The bind-chroot rpm does this.)

Solution: run df with "-x none". (This excludes filesystems of the "none" type.)

This patch adds the appropriate df parameters to the Linux class.

Discussion

  • ktdreyer

    ktdreyer - 2007-05-26

    patch to class.Linux.inc.php

     
    Attachments
  • Nobody/Anonymous

    Logged In: NO

    another note: this was on CentOS 4. df is fixed for CentOS 5.

     
  • Audun Larsen

    Audun Larsen - 2007-07-21
    • labels: --> OS-specific
    • milestone: --> code_needs_review
     
  • Anonymous - 2008-05-25

    Logged In: YES
    user_id=783180
    Originator: NO

    it is still wanted that errors are thrown when something goes wrong, but with the new options in 3.0 you can turn these errors of in the ini and filesystem usage will still be displayed without the error causing entry

     
  • Anonymous - 2008-05-25
    • assigned_to: nobody --> bigmichi1
    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks