[jammy] Option "-listen" for file descriptors is deprecated. Please use "-listenfd" instead.

Bug #1968999 reported by Laurent Bonnaud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Hi,

I see this warning message in the logs:

root@vougeot:~# journalctl | grep -e -listen
Apr 14 00:06:45 vougeot org.gnome.Shell.desktop[3461]: (WW) Option "-listen" for file descriptors is deprecated
Apr 14 00:06:45 vougeot org.gnome.Shell.desktop[3461]: Please use "-listenfd" instead.
Apr 14 00:06:45 vougeot org.gnome.Shell.desktop[3461]: (WW) Option "-listen" for file descriptors is deprecated
Apr 14 00:06:45 vougeot org.gnome.Shell.desktop[3461]: Please use "-listenfd" instead.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.0-2ubuntu1
Uname: Linux 5.17.3-051703-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Apr 14 09:42:34 2022
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 42.0-3ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Were those messages from a Xorg session or Wayland session?

summary: - Option "-listen" for file descriptors is deprecated. Please use
+ [jammy] Option "-listen" for file descriptors is deprecated. Please use
"-listenfd" instead.
affects: gnome-shell (Ubuntu) → xorg-server (Ubuntu)
affects: xorg-server (Ubuntu) → mutter (Ubuntu)
Changed in gdm3 (Ubuntu):
status: New → Incomplete
Changed in mutter (Ubuntu):
status: New → Incomplete
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote (last edit ):

IIRC this depends on the XWayland version we use to compile mutter, it's not a big deal though.

-listenfd fd add given fd as a listen socket
-listen fd deprecated, use "-listenfd" instead

So eventually it does the same

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Yeah, confirmed.

#ifdef HAVE_XWAYLAND_LISTENFD
#define XWAYLAND_LISTENFD "-listenfd"
#else
#define XWAYLAND_LISTENFD "-listen"
#endif

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

I do not even have to log in to have those messages. They are generated by gdm before I log in.
And gdm itself uses Wayland.

Changed in mutter (Ubuntu):
status: Incomplete → New
no longer affects: gdm3 (Ubuntu)
tags: added: wayland-session xwayland
Changed in mutter (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

The bug is fixed in lunar.
Thanks!

Changed in mutter (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.