Re: /usr/local/lib*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reindl Harald <h.reindl@xxxxxxxxxxxxx> writes:

> Am 22.07.2013 13:41, schrieb lee:
>> Reindl Harald <h.reindl@xxxxxxxxxxxxx> writes:
>>> no, but "yum remove \*i686\*" should kill them :-)
>> 
>> So I have removed the i686 packages:
>> 
>> | [root@yun:~]$ yum list installed |grep 686
>> | texlive-url.noarch               3:svn16864.3.2-0.1.fc19               installed
>> | [root@yun:~]$ du -hs /usr/lib/
>> | 582M    /usr/lib/
>> | [root@yun:~]$ find /usr/lib/ -type f | wc -l
>> | 14060
>> | [root@yun:~]$ 
>> `----
>> /usr/lib/ should be empty now.  Why is it not?
>
> says who?

Since libraries are supposed to be in /usr/lib64 on 64bit systems and
the packages that provide 32bit software are removed, there aren't any
libraries left to go into /usr/lib.


> http://www.pathname.com/fhs/pub/fhs-2.3.html
> /lib : Essential shared libraries and kernel modules
>
> http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE11
> http://www.pathname.com/fhs/pub/fhs-2.3.html#REQUIREMENTS5

As I said, only 10 of over 14000 files in /usr/lib fullfill these
requirements.

> http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS7
>
>> And why are the kernel modules not in /usr/lib64/modules/?

Well ok, kernel modules aren't libraries.

> because the FHS says it and after UsrMove anything
> in /lib was merged to /usr/lib
>
> lrwxrwxrwx    1 root   root    7 2013-05-30 23:36 bin -> usr/bin
> lrwxrwxrwx    1 root   root    7 2013-05-30 23:36 lib -> usr/lib
> lrwxrwxrwx    1 root   root    9 2013-05-30 23:36 lib64 -> usr/lib64
> lrwxrwxrwx    1 root   root    8 2013-05-30 23:36 sbin -> usr/sbin

That was a very bad idea:


"/bin contains commands that may be used by both the system
administrator and by users, but which are required when no other
filesystems are mounted"[1]


The /usr file system is usually on its own partition.  Implicitly
creating a requirement to have it on the same partition as the root fs
is bad, and /bin should not be under /usr.  It violates the FHS, see
[2]: /usr/bin should hold "most user commands", and considering [1],
that excludes commands "which are required when no other filesystems are
mounted" unless you want dupes.


[1]: http://www.pathname.com/fhs/pub/fhs-2.3.html#BINESSENTIALUSERCOMMANDBINARIES
[2]: http://www.pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY

-- 
Debugger entered--Lisp error: (error "C-c C-c can do nothing useful at
this location")
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux