After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771438 - Turn on libmount by default on linux
Turn on libmount by default on linux
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2016-09-14 15:54 UTC by Owen Taylor
Modified: 2016-09-18 20:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Turn on libmount by default on linux (1.82 KB, patch)
2016-09-14 15:54 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2016-09-14 15:54:15 UTC
Here's a patch to make libmount the default on Linux; see
https://bugzilla.gnome.org/show_bug.cgi?id=747540 for the kind of bugs
that pop up when libmount is enabled where people are told to
"enable libmount then"

The result could be considered over-engineered - perhaps libmount
should be a hard-requirement on Linux and not even possible to enable
elsewhere? (it's part of util-linux)
Comment 1 Owen Taylor 2016-09-14 15:54:19 UTC
Created attachment 335542 [details] [review]
Turn on libmount by default on linux

The libmount code produces somewhat different results than the older
Linux code that would parse /proc/mounts; for example, bind mounts
appear in the libmount output. To try and get as many GLib users
as possible to have the same behavior, on Linux, make GLib error out
on missing libmount unless --disable-libmount is passed.
Comment 2 Matthias Clasen 2016-09-18 11:55:01 UTC
Attachment 335542 [details] pushed as 496cd8a - Turn on libmount by default on linux
Comment 3 Michael Catanzaro 2016-09-18 20:26:28 UTC
I'm disabling it in jhbuild; I don't want to build util-linux and 2.28 is too new to put into sysdeps.