Date: Mon, 15 Oct 2018 15:54:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232292] pkgbase seems to have problems with certain hardlinks Message-ID: <bug-232292-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232292 Bug ID: 232292 Summary: pkgbase seems to have problems with certain hardlinks Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bz@FreeBSD.org In a few places in the world build infrastructure we have a target, such as: lib/libpam/pam.d/Makefile: 26 .if ${MK_FTP} != "no" 27 CONFGROUPS+= FTP 28 FTP+= ftpd 29 FTPPACKAGE+= ftp 30 31 afterinstallconfig: 32 ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd ${DESTDIR}${CONFDIR}/ftp 33 .endif The problem seems that this hardlink is a not getting a ",config" in the TAG_ARGS automatically, and later on seems to create problems when creating packages: pkg: Plist error, @config /etc/pam.d/ftpd: not a regular file pkg: Plist error, @config /root/.cshrc: not a regular file pkg: Plist error, @config /root/.profile: not a regular file % grep pam.d METALOG | grep ftp ./etc/pam.d/ftpd type=file uname=root gname=wheel mode=0644 size=528 tags=package=runtime,config ./etc/pam.d/ftp type=file uname=root gname=wheel mode=0555 size=528 tags=package=runtime % grep pam.d *.plist | grep ftp runtime.plist:@(root,wheel,0555,) /etc/pam.d/ftp runtime.plist:@config(root,wheel,0644,) /etc/pam.d/ftpd I am not yet sure how this will translate into the hardlink re-created properly when the package will be installed? PS: MLINKS seem to be fine for some reason probably because they are handled in the infrastructure, but not manually in the application/library specific Makefiles manually? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232292-227>
