Ticket #29 (closed defect: fixed)
errors on commit and audit due to coreutils not installed
| Reported by: | erik | Owned by: | confman-developers@… |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | FreeBSD Support | Version: | 1.9.0b |
| Keywords: | coreutils dependency | Cc: |
Description
Hi
When running confman commit, I ran across the following errors.
confman[24325]: erik: Commit operation started
erik@[host]'s password:
Adding /home/erik/src/conf/core/etc
Adding /home/erik/src/conf/core/etc/resolv.conf
Transmitting file data .
Committed revision 5.
Rolling on core...
/usr/local/bin/sudo install -Sp -d -o root -g wheel -m 0755 /etc
confman[24325]: erik: /usr/local/share/confman/confmanlib.sh: line 447: greadlink: command not found
confman[24325]: erik: /usr/local/share/confman/confmanlib.sh: line 219: greadlink: command not found
/usr/local/bin/sudo install -Sp -o root -g wheel -m 0444 /etc/resolv.conf
confman[24325]: erik: usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
confman[24325]: erik: [-o owner] file1 file2
confman[24325]: erik: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
confman[24325]: erik: [-o owner] file1 ... fileN directory
confman[24325]: erik: install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Rolling on ks1-host...
confman[24325]: erik: Commit operation finished successfully
This error resulted in the committed file not installing in the
filesystem, contrary to the above message saying the commit operation finished successfully.
I get similar errors when running confman audit.
It looks like the FreeBSD port doesn't specify sysutils/coreutils
as a dependency. Once I installed coreutils, these problems
went away, with audit correctly showing that the above commit wasn't
installed to the filesystem and a subsequent commit fixing that
problem.
Erik

The dependency listing has been fixed upstream in confman-1.9.0b_2.