You are not logged in.

#1 2013-06-03 18:52:22

Jindur
Member
Registered: 2011-09-29
Posts: 184

What about /usr/local/bin + sbin merge?

With the merge of /bin and /lib folders that just happened I was curious if there was a particular reason to keep both /usr/local/bin and /usr/local/sbin as actual folders in the filesystem, instead of making /usr/local/sbin a symlink to /usr/local/bin.

Offline

#2 2013-06-03 18:55:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: What about /usr/local/bin + sbin merge?

They talked about it, the question is, how do you do it? Anything in /usr/local is usually files outside of pacman, so there's not really an upgrade path like they had here where they could move everything.

Online

#3 2013-06-03 19:06:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What about /usr/local/bin + sbin merge?

Scimmia wrote:

They talked about it, the question is, how do you do it? Anything in /usr/local is usually files outside of pacman, so there's not really an upgrade path like they had here where they could move everything.

https://mailman.archlinux.org/pipermail … 25031.html and a few next ones, up to https://mailman.archlinux.org/pipermail … 25034.html

Last edited by karol (2013-06-03 19:07:41)

Offline

#4 2013-06-03 21:36:39

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: What about /usr/local/bin + sbin merge?

I think, on the contrary, that /usr/local should be as deep as the filesystem package may own. It is absolutely none of pacman's business, what I do in local and it should be up to me to organize those folders to my needs, without every update of the filesystem package risking mayhem.

Offline

#5 2013-06-03 21:39:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What about /usr/local/bin + sbin merge?

Awebb wrote:

I think, on the contrary, that /usr/local should be as deep as the filesystem package may own. It is absolutely none of pacman's business, what I do in local and it should be up to me to organize those folders to my needs, without every update of the filesystem package risking mayhem.

This means that you agree with Allan: https://mailman.archlinux.org/pipermail … 25034.html

Allan wrote:

People do dumb things with /usr/local.

Offline

#6 2013-06-03 22:41:45

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: What about /usr/local/bin + sbin merge?

It already complains that /usr/local doesn't have standard permissions on my system. The last thing I want is for pacman to start fiddling directly with the folder hierarchy there.

People also do non-dumb things with /usr/local that the filesystem package has no way of knowing about and no right interfering with. Even Apple leaves /usr/local alone!

But, yes, if you like, I insist on my right to do dumb things with /usr/local. I just insist that dumbness is sometimes in the eye of the beholder...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-06-03 23:02:52

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: What about /usr/local/bin + sbin merge?

/usr/local/ is absolutely under the control of the system admin and the package manager has no business touching it. The converse is also true though; the system admin should not be interferring with the package managers work in /usr/{{s,}bin,lib{,64},share,include}/ etc so the distinctions between them should definitely be kept.

Offline

#8 2013-06-04 18:25:47

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: What about /usr/local/bin + sbin merge?

fukawi2 wrote:

/usr/local/ is absolutely under the control of the system admin and the package manager has no business touching it.

So that means if I have only stock packages installed via package manager, I can safely delete the /usr/local/sbin folder? Cause I know that I (the "system admin") did definitely not create that folder. But the clutter of it just sitting there in addition to /usr/local/bin -if I ever need it- annoys me (slightly) wink.

Offline

#9 2013-06-04 18:39:17

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: What about /usr/local/bin + sbin merge?

Jindur wrote:

So that means if I have only stock packages installed via package manager, I can safely delete the /usr/local/sbin folder? Cause I know that I (the "system admin") did definitely not create that folder. But the clutter of it just sitting there in addition to /usr/local/bin -if I ever need it- annoys me (slightly) wink.

It is not a good idea to mess manually with folders/files that are installed by packages. If you delete it, it will be recreated with every update of the filesystem package anyway

Offline

#10 2013-06-04 19:22:25

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: What about /usr/local/bin + sbin merge?

Alright. So I guess that folder is actually not under my complete control, in the way that it has nothing to do with the package manager anymore.
So I'll just keep it for now.

Offline

#11 2013-06-04 23:06:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: What about /usr/local/bin + sbin merge?

arojas wrote:

If you delete it, it will be recreated with every update of the filesystem package anyway

This.

Jindur wrote:

So I guess that folder is actually not under my complete control

The contents is*, pacman (actually, the filesystem package) just creates it for you since 99.9% of people either need it or don't care.

If it bothers you that much, you can use ABS to build your own "filesystem" package without any /usr/local/ paths

* Should be according to the Arch Packaging Standards unless someone writes a bad PKGBUILD which incidentally I found one of mine doing that yesterday... Accidents happen!

Last edited by fukawi2 (2013-06-04 23:07:23)

Offline

Board footer

Powered by FluxBB