Bug#1064785: brltty: installs same filename to both bin and sbin

2024-02-26 Thread cacin
Source: brltty
Followup-For: Bug #1064785

> I haven't checked yet, but are these two versions of file:brltty 
> actually the same?

Yes, /sbin/brltty is a symlink to /bin/brltty

> But in Debian we're not there yet.

You are correct, but it is a direction that is being explored right now,
and debootstrap allows testing such a filesystem layout to find out what
would break.

Fedora did a nice writeup on this
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

> Suggesting a move from /bin to /usr/bin is not without danger

That is true, and that's part of the usrmerge efforts and packages will
hopefully move the affected files in time for debian trixie release.

However, merging bin and sbin is not part of the current usrmerge, it is
something that could be called usrmerge2.0 or sbinmerge or something
else.

The reason why the file loss in usrmerge happens is exactly because the
filesystem layout was merged *before* packages moved their files to the
new canonical locations. It is therefore preferable to get rid of file
conflicts as a result of the same file being in /usr/bin and /usr/sbin
before bin and sbin are merged, and that is why this bug was filed.



Bug#1064785: brltty: installs same filename to both bin and sbin

2024-02-25 Thread Paul Gevers

Hi Cacin,

On 25-02-2024 10:47 p.m., ca...@allfreemail.net wrote:

your package installs the filename brltty to both bin and sbin as opposed to 
just one of those locations.


I haven't checked yet, but are these two versions of file:brltty 
actually the same?



This causes a problem on a filesystem layout where bin and sbin are merged into 
a single real directory, typically by sbin being a symlink to bin. Such a 
filesystem layout has become standard on some distributions now, and others are 
moving onto in their next releases.


Sure. But in Debian we're not there yet. And given the merged-/usr mess 
[1], we'll might not adventure there soon. And hopefully not with a symlink.



Please pick one location and install it only there. /usr/bin is preferred over 
any other location.


Suggesting a move from /bin to /usr/bin is not without danger, exactly 
because of the very similar merged-/usr transition that's currently 
being clean-up. There's the danger that files get lost upon upgrade (P1 
in [1]) if this is done incorrectly.


Paul

[1] https://subdivi.de/~helmut/dep17.html


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1064785: brltty: installs same filename to both bin and sbin

2024-02-25 Thread cacin
Source: brltty
Severity: normal

Dear Maintainer,

your package installs the filename brltty to both bin and sbin as opposed to 
just one of those locations.

This causes a problem on a filesystem layout where bin and sbin are merged into 
a single real directory, typically by sbin being a symlink to bin. Such a 
filesystem layout has become standard on some distributions now, and others are 
moving onto in their next releases.

Please pick one location and install it only there. /usr/bin is preferred over 
any other location.

Thank you for maintaining software in debian.