Re: Bonehead Move, noexec

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

 



Tim wrote:
On Thu, 2007-02-15 at 17:37 +0000, Andy Green wrote:

Are there any other reasons to have partitions and LVM on boxes with
one storage device and no possibility for internal expansion?

I don't see much point of using LVM on a PC that can't possibly have
more than one hard drive, but partitions do still have their uses.  You
can mount certain things using file systems more efficient for the
purpose, you can mount certain things with protective restrictions (such
as noexec, nodev, etc.), and so on...

I guess that's a real benefit if you want to customize your fstab accordingly. But I also guess few users who have multi partitions are doing this. I think it is common mainly because it is the orthodoxy that admins with hair on their chest do it.

BTW I learnt on this list a year or two ago from someone that noexec can't be understood as generically stopping execution of anything from that mountpoint and can be a false comfort indeed. Try this:

$ cp /bin/ls .
$ chmod -x ./ls
$ ls -l ./ls
-rw-r--r-- 1 user user 93560 Feb 16 11:01 ./ls
$ ./ls
bash: ./ls: Permission denied
$ /lib/ld-linux.so.2 ./ls
...

/tmp isn't nodev by default either, but you can change that if you were hardening it all up I suppose. Point taken then, but it is pretty specialized and maybe not a reason for everyone to get LVM by default.

-Andy

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

  Powered by Linux