Bug#1023557: rygel: consider After=network.target in rygel.service for lingering

Barak A. Pearlmutter bap at debian.org
Sun Nov 6 17:01:15 GMT 2022


Package: rygel
Version: 0.42.0-2

Dear Maintainer,

Thanks for maintaining Rygel. It's made our big TV useful! And tablets!
Everyone on the local network is happy!

To keep everyone happy, I turned on lingering for the involved user (me)

$ loginctl enable-linger $(whoami)

and enabled rygel. This causes rygel to start when the machine boots,
instead of waiting for me to log in.

One tiny problem: rygel starts before the network is up, gets an error
having to do with the network not being set up, and apparently fails
to announce itself on the local network, so nobody can watch videos or
listen to music. Which makes everyone in the house sad until I log in
and

$ systemctl --user restart rygel.service

which is a hassle.

I *think* the right way to solve this is by adding a line

  After=network.target

to the rygel unit file, /usr/lib/systemd/user/rygel.service

Cheers,

--Barak.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (550, 'testing'), (500, 'stable-updates'), (500,
'proposed-updates'), (500, 'stable'), (450, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rygel depends on:
ii  init-system-helpers             1.65.2
ii  libc6                           2.36-4
ii  libgdk-pixbuf-2.0-0             2.42.9+dfsg-1
ii  libgee-0.8-2                    0.20.6-1
ii  libges-1.0-0                    1.20.3-1
ii  libglib2.0-0                    2.74.1-1
ii  libgssdp-1.6-0                  1.6.0-3
ii  libgstreamer-plugins-base1.0-0  1.20.3-2
ii  libgstreamer1.0-0               1.20.3-1
ii  libgupnp-1.6-0                  1.6.0-3
ii  libgupnp-av-1.0-3               0.14.1-1
ii  libgupnp-dlna-2.0-4             0.12.0-3
ii  libmediaart-2.0-0               1.9.6-1
ii  librygel-core-2.8-0             0.42.0-2
ii  librygel-db-2.8-0               0.42.0-2
ii  librygel-renderer-2.8-0         0.42.0-2
ii  librygel-server-2.8-0           0.42.0-2
ii  libsoup-3.0-0                   3.2.1-2
ii  libsqlite3-0                    3.39.4-1
ii  libx11-6                        2:1.8.1-2
ii  libxml2                         2.9.14+dfsg-1+b1

Versions of packages rygel recommends:
ii  dbus-user-session          1.14.4-1
ii  gstreamer1.0-libav         1.20.3-1+b1
ii  gstreamer1.0-plugins-base  1.20.3-2
ii  gstreamer1.0-plugins-good  1.20.3-1+b1
ii  gstreamer1.0-plugins-ugly  1.20.3-1

Versions of packages rygel suggests:
ii  rygel-playbin      0.42.0-2
pn  rygel-preferences  <none>
pn  rygel-ruih         <none>
ii  rygel-tracker      0.42.0-2
ii  tumbler            4.16.1-1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list