NanoBSD rw issue



  • Hi,

    i recently switched to pfSense 2.0 with a fresh install. Using the embedded version on an CF.

    The problem ist that the partitions who should be ro are mounted rw. So i guess the CF would last long.
    I executed /etc/rc.conf_mount_ro but mount -p still shows:

    /dev/ufs/pfsense0 / ufs sync,noatime 1 1
    devfs /dev devfs rw 0 0
    /dev/md0 /tmp ufs rw 2 2
    /dev/md1 /var ufs rw 2 2
    /dev/ufs/cf /cf ufs sync,noatime 1 1
    devfs /var/dhcpd/dev devfs rw 0 0

    How is this possible? Only used the snort stable package for a short time. But its removed already.
    Any idea how i can fix this? Or for what i can look? I am a but clueless right now.


  • Netgate Administrator

    This is a known bug. http://redmine.pfsense.org/issues/1279
    It won't cause your CF card to fail though since nothing writes to the card anyway. Mounting it RO just ensures this.

    Steve

    Edit: See this thread for more.



  • If you do this from the shell, instead of the WebGUI, it shows the ro flag.

    EDIT- Here is the command from the same box ssh first, and then Diag, Command

    _/dev/ufs/pfsense0      /                      ufs    ro,sync,noatime        1 1
    devfs                  /dev                    devfs  rw              0 0
    /dev/md0                /tmp                    ufs    rw              2 2
    /dev/md1                /var                    ufs    rw              2 2
    /dev/ufs/cf            /cf                    ufs    ro,sync,noatime        1 1
    devfs                  /var/dhcpd/dev          devfs  rw              0 0

    /dev/ufs/pfsense0 / ufs sync,noatime 1 1
    devfs /dev devfs rw 0 0
    /dev/md0 /tmp ufs rw 2 2
    /dev/md1 /var ufs rw 2 2
    /dev/ufs/cf /cf ufs sync,noatime 1 1
    devfs /var/dhcpd/dev devfs rw 0 0_


  • Netgate Administrator

    Hmm, that's pretty odd!  ???

    Are you logged in as admin or root at the shell?

    Steve



  • SSH'd in as admin, dropped to shell from menu.


  • Rebel Alliance Developer Netgate

    Diag > Command will always show rw because it switches to rw to run your command.

    Only when viewed from the shell on the console/ssh will you see ro.


Log in to reply