Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pw groupdel returned exit code '65'

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 980 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      azzido
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • C Offline
        cmb
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • A Offline
          azzido
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.