[1] MLD-5.x / Systems / Raspberry PI / [Gelöst]5.3 Avahi startet nicht
 

Offline brötchen

  • Profi Member
  • ****
  • Posts: 402
    • View Profile
[Gelöst]5.3 Avahi startet nicht
« on: February 06, 2017, 20:24:55 »
Hallo,

ich habe jetzt mal auf den RPI die 5.3 Unstable aufgespielt und habe festgestellt das dort der AVAHI nicht das Verzeichniss vom Server mit einbindet.

Code: [Select]
MLD> tree -d -L 3 /media/
/media/
├── Bilder
│   └── local -> /mnt/data/photo
├── Musik
│   └── local -> /mnt/data/music
└── Video
    ├── Filme
    │   └── local -> /mnt/data/video/movies
    ├── local -> /mnt/data/video
    └── Serien
        └── local -> /mnt/data/video/series

Code: [Select]
MLD> tail -n 3000 /var/log/messages  | grep avahi
#Feb  6 19:48:45 (none) daemon.info avahi-daemon[1973]: Found user 'root' (UID 0) and group 'root' (GID 0).
Feb  6 19:48:45 (none) daemon.info avahi-daemon[1973]: Successfully dropped root privileges.
Feb  6 19:48:45 (none) daemon.info avahi-daemon[1973]: avahi-daemon 0.6.32 starting up.
Feb  6 19:48:45 (none) daemon.err avahi-daemon[1973]: dbus_bus_request_name(): Connection ":1.0" is not allowed to own the serv                                                                  ice "org.freedesktop.Avahi" due to security policies in the configuration file
Feb  6 19:48:45 (none) daemon.warn avahi-daemon[1973]: WARNING: Failed to contact D-Bus daemon.
Feb  6 19:48:45 (none) daemon.info avahi-daemon[1973]: avahi-daemon 0.6.32 exiting.
Feb  6 19:48:45 (none) daemon.err avahi-dnsconfd[2099]: connect(): No such file or directory
Feb  6 19:48:45 (none) daemon.info avahi-dnsconfd[2099]: Failed to connect to the daemon. This probably means that you
Feb  6 19:48:45 (none) daemon.info avahi-dnsconfd[2099]: didn't start avahi-daemon before avahi-dnsconfd.


Code: [Select]
MLD> ps | grep avahi
 3214 root      4288 S    grep avahi

MLD> ps | grep dbus
 1116 root      6372 S    dbus-daemon --system
 3231 root      4288 S    grep dbus

Wenn ich versuche den avahi-linker auf der Konsole zu starten kommt folgendes.

Code: [Select]
MLD> avahi-linker
Traceback (most recent call last):
  File "/usr/bin/avahi-linker", line 733, in <module>
    server = dbus.Interface( bus.get_object(avahi.DBUS_NAME, '/'),
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.FileInvalid: Cannot do system-bus activation with no user

Habe die Config-Dateien auch mal mit der X86 Kiste verglichen. Die scheinen mir erstmal alle Identich zu sein.

Hat da jemand eine Idee woran das liegen könnte?


Gruß
« Last Edit: February 08, 2017, 17:29:11 by brötchen »
MLD 5.4 - testing -Intel- SatIpclient - Gehäuse: Origen AE S16T - ASROCKJ3455M - SSD 128 GB
MLD 5.4 - testing - Server - ASROCK Q1900m - SSD 128 GB - HDD 4TB - Max S8
MLD 5.3 -SZ - testing - SatIpclient - Raspi 3
MLD 5.3 -WZ - testing - SatIp-Client-Squeezplayer 7" RPI-Display

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
5.3 Avahi startet nicht
« Reply #1 on: February 08, 2017, 14:53:31 »
Das sollte inzwischen auch auf dem RPI gehen. Wir hatten eine Änderung am dbus vergessen einzuchecken.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline brötchen

  • Profi Member
  • ****
  • Posts: 402
    • View Profile
5.3 Avahi startet nicht
« Reply #2 on: February 08, 2017, 17:28:46 »
Jup, das haut wieder hin.

Vielen Dank!

Gruß
MLD 5.4 - testing -Intel- SatIpclient - Gehäuse: Origen AE S16T - ASROCKJ3455M - SSD 128 GB
MLD 5.4 - testing - Server - ASROCK Q1900m - SSD 128 GB - HDD 4TB - Max S8
MLD 5.3 -SZ - testing - SatIpclient - Raspi 3
MLD 5.3 -WZ - testing - SatIp-Client-Squeezplayer 7" RPI-Display

[1] MLD-5.x / Systems / Raspberry PI / [Gelöst]5.3 Avahi startet nicht
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.