[Bug 240582] pkgbase: error "cap_mkdb: file argument: No such file or directory" after r351858

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 14 16:50:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240582

            Bug ID: 240582
           Summary: pkgbase: error "cap_mkdb: file argument: No such file
                    or directory" after r351858
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: martin.jakob at gmx.com

Building a jail from pkgbase packages after base r351858 shows this cap_mkdb
message:

to create the jail this command is used:

pkg --rootdir /jails/test01 -o 'ASSUME_ALWAYS_YES=true' -o
'ABI=FreeBSD:13:amd64' install --repository FreeBSD-base FreeBSD-utilities
FreeBSD-rc
(note: FreeBSD-base is the repository name, not a package)

...
Checking integrity... done (0 conflicting)
[1/20] Installing FreeBSD-clibs-13.0.s20190914152450...
[1/20] Extracting FreeBSD-clibs-13.0.s20190914152450: .......... done
[2/20] Installing FreeBSD-runtime-13.0.s20190914152450...
[2/20] Extracting FreeBSD-runtime-13.0.s20190914152450: .......... done
cap_mkdb: file argument: No such file or directory
[3/20] Installing FreeBSD-utilities-13.0.s20190914152450...
[3/20] Extracting FreeBSD-utilities-13.0.s20190914152450: .......... done
[4/20] Installing FreeBSD-rc-13.0.s20190914152450...
[4/20] Extracting FreeBSD-rc-13.0.s20190914152450: .......... done
...

This happens, after the login.conf file was moved into the Freebsd-utilities
package.
The order in which the packages are installed is problematic, since cap_mkdb is
executed in step 2, the FreeBSD-runtime package installation,
but the login.conf file is installed in step 3, the FreeBSD-utilities.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list