[PATCH] klogd: Handle facility too when reading from /proc/kmsg
Denys Vlasenko
vda.linux at googlemail.com
Sat Jan 21 00:20:14 UTC 2012
On Friday 20 January 2012 23:03, Cristian Ionescu-Idbohrn wrote:
> On Fri, 20 Jan 2012, Denys Vlasenko wrote:
> > On Tue, Dec 27, 2011 at 2:46 PM, Karol Lewandowski <k.lewandowsk at samsung.com> wrote:
> > > Support userspace applications like udev and systemd logging directly
> > > to kernel's log buffer.
> >
> > I hate systemd.
>
> Control your feelings. Hate is low. This is not the proper place/time.
>
> > I don't understand why I need to support its idiotic design decisions.
>
> Feelings aside, because it's here and catched enough attention and it
> isn't about you.
Sorry, I am not ready to accept whatever is forced down my throat.
> It's about users. Trying to accomodate/enlighten them
> might make the difference, or not. There may be problems in doing that.
> What are those problems?
The problem is that systemd was sold as a better replacement
of init (and it indeed has some valuable ideas in that area),
but it infiltrates other areas of userspace whcih have absolutely
nothing to do with init and service monitoring job.
Here are helper programs systemd installs on Fedora machine:
$ ls -l /lib/systemd/systemd*
-rwxr-xr-x. 1 root root 22068 Nov 2 00:41 /lib/systemd/systemd-ac-power
-rwxr-xr-x. 1 root root 38656 Nov 2 00:41 /lib/systemd/systemd-binfmt
-rwxr-xr-x. 1 root root 30356 Nov 2 00:41 /lib/systemd/systemd-cgroups-agent
-rwxr-xr-x. 1 root root 51072 Nov 2 00:41 /lib/systemd/systemd-cryptsetup
-rwxr-xr-x. 1 root root 26328 Nov 2 00:41 /lib/systemd/systemd-detect-virt
-rwxr-xr-x. 1 root root 42856 Nov 2 00:41 /lib/systemd/systemd-fsck
-rwxr-xr-x. 1 root root 63576 Nov 2 00:41 /lib/systemd/systemd-hostnamed
-rwxr-xr-x. 1 root root 38644 Nov 2 00:41 /lib/systemd/systemd-initctl
-rwxr-xr-x. 1 root root 38668 Nov 2 00:41 /lib/systemd/systemd-kmsg-syslogd
-rwxr-xr-x. 1 root root 75776 Nov 2 00:41 /lib/systemd/systemd-localed
-rwxr-xr-x. 1 root root 186724 Nov 2 00:41 /lib/systemd/systemd-logind
-rwxr-xr-x. 1 root root 34552 Nov 2 00:41 /lib/systemd/systemd-modules-load
-rwxr-xr-x. 1 root root 30436 Nov 2 00:41 /lib/systemd/systemd-quotacheck
-rwxr-xr-x. 1 root root 30392 Nov 2 00:41 /lib/systemd/systemd-random-seed
-rwxr-xr-x. 1 root root 51148 Nov 2 00:41 /lib/systemd/systemd-readahead-collect
-rwxr-xr-x. 1 root root 38756 Nov 2 00:41 /lib/systemd/systemd-readahead-replay
-rwxr-xr-x. 1 root root 34520 Nov 2 00:41 /lib/systemd/systemd-remount-api-vfs
-rwxr-xr-x. 1 root root 26216 Nov 2 00:41 /lib/systemd/systemd-reply-password
-rwxr-xr-x. 1 root root 59328 Nov 2 00:41 /lib/systemd/systemd-shutdown
-rwxr-xr-x. 1 root root 38668 Nov 2 00:41 /lib/systemd/systemd-shutdownd
-rwxr-xr-x. 1 root root 34508 Nov 2 00:41 /lib/systemd/systemd-stdout-syslog-bridge
-rwxr-xr-x. 1 root root 38664 Nov 2 00:41 /lib/systemd/systemd-sysctl
-rwxr-xr-x. 1 root root 63496 Nov 2 00:41 /lib/systemd/systemd-timedated
-rwxr-xr-x. 1 root root 22024 Nov 2 00:41 /lib/systemd/systemd-timestamp
-rwxr-xr-x. 1 root root 30364 Nov 2 00:41 /lib/systemd/systemd-uaccess
-rwxr-xr-x. 1 root root 38652 Nov 2 00:41 /lib/systemd/systemd-update-utmp
-rwxr-xr-x. 1 root root 42792 Nov 2 00:41 /lib/systemd/systemd-user-sessions
-rwxr-xr-x. 1 root root 34596 Nov 2 00:41 /lib/systemd/systemd-vconsole-setup
and it does use many of them! Tell me, what can possibly systemd-localed
have with "better init and servce monitoring tool"?
Or "systemd-reply-password"? Or "systemd-fsck"? Etc...
It seems that the fact that systemd was accepted into a few Linux distributions
is used by systemd people as a backdoor to supplant many other packages,
without consent or even knowledge of the people affected.
And it is not an accident. These people do it on purpose. They build
a "platform".
I have no problem with anyone building something. I have a problem
when someone forces this "something" on me.
So, how about me playing by these rules? I don't like ifup, so
I'll remove it from busybox. And, btw, I don't like init,
I think runsvdir is better. Get ready to say goodbye to init too.
And, btw, getty will be gone too: use stty + login. I have many more
of this in store.
Would you like this?
--
vda
More information about the busybox
mailing list