Bug#1050001: Practical problems with proposed symlink farming: diversions
- To: Ansgar <ansgar@43-1.org>, 1050001@bugs.debian.org
- Subject: Bug#1050001: Practical problems with proposed symlink farming: diversions
- From: Andreas Metzler <ametzler@bebt.de>
- Date: Fri, 1 Sep 2023 19:09:22 +0200
- Message-id: <[🔎] ZPIawtMH71Aroko2@argenau.bebt.de>
- Reply-to: Andreas Metzler <ametzler@bebt.de>, 1050001@bugs.debian.org
- In-reply-to: <1934f2144be9a0dee9b04478a85facb9aac973c2.camel__14175.0074735441$1693583493$gmane$org@43-1.org>
- References: <25823.5706.112593.999861@chiark.greenend.org.uk> <1934f2144be9a0dee9b04478a85facb9aac973c2.camel__14175.0074735441$1693583493$gmane$org@43-1.org> <25823.5706.112593.999861@chiark.greenend.org.uk>
On 2023-09-01 Ansgar <ansgar@43-1.org> wrote:
> Hi,
> a practical thing with usrmerge and legacy layout[1] is the following:
> assume you do not want programs to find a specific program via PATH
> lookup or even a fully-qualified path.
> Then a user can just divert that single program away (or just remove
> it, depending on details).
> With Jackson's proposed symlink farms this property goes away:
> users now have to handle both the copy in / and /usr!
[...]
Hello,
I do not think this is the case.
A) The proposed /bin/ will not contain symlinks for everything in
/usr/bin but just for files that used to live there. I am not sure
how common it is to divert one of this subset in the first place.
B) I Think diverting the real file in /usr/bin would be enough, the
now broken symlink in /bin should not be found by normal path search -
At least that is true for bash, dash and tcsh, also test -x does not
succeed on the symlink.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: