On Tue, Dec 25, 2012 at 3:01 AM, Canek Peláez Valdés <can...@gmail.com> wrote:
> [ snip ]
> * Really simple service unit files: The service unit files are really
> small, really simple, really easy to understand/modify. Compare the 9
> lines of sshd.service:
>
> $ cat /etc/systemd/system/sshd.service
> [Unit]
> Description=SSH Secure Shell Service
> After=syslog.target
>
> [Service]
> ExecStart=/usr/sbin/sshd -D
>
> [Install]
> WantedBy=multi-user.target
>
> with the 84 of /etc/init.d/sshd (80 without comments).
>
[snip]
>
> Hope it helps.
>
> Regards.
> --
> Canek Peláez Valdés
> Posgrado en Ciencia e Ingeniería de la Computación
> Universidad Nacional Autónoma de México
>

I've not yet made the leap, as the benefit of faster boot really
doesn't affect me between systems that're always on and laptops that
typically spend 75% of their time asleep, rather than ever getting
turned off, so I'm in no position to speak for or against the whole of
systemd's changes... but one issue I've had with the claimed benefits
is the reduction in size compared to startup scripts like
/etc/init.d/sshd ... based on that service declaration above, it's a
horribly unfair comparison. /etc/init.d/sshd is doing a lot more than
simply starting/stopping the service and dropping all of that
functionality, then claiming "these few lines serve the same purpose"
isn't an equal comparison. It would still be a (notable, at that) drop
in size if the shell script was redone to provide exactly the same set
of features, then compared, but that size difference wouldn't have the
same shock value as the comparison against 80+ lines. The argument
that those functions should be handled by the service rather than the
service handler is for another day, 'course.

I'll eventually get around to switching to play with systemd, at the
very least to learn its quirks enough to work with it, and it's very
helpful to have a clearly stated set of _favorable_ comments on it
(compared to the majority of less favorable commentary) to look
forward to, so don't take my having one issue with the list as
anything against either the list as a whole or your effort in putting
all that together, as both are very much appreciated.

Happy holidays.

-- 
Poison [BLX]
Joshua M. Murphy

Reply via email to