[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Nov 2023 12:58:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275449 Bug ID: 275449 Summary: certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - Virtual machine with UFS / and /usr (separate) - In it, FreeBSD main at 51e7276365bad2871257ef121cead2c19bcd7434 - Running buildworld buildkernel - Running installkernel installworld DESTDIR=/usr/tmp/x (the intent is to install to a temporary directory first to view the changes to the current installation) Result: - The files in /usr/tmp/x/etc/ssl/{certs,untrusted} are hard links to the files in /usr/tmp/x/usr/share/certs. - However, the files in /etc/ssl/{certs,untrusted} are (and should be) symbolic links to those in /usr/share/certs. - Blindly copying what is in /usr/tmp/x to / would break the hard link, resulting in duplicate regular files. The root cause is that in certctl, the argument to "install" has been changed from "-lrs" to "-lm", leading to destination-dependent results. For the sake of consistency it would be good to revert this particular change. -- Martin -- You are receiving this mail because: You are the assignee for the bug.