Pw groupdel returned exit code '65'



  • I get this message in the system logs every time the system boots:

    
    rc.bootup: The command '/usr/sbin/pw groupdel 2001' returned exit code '65', the output was 'pw: unknown group `2001''
    
    

    The group does exist:

    
    /usr/sbin/pw groupshow -a
    wheel:*:0:root
    daemon:*:1:daemon
    kmem:*:2:root
    sys:*:3:root
    tty:*:4:root
    operator:*:5:root
    mail:*:6:
    bin:*:7:
    news:*:8:
    man:*:9:
    games:*:13:
    staff:*:20:root
    sshd:*:22:
    smmsp:*:25:
    mailnull:*:26:
    guest:*:31:root
    bind:*:53:
    unbound:*:59:
    proxy:*:62:
    _pflogd:*:64:
    _dhcp:*:65:
    authpf:*:63:
    uucp:*:66:
    dialer:*:68:
    network:*:69:
    www:*:80:
    nogroup:*:65533:
    nobody:*:65534:
    audit:*:77:
    _ntp:*:123:
    _relayd:*:913:
    all:*:1998:
    admins:*:1999:root
    freeradius:*:133:
    vnstat:*:284:
    redis:*:535:
    OpenVPN:*:2001:xxx,ccc,vvv
    
    

    But if I try to run the same command manually I get the same error:

    
    /usr/sbin/pw groupdel 2001
    pw: unknown group `2001'
    
    

    Running command with -g successfully removes the group

    /usr/sbin/pw groupdel -g 2001
    

    Has anyone run into this issue?

    Thanks!



  • Good catch, thanks. Fixed.
    https://redmine.pfsense.org/issues/6352



  • Thanks Chris! I will test it with the next snap.


Log in to reply