Bug 248233 - devel/py-buildbot add buildbot user
Summary: devel/py-buildbot add buildbot user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Muhammad Moinur Rahman
URL: https://www.freebsd.org/doc/en_US.ISO...
Keywords: needs-patch, needs-qa
Depends on:
Blocks: 248234
  Show dependency treegraph
 
Reported: 2020-07-24 01:46 UTC by ari
Modified: 2022-03-17 06:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ari 2020-07-24 01:46:40 UTC
Since buildbot uses a special user by default, it should be bundled with the port to avoid an error the first time this is run:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/users-and-groups.html
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-24 02:11:32 UTC
Thank you Ari,

Can you clarify what the impact/behaviour is at first run?
Comment 2 ari 2020-07-24 02:27:06 UTC
Is the buildbot user is not added, the buildbot worker cannot run.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2022-03-07 19:55:04 UTC
Maintainer reset.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-17 06:00:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bdbbd6040a86373eb5bf4a33d0adb8331326c6d4

commit bdbbd6040a86373eb5bf4a33d0adb8331326c6d4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-17 05:53:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-17 05:59:41 +0000

    Add buildbot user and group

    devel/py-buildbot and devel/py-buildbot-worker requires a user buildbot
    which is used in the rc script to drop privileges to unfortunately the
    respective users and group do not exist.

    PR:             248233
    Reported by:    ari@ish.com.au

 GIDs | 2 +-
 UIDs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)