Changing ClamAV user
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jan 2022 09:29:06 UTC
Hello. I'm using Poudriere with 2021Q1 branch. Due to MIMEDefang needing this, I used to set CLAMAVUSER=mailnull in /usr/local/etc/poudriere.d/make.conf. Last time it didn't work. I saw #259987, so changed CLAMAVUSER=mailnull to _CLAMAVUSER=mailnull. Alas now building clamav fails in the stage phase with: > ===> Creating users > ** Cannot find any information about user `mailnull' in /usr/ports/UIDs. > *** Error code 1 This wasn't happening with previous quarterly. I tried adding mailnull to /usr/ports/UIDs: then clamav builds, but when I try to compile clamav-unofficial-sigs, it fails in the build-depends stage with the following log. > ===> clamav-unofficial-sigs-7.0.1 depends on executable: clamscan - not found > ===> Installing existing package /packages/All/clamav-0.104.1,1.pkg > [122amd64-default-job-01] Installing clamav-0.104.1,1... > [122amd64-default-job-01] `-- Installing arc-5.21p... > [122amd64-default-job-01] `-- Extracting arc-5.21p: .... done > [122amd64-default-job-01] `-- Installing arj-3.10.22_8... > [122amd64-default-job-01] `-- Extracting arj-3.10.22_8: .......... done > [122amd64-default-job-01] `-- Installing curl-7.80.0... > [122amd64-default-job-01] | `-- Installing libnghttp2-1.46.0... > [122amd64-default-job-01] | `-- Extracting libnghttp2-1.46.0: ....... done > [122amd64-default-job-01] | `-- Installing libssh2-1.10.0,3... > [122amd64-default-job-01] | `-- Extracting libssh2-1.10.0,3: .......... done > [122amd64-default-job-01] `-- Extracting curl-7.80.0: .......... done > [122amd64-default-job-01] `-- Installing json-c-0.15_1... > [122amd64-default-job-01] `-- Extracting json-c-0.15_1: .......... done > [122amd64-default-job-01] `-- Installing lha-1.14i_8... > [122amd64-default-job-01] `-- Extracting lha-1.14i_8: .. done > [122amd64-default-job-01] `-- Installing libmspack-0.10.1... > [122amd64-default-job-01] `-- Extracting libmspack-0.10.1: ...... done > [122amd64-default-job-01] `-- Installing libxml2-2.9.12... > [122amd64-default-job-01] `-- Extracting libxml2-2.9.12: .......... done > [122amd64-default-job-01] `-- Installing pcre2-10.39... > [122amd64-default-job-01] `-- Extracting pcre2-10.39: .......... done > [122amd64-default-job-01] `-- Installing unzoo-4.4_2... > [122amd64-default-job-01] `-- Extracting unzoo-4.4_2: .. done > ===> Creating groups. > Creating group 'clamav' with gid '106'. > Using existing group 'mail'. > ===> Creating users > Using existing user 'mailnull'. > ===> Creating homedir(s) > install: unknown group -o > pkg-static: PRE-INSTALL script failed > > Failed to install the following 1 package(s): /packages/All/clamav-0.104.1,1.pkg > *** Error code 1 > > Stop. > make: stopped in /usr/ports/security/clamav-unofficial-sigs Am I doing this wrong? What do I need to achieve this result? bye & Thanks av.