:: Re: [DNG] How to unmerge /usr (was …
Pàgina inicial
Delete this message
Reply to this message
Autor: KatolaZ
Data:  
A: dng
Assumpte: Re: [DNG] How to unmerge /usr (was Re: /usr to merge or not to merge... that is the question)
On Thu, Nov 29, 2018 at 09:18:38PM +0900, Olaf Meeuwissen wrote:
> Hi Karl,
>
> karl@??? writes:
>
> > Rich Moen:
> >> Quoting KatolaZ (katolaz@???):
> > ...
> >> > # ldd /bin/ps | grep "/usr"
> >> >         liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fd7f6ebc000)

> >>
> >> Yeah, those two are really annoying. FWIW, my server system has older
> >> versions of those two utilities that do _not_ have that (IMO) build
> >> error. Local packages will be an immediate resort, when/if I hit that.
> > ...
> >
> > Attached is a program to find possible /-/usr link breakage.
> > It could possible be changed into an un-usrmerge-program if we want.
>
> Looks like your script is ignoring any symlinks in /bin and /sbin that
> point to stuff in /usr ...
> Or elsewhere not on the partition that holds / ...
> :-/
>


Actually, that would amount to getting down a quite deep rabbit
hole. Those links, even if they exist, might have been created by the
postinst script of some package, or by the local sysadmin. In the
former case, removing them blindly will probably cause at least a dpkg
error at the next upgrade of the corresponding package. In the latter
case, removing them blindly might possibly cause breakage to some
functionality put in place by the sysadmin and/or undesired
side-effects.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]