[MacPorts] #63904: rabbitmq-server @3.8.3: rabbitmq group created with wrong gid (was: rabbitmq-server 3.8.3: rabbitmq group created with wrong gid)

MacPorts noreply at macports.org
Wed Nov 10 19:29:10 UTC 2021


#63904: rabbitmq-server @3.8.3: rabbitmq group created with wrong gid
------------------------------+--------------------
  Reporter:  knightcode       |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.1
Resolution:                   |   Keywords:
      Port:  rabbitmq-server  |
------------------------------+--------------------
Changes (by ryandesign):

 * keywords:  rabbitmq =>


Comment:

 I don't see how that can be possible.

 It's not what I see when I download http://packages.macports.org/rabbitmq-
 server/rabbitmq-server-3.8.3_0.darwin_17.noarch.tbz2 and check its
 contents:

 {{{
 $ tar tvf rabbitmq-server-3.8.3_0.darwin_17.noarch.tbz2 | grep mnesia
 -rw-r--r--  0 root   rabbitmq   58028 Mar  9  2020
 ./opt/local/lib/rabbitmq/lib/rabbitmq_server-3.8.3/ebin/rabbit_mnesia.beam
 -rw-r--r--  0 root   rabbitmq   21528 Mar  9  2020
 ./opt/local/lib/rabbitmq/lib/rabbitmq_server-3.8.3/ebin/rabbit_mnesia_rename.beam
 drwxrwxr-x  0 root     rabbitmq       0 May 20  2020
 ./opt/local/var/lib/rabbitmq/mnesia/
 -rw-r--r--  0 root     rabbitmq       0 May 20  2020
 ./opt/local/var/lib/rabbitmq/mnesia/.turd_rabbitmq-server
 }}}

 The [browser:macports-ports/net/rabbitmq-server/Portfile Portfile] clearly
 shows that the directory is getting created with the right group:
 {{{
     xinstall -d -g [existsgroup ${servergroup}] -m 0775
 ${destroot}${mnesiadbdir}
 }}}

 2147483647 is a peculiar value for a uid or gid. 2147483647 is the largest
 signed 32-bit integer. I don't know how you ended up with the rabbitmq
 group's gid being that value. uids and gids are usually quite small. uids
 and gids created by MacPorts use the next free id starting at 501.

-- 
Ticket URL: <https://trac.macports.org/ticket/63904#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list