On 03/11/2012 08:34 PM, Bruce Dubbs wrote:
> Armin K. wrote:
>
>> It is not about systemd, it is about ConsoleKit ... ConsoleKit has been
>> discontinued in favour of systemd-logind (new user seat manager), and it
>> is just question of time when we will have to add it in the book for
>> that sake. As for an init system, it is very fast,
>
> How fast? My system boots in 8 seconds (mostly udev). On a kvm system,
> a reboot takes less than 2 seconds. How much time will I gain?
>
Startup finished in 1s 655ms 874us (kernel) + 19s 811ms 430us
(userspace) = 21s 467ms 304us.
On Pentium 4 2.8GHz and 1024MB of RAM with lots of services.
acpid, avahi, cronie, rsyslog, udev, dbus, network-manager, ntp, cups,
ssh and lightdm.
>> but it does have some
>> unnecesary features for "normal users" and yet even worse, too many
>> features for "minimalists" ...
>
> Are you British? It sounds like a classic British understatement.
>
No I am not.
> But that can be trimmed down.
>
> It's still opaque. One of the goals of LFS/BLFS is to enlighten users
> about things like the boot process. Reading a file like /etc/inittab
> and /etc/rc.d/init.d/rc is simple. Hiding details in 93234 lines of C
> code is not simple.
>
> Compare with
>
> sysvinit.{c,h}: 9715 lines
> inittab : 26 lines
> rc : 219 lines
> init-functions: 777 lines
>
It's not just /sbin/init ... Systemd can do lot more ... It has
integrated syslog, journal, login daemon, it can handle encrypted
volumes, start services "on demand" (one of my favourite features since
I am on poor hw) and such. Also, my most favourite feature is about it's
unit simplicity, you don't have to know scripting to make an initscript
to work (I suck at scripting).
>> I may write a blog entry about systemd and BLFS ... I'll let you know.
>
> An LFS hint would be reasonable.
>
> -- Bruce
I'll look at it when I have some spare time.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page