OT: 16.04: Graphical login/desktop vanished?

Ralf Mardorf silver.bullet at zoho.com
Mon Jul 25 21:30:26 UTC 2016


On Mon, 25 Jul 2016 23:18:58 +0200, Ralf Mardorf wrote:
>OT:
>
>Hi,
>
>I send a separated reply for the OT.
>
>On Mon, 25 Jul 2016 22:49:36 +0200, Oliver Grawert wrote:
>>> sed -e "s|etc/init.d|usr/bin|" -i rtirq.service    
>>
>>so arch uses the exact same setup just in a different path and via a
>>hack at build time, but you call ubuntu a hybrid ?  
>
>It's not an official Arch package, it's from the user repository.
>However, in this case it makes much sense to put rtirq to /bin, apart
>from this it's as close as possible to upstream. I suspect that Rui
>stayed with initd, for backwards compatibility with scripts many
>musicians have written in the past. Suse likely has dropped
>systemd-sysv-generator, so the location might not cause an issue.
>
>If it's moved to /bin you can get e.g. the status, not the unit status,
>but the rt prio status, without running
>
>  /path/to/rtirq status
>
>you only need to run
>
>  rtirq status
>
>for the rtirq script and the way it is used, it's the best location,
>apart from a backwards compatible location in init.d.
>
>To chose /lib/systemd/system/ wouldn't make sense.
>
>I sent a request to Ubuntu Studio devel:
>
>https://lists.ubuntu.com/archives/ubuntu-studio-devel/2016-July/007954.html

I guess my wording regarding /lib/systemd/system/ and status is broken ;).
I should explain the status thingy:

[rocketmouse at archlinux ~]$ systemctl status rtirq
● rtirq.service - Realtime IRQ thread system tuning
   Loaded: loaded (/usr/lib/systemd/system/rtirq.service; enabled; vendor preset: disabled)
   Active: active (exited) since Mon 2016-07-25 20:23:06 CEST; 3h 1min ago
  Process: 569 ExecStart=/usr/bin/rtirq start (code=exited, status=0/SUCCESS)
 Main PID: 569 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 512)
   CGroup: /system.slice/rtirq.service

Jul 25 20:23:05 archlinux systemd[1]: Starting Realtime IRQ thread system tuning...
Jul 25 20:23:06 archlinux rtirq[569]: Setting IRQ priorities: start [snd_hdsp] irq=18 pid=313 prio=90: OK.
Jul 25 20:23:06 archlinux systemd[1]: Started Realtime IRQ thread system tuning.


As you can see, it's correctly loaded
"/usr/lib/systemd/system/rtirq.service; enabled;"

Now the rtirq status:

[rocketmouse at archlinux ~]$ rtirq status

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
  313 FF      90   - 130  0.0 S    irq/18-snd_hdsp	
   31 FF      50   -  90  0.0 S    irq/9-acpi	
   47 FF      50   -  90  0.0 S    irq/8-rtc0	
   76 FF      50   -  90  0.0 S    irq/26-radeon	
  115 FF      50   -  90  0.0 S    irq/22-ahci[000	
  126 FF      50   -  90  0.0 S    irq/1-i8042	
  127 FF      50   -  90  0.0 S    irq/19-ehci_hcd	
  138 FF      50   -  90  0.0 S    irq/14-pata_ati	
  139 FF      50   -  90  0.0 S    irq/15-pata_ati	
  148 FF      50   -  90  0.0 S    irq/16-ohci_hcd	
  149 FF      50   -  90  0.0 S    irq/22-firewire	
  152 FF      50   -  90  0.1 S    irq/17-ohci_hcd	
  153 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
  154 FF      50   -  90  0.0 S    irq/17-ohci_hcd	
  155 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
  257 FF      50   -  90  0.0 S    irq/7-parport0	
  480 FF      50   -  90  0.0 S    irq/27-enp3s0	
    3 TS       -   0  19  0.0 S    ksoftirqd/0	
   16 TS       -   0  19  0.0 S    ksoftirqd/1

Valid for all other options, not only for the status, so /bin makes 
absolutely sense.




More information about the ubuntu-users mailing list