Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2020 10:40:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244596] pkgbase: duplicate files and directories in `make packages`
Message-ID:  <bug-244596-227-rcVv2igFvX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244596-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244596-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Martin <martin.jakob@gmx.com> ---
The lua script also finds errors in regard to some hardlinks

error: entries point to the same inode but have different meta:
./root/.profile,./.profile in line 2126,2127. off by "mode"

which comes from the different mode settings between the "hardlinked" files:

./.profile       type=file  uname=root  gname=wheel  mode=0555  size=567 
tags=package=runtime
./root/.profile  type=file  uname=root  gname=wheel  mode=0644  size=567 
tags=package=runtime,config

these:
error: entries point to the same inode but have different meta:
./root/.cshrc,./.cshrc in line 2149,2153. off by "mode"
->
./.cshrc       type=file  uname=root  gname=wheel  mode=0555  size=1083 
tags=package=runtime
./root/.cshrc  type=file  uname=root  gname=wheel  mode=0644  size=1083 
tags=package=runtime,config

error: entries point to the same inode but have different meta:
./etc/pam.d/ftp,./etc/pam.d/ftpd in line 2363,2361. off by "mode"
->
./etc/pam.d/ftp   type=file  uname=root  gname=wheel  mode=0555  size=528 
tags=package=utilities
./etc/pam.d/ftpd  type=file  uname=root  gname=wheel  mode=0644  size=528 
tags=package=utilities,config

and a more hardlinks in the /usr/libexec/dwatch/ directory:
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/ip-receive,./usr/libexec/dwatch/ip-send,./usr/libexec/dwatch/ip
in line 3486,3487,3414. off by "mode"
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/openat,./usr/libexec/dwatch/open in line 3488,3429. off by
"mode"
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/proc-exit,./usr/libexec/dwatch/proc-exec-failure,./usr/libexec/dwatch/proc-exec,./usr/libexec/dwatch/proc-signal-discard,./usr/libexec/dwatch/proc-create,./usr/libexec/dwatch/proc-signal-send,./usr/libexec/dwatch/proc-exec-success,./usr/libexec/dwatch/proc-status,./usr/libexec/dwatch/proc-signal,./usr/libexec/dwatch/proc-signal-clear,./usr/libexec/dwatch/proc
in line 3495,3492,3491,3498,3490,3499,3494,3500,3496,3497,3432. off by "mode"
...

maybe there is an easy fix for this?

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244596-227-rcVv2igFvX>