[ubuntu-studio-devel] rtirq for systemd
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Mon Jul 25 20:55:11 UTC 2016
Hi,
as it turned out during a request regarding lightdm [1], Ubuntu packages
should have completely migrated to systemd. However, even while
upstream, Rui provides a systemd unit, the Ubuntu packages for 16.04
and 16.10 don't provide a unit at all [2], but rely on
systemd-sysv-generator.
What is your opinion on that?
Moving it to /bin has got the advantage, that you never need to run
/path/to/rtirq satus
you only need to run
rtirq status
in addition there would no systemd-sysv-generator related issue
anymore and a systemd unit could be used. Not to mention, that getting
rid of this hybrid approach, it becomes easier to maintain an install.
Regards,
Ralf
[1]
From the latest mail,
https://lists.ubuntu.com/archives/ubuntu-users/2016-July/286299.html :
On Mon, 25 Jul 2016 21:38:33 +0200, Oliver Grawert wrote:
>you should complain to the rtirq maintainers then (the debian
>multimedia team) for not porting it to systemd yet
I wonder why they rely on systemd-sysv-generator.
That's from upstream, Rui, the one who wrote the script, not Debian,
aka Ubuntu's upstream, http://www.rncbc.org/jack/rtirq-20150216.tar.gz ,
IIRC he's using Suse:
[Unit]
Description=Realtime IRQ thread system tuning
After=multi-user.target sound.target
[Service]
Type=oneshot
ExecStart=/etc/init.d/rtirq start
ExecStop=/etc/init.d/rtirq stop
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
On Arch Linux it's moved to /usr/bin/:
[rocketmouse at archlinux ~]$ cat /usr/lib/systemd/system/rtirq.service
[Unit]
Description=Realtime IRQ thread system tuning
After=multi-user.target sound.target
[Service]
Type=oneshot
ExecStart=/usr/bin/rtirq start
ExecStop=/usr/bin/rtirq stop
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
From the Arch PKGBUILD:
sed -e "s|etc/init.d|usr/bin|" -i rtirq.service
Debian doesn't provide it at all:
"File list of package rtirq-init in sid of architecture all
/etc/default/rtirq
/etc/init.d/rtirq
/usr/share/doc/rtirq-init/changelog.Debian.gz
/usr/share/doc/rtirq-init/copyright" -
https://packages.debian.org/sid/all/rtirq-init/filelist
I'll talk it over with the Ubuntu Studio team, instead of talking to
Debian packagers.
[2]
"File list of package rtirq-init in xenial of architecture all
/etc/default/rtirq
/etc/init.d/rtirq
/usr/share/doc/rtirq-init/changelog.Debian.gz
/usr/share/doc/rtirq-init/copyright" -
http://packages.ubuntu.com/xenial/all/rtirq-init/filelist
http://packages.ubuntu.com/yakkety/all/rtirq-init/filelist
More information about the ubuntu-studio-devel
mailing list