close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#562 closed Defekt (erledigt)

USB-Dongle funktioniert an den LtspClient nicht

Reported by: Rüdiger Kupper Owned by: Rüdiger Kupper
Priority: bei Gelegenheit Milestone: Schuljahr 2012/13
Component: Server: Linux Terminal Server (LTSP) Severity: beeinträchtigt keinen Unterricht
Keywords: Cc: bau

Description

Ursache ist offenbar ein nicht laufender bluetoothd:

root@LZ1:~# ps -ef|grep blue
root      9471  8643  0 15:07 pts/0    00:00:00 grep --color=auto blue

Man kann ihn jedoch problemlos von Hand starten:

root@LZ1:~# /usr/sbin/bluetoothd
root@LZ1:~# ps -ef|grep blue
root      9477     1  1 15:07 ?        00:00:00 /usr/sbin/bluetoothd
root      9486  8643  0 15:07 pts/0    00:00:00 grep --color=auto blue

Erklärung: Seit precise wird der bluetoothd über upstart gestartet, nicht mehr den "alten" init-Mechanismus. Das entsprechende Upstart-Skript /etc/init/bluetooth.conf existiert in der Client-Chroot gar nicht.

Change History (9)

comment:1 by Rüdiger Kupper, 14 years ago

Milestone: Schuljahr 2011/12 → Sommerferien 2012

comment:3 by Rüdiger Kupper, 14 years ago

Priority: normal → gering
Severity: normal → unkritisch
Status: new → accepted

Erfreudlicherweise findet sich die Datei /etc/init/bluetooth.conf inzwischen in der Client-Chroot. (Updates abwarten hilft halt manchmal :-). Es besteht also Hoffnung, dass der Bluetooth-Daemon jetzt automatisch startet.

=> prüfen!

comment:4 by Rüdiger Kupper, 14 years ago

Nein, startet nicht automatisch. Grund ist weiter ungeklärt, vielleicht ist dies per Design bei den LTSP-Clients nicht gewollt.
Der bluetoothd lässt sich aber als root problemlos starten, so dass nur ein einfaches init-Skript benötigt wird, um den Daemon auf allen Clients zu starten.

comment:5 by Rüdiger Kupper, 13 years ago

Prüfen, ob das mit der neuen Clientumgebung behoben ist.

comment:6 by Rüdiger Kupper, 13 years ago

Nein, nicht behoben. Allerdings bietet die lts.conf neuerdings die Möglichkeit, den Start von Systemdiensten anzufordern. Ausprobieren!

comment:7 by Rüdiger Kupper, 13 years ago

Aha!
In der Manpage der lts.conf steht's:

KEEP_SYSTEM_SERVICES
           string, default unset

           Some services are deleted by default when an
           LTSP client boots, either to save RAM, or
           because they don't make sense for netbooted
           machines. If you need some of them you can
           list them in KEEP_SYSTEM_SERVICES, for
           example:

               KEEP_SYSTEM_SERVICES="acpid avahi-daemon bluetooth cups"

comment:8 by Rüdiger Kupper, 13 years ago

Resolution: → erledigt
Status: accepted → closed

Okay, in der lts.conf steht jetzt

KEEP_SYSTEM_SERVICES="bluetooth"

Und schon geht's.

comment:9 by Rüdiger Kupper, 13 years ago

an könnte jetzt also an jedem beliebigen Client das Wii-Whiteboard verwenden.

Note: See TracTickets for help on using tickets.