[Bug 249062] sysutils/nut: should create etc/syslog.d before copying file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 2 13:25:55 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249062
Bug ID: 249062
Summary: sysutils/nut: should create etc/syslog.d before
copying file
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: cy at FreeBSD.org
Reporter: dvl at FreeBSD.org
Assignee: cy at FreeBSD.org
Flags: maintainer-feedback?(cy at FreeBSD.org)
Created attachment 217704
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217704&action=edit
creates etc/syslog.d, bumps PORTREVSION, and adds the directory to pkg-plist.
I notice this when installing sysutils/nut on a system which did not have a
/usr/local/etc/syslog.d directory:
[2/2] Installing nut-2.7.4_14...
[2/2] Extracting nut-2.7.4_14: 100%
cp: /usr/local/etc/syslog.d/nut: No such file or directory
pkg: POST-INSTALL script failed
[dan at slocum:~] $ ls -l /usr/local/etc/syslog.d
ls: /usr/local/etc/syslog.d: No such file or directory
[dan at slocum:~] $
I could reproduce it via poudriere testport:
[121amd64-dvl] Extracting nut-2.7.4_14: 100%
cp: /usr/local/etc/syslog.d/nut: No such file or directory
pkg-static: POST-INSTALL script failed
The attached patch creates that directory, bumps PORTREVSION, and adds the
directory to pkg-plist.
I'm happy to commit this on behalf of the maintainer if so wished.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list