[arch-general] about FS#30053 and systemd service/unit file in general

solsTiCe d'Hiver solstice.dhiver at gmail.com
Mon Jun 11 04:59:56 EDT 2012


hi.
So I was playing with an archlinux guest in vbox to learn a bit about
systemd.
And I found out that the gpm.service was broken. systemctl enable or
systemctl start does not work for gpm.service.

I looked for bugs and found FS#30053
https://bugs.archlinux.org/task/30053

I just copied and pasted the feature request from the bug report and
added one more line and it worked this time.

here it is.
[Unit]
Description=GPM daemon
Requires=getty.target

[Service]
Type=forking
EnvironmentFile=/etc/conf.d/gpm
ExecStart=/usr/sbin/gpm $GPM_ARGS

[Install]
WantedBy=multi-user.target

I requested the bug to be reopened and it was denied. That's not the
problem. The problem for me is the reasoning behind the denial:
I quote
"We don't want to be using Arch-specific service files, and anything
with /etc/conf.d would be that. If you need to use special options, make
a copy of the service in /etc and change it directly. As to the missing
[Install] section, I'd open a new report."

Systemd is made to boot/init a linux distro. But our distro here is archlinux
and we are making archlinux package, right ?
I understand we ship unpatched upstream package, but do we want to ship
broken package so that they stay untouched ?

For me, systemd service/unit file are just meant to be that, tailored to
archlinux.

Well, I am a newbie systemd user, so if this is required that we
customize every broken systemd service to make it work, so be it.




More information about the arch-general mailing list