Group/User Issues after Upgrade Render Firewall Unusable



  • I upgraded from a late August snapshot to this version:

    2.0-BETA4  (i386)
    built on Sat Sep 4 03:34:04 EDT 2010

    After the upgrade, my FW rebooted but it isn't starting any of my necessary services: dhcpd, ntpd, dnsmasq.  The web interface, however, works.  It also isn't routing any of my packets to the Internet - I had to bypass it.  When I try to start these services I get user/group permission related error messages.  For example, this is the output from dnsmasq and dhcpd:

    Sep 4 11:18:16 php: /status_services.php: The command '/usr/local/sbin/dnsmasq –local-ttl 1 --all-servers --rebind-localhost-ok --stop-dns-rebind --dns-forward-max=5000 --cache-size=10000 ' returned exit code '1', the output was ' dnsmasq: unknown user or group: nobody'
    Sep 4 11:18:18 dhcpd: Internet Systems Consortium DHCP Server V3.0.7
    Sep 4 11:18:18 dhcpd: Copyright 2004-2008 Internet Systems Consortium.
    Sep 4 11:18:18 dhcpd: All rights reserved.
    Sep 4 11:18:18 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Sep 4 11:18:18 dhcpd: no such user: dhcpd
    Sep 4 11:18:18 dhcpd: no such user: dhcpd
    Sep 4 11:18:18 php: /status_services.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /var/dhcpd/etc/dhcpd.conf re1 re2' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server V3.0.7 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ no such user: dhcpd'
    Sep 4 11:18:18 getty[23186]: getty: unknown gettytab entry 'default'
    Sep 4 11:18:18 getty[23186]: getty: unknown gettytab entry 'default'
    Sep 4 11:18:18 getty[23186]: getty: unknown gettytab entry 'Pc'
    Sep 4 11:18:18 getty[23186]: getty: unknown gettytab entry 'Pc'
    Sep 4 11:18:18 getty[23186]: getty: unknown gettytab entry 'Pc'
    Sep 4 11:18:18 getty[23186]: tcsetattr /dev/ttyv0: Operation not supported



  • In addition, if this makes a difference, I did a clean install but then reapplied my earlier configuration file.  Could this have affected my user/group permissions?  Overall, I am trying to avoid another reinstall as I have to open the box up to do so.



  • I tried resetting to factory defaults and noticed the following error that posts right before the interface assignment:

    Warning: chown(): Unable to find uid for root in /etc/inc/config.lib.inc on line 793



  • I apologize for the frequent posts, I'm just trying to get as much information out there as I can.  I interrupted the pfsense init process and took a look at my master.passwd file.  It appeared to be fine, so I ran the following command:

    pwd_mkdb -p /etc/master.passwd

    This appears to have fixed the user/group issues that I was seeing.  The only remaining issue is that the terminal never makes it to the pfsense console menu.  It hangs right after it says "Bootup Complete."  I also noticed that my system log is being flooded with the following:

    Sep 4 12:21:30 getty[44978]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:21:30 getty[44978]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:21:30 getty[44978]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:21:30 getty[44978]: tcsetattr /dev/ttyv0: Operation not supported
    Sep 4 12:21:30 getty[44978]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:21:30 getty[44978]: tcsetattr /dev/ttyv0: Operation not supported
    Sep 4 12:21:30 init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs
    Sep 4 12:21:30 init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'default'
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'default'
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:22:00 getty[45308]: tcsetattr /dev/ttyv0: Operation not supported
    Sep 4 12:22:00 getty[45308]: getty: unknown gettytab entry 'Pc'
    Sep 4 12:22:00 getty[45308]: tcsetattr /dev/ttyv0: Operation not supported

    Thoughts on fixing this?



  • Both issues are resolved after upgrade to the 2.0-BETA4 (i386) build snapshot from Sun Sep 5 17:43:03 EDT 2010.


Log in to reply