"gio monitor" does not work

Bug #1742946 reported by Michael Albinus on 2018-01-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
glib2.0 (Ubuntu)

Bug Description

# ls -l /etc/adduser.conf
-rw-r--r-- 1 root root 2981 Mar 11 2012 /etc/adduser.conf
# gio monitor file:///etc/adduser.conf
gio: No locations given

  gio monitor [OPTION…] [LOCATION...]

Monitor files or directories for changes.

  -d, --dir=LOCATION Monitor a directory (default: depends on type)
  -f, --file=LOCATION Monitor a file (default: depends on type)
  -D, --direct=LOCATION Monitor a file directly (notices changes made via hardlinks)
  -s, --silent=LOCATION Monitors a file directly, but doesn’t report changes
  -n, --no-moves Report moves and renames as simple deleted/created events
  -m, --mounts Watch for mount events

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libglib2.0-bin 2.54.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-21.24-generic 4.13.13
Uname: Linux 4.13.0-21-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Fri Jan 12 14:29:42 2018
InstallationDate: Installed on 2012-03-12 (2131 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120311)
 PATH=(custom, no user)
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)

Changed in glib2.0 (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
importance: Medium → High
sam tygier (samtygier) wrote :

I can confirm that it does not work in ubuntu 17.10, but does work in Fedora 27 (which has glib 2.54.3 http://ftp.gnome.org/pub/gnome/sources/glib/2.54/glib-2.54.3.news)

Sebastien Bacher (seb128) wrote :

Thank you for your bug report, indeed that's an upstream bug which was fixed after .1 but before .3. The fix is in the current bionic version
The corresponding upstream bug is https://bugzilla.gnome.org/show_bug.cgi?id=790093

Changed in glib2.0 (Ubuntu):
status: Confirmed → Fix Released
Changed in glib:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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