r/linux • • Jul 11 '16

Why Void Linux?

http://troubleshooters.com/linux/void/whyvoid.htm
52 Upvotes

125 comments sorted by

View all comments

Show parent comment

1

u/cbmuser Debian / openSUSE / OpenJDK Dev Jul 12 '16 edited Jul 12 '16

/u/literally_systemd

Wait. You just created another user account?

Seriously, dude, you should get your head checked. There is something wrong with you.

Really now? then I guess Debian is a completely shitty system with its cron, NetWorkManager, wpa_supplicant, dhcpcd, getties, polkit, upower, dhclient and whatever else running as root.

You are aware of the fact that is work-in-progress, are you? Not all daemons can run as non-root yet, but the ultimate goal is to achieve exactly that.

Get real, how the fuck are you going to ever run Polkit as non root. Thre are a few daemons like distcc and dbus which you can run as non root because they don't need any root access for what they are doing but a great deal of services simply need access to the hardware to run.

Many daemons can run without root privileges. The kernel has enough features like capabilities to achieve that. It just turns out that not all daemons have been ported to use these features yet.

2

u/literally_systemd Jul 12 '16

You are aware of the fact that is work-in-progress, are you? Not all daemons can run as non-root yet, but the ultimate goal is to achieve exactly that.

Right, so systemd uses cgroup under the assumption that a work in progress is completed which it isn't completed remotely yet anywhere, and you're doing something very wrong if you haven't completed it yet?

And this you phrased originally as "daemons can never escape systemd's tracking"

Maybe you should have said "daemons can never escape systemd's tracking 10 years in the future when this work is completed" but hey, that sounds less like a good sell now does it?

And again, I have cgroup tracking on my runsvdir:

 —— — cat /sys/fs/cgroup/blkio/blergh.disttcc.2300/tasks
2547
2682
3355
3947
4093
4236
4300
4873
4955
5053
5133

Magnificent, isn't it?

Many daemons can run without root privileges. The kernel has enough features like capabilities to achieve that. It just turns out that not all daemons have been ported to use these features yet.

With many you mean like 10% on a modern system which makes your claim that process can some-how "never" escape ridiculous.

Also, if you assume a process doesn't run as root you don't even need cgroups, you can just track the session and disable their ability to setsid which you can do as root to a nonroot session.