From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yMJ7JlB3IV+bWQAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 13:19:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ACdmIlB3IV+kbAAA1q6Kng (envelope-from ) for ; Wed, 29 Jul 2020 13:19:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E94669409E6 for ; Wed, 29 Jul 2020 13:19:11 +0000 (UTC) Received: from localhost ([::1]:44194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0lzC-0002WC-Fw for larch@yhetil.org; Wed, 29 Jul 2020 09:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0lz4-0002UN-Cf for bug-guix@gnu.org; Wed, 29 Jul 2020 09:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0lz4-0008Mc-2Y for bug-guix@gnu.org; Wed, 29 Jul 2020 09:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0lz3-0000HE-UD for bug-guix@gnu.org; Wed, 29 Jul 2020 09:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#35584: CD/DVD does not work Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Jul 2020 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35584 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35584@debbugs.gnu.org X-Debbugs-Original-To: Luis Felipe via Bug reports for GNU Guix X-Debbugs-Original-Cc: Raghav Gururajan , Luis Felipe , "35584@debbugs.gnu.org" <35584@debbugs.gnu.org> Received: via spool by 35584-submit@debbugs.gnu.org id=B35584.15960287381054 (code B ref 35584); Wed, 29 Jul 2020 13:19:01 +0000 Received: (at 35584) by debbugs.gnu.org; 29 Jul 2020 13:18:58 +0000 Received: from localhost ([127.0.0.1]:60362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0lyz-0000Gv-Mz for submit@debbugs.gnu.org; Wed, 29 Jul 2020 09:18:57 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:56972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0lyv-0000Gl-PA for 35584@debbugs.gnu.org; Wed, 29 Jul 2020 09:18:56 -0400 Received: from localhost (80-110-127-146.cgn.dynamic.surfer.at [80.110.127.146]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 743343365321; Wed, 29 Jul 2020 15:18:52 +0200 (CEST) Date: Wed, 29 Jul 2020 15:18:49 +0200 From: Danny Milosavljevic Message-ID: <20200729151849.084ac748@scratchpost.org> In-Reply-To: References: <16a88e95ddd.d045a49d38463.783261989832782808@zoho.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MkB3Gwzd598nzmUd1e0lv22"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: raghavgururajan@disroot.org, luis.felipe.la@protonmail.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.39 X-TUID: kukJY2SYH/Vd --Sig_/MkB3Gwzd598nzmUd1e0lv22 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Wed, 29 Jul 2020 00:15:39 +0000 Luis Felipe via Bug reports for GNU Guix wrote: > There is one thing I hadn't noticed before, though. If I insert a DVD whi= le I'm in a GNOME session, it doesn't work (that's the bug), but if I reboo= t with the DVD still in, log in to GNOME and open Nautilus, the DVD is list= ed and it works correctly. After doing this, if I extract the DVD and inser= t it again, it still doesn't work. Checking nautilus sources, it uses GVolumeMonitor which is part of glib (gi= o). That uses GUnixMountMonitor, and that checks /proc/mounts and fstab. fstab is found like this: static char * get_fstab_file (void) { #ifdef HAVE_LIBMOUNT return (char *) mnt_get_fstab_path (); #else #if defined(HAVE_SYS_MNTCTL_H) && defined(HAVE_SYS_VMOUNT_H) && defined(HAV= E_SYS_VFS_H) /* AIX */ return "/etc/filesystems"; #elif defined(_PATH_MNTTAB) return _PATH_MNTTAB; #elif defined(VFSTAB) return VFSTAB; #else return "/etc/fstab"; #endif #endif } libmount is part of util-linux, which has: /** * mnt_get_fstab_path: * * Returns: path to /etc/fstab or $LIBMOUNT_FSTAB. */ const char *mnt_get_fstab_path(void) { const char *p =3D safe_getenv("LIBMOUNT_FSTAB"); return p ? : _PATH_MNTTAB; } In order to debug this problem, please try setting the environment variable before starting nautilus, like this: killall nautilus export LIBMOUNT_FSTAB=3D/etc/fstab nautilus Then check whether detecting changes in CD/DVD state work fine like this. --Sig_/MkB3Gwzd598nzmUd1e0lv22 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl8hdzkACgkQ5xo1VCww uqWEOQf9GQFXP/oPRxozzhv469IwJbK4IbxwkVKCBlZ7gIoi74yNYPfCcDXMcnyv tYMkXsIOSDYdBMsttX2ZzRzGBkN7kaTXMfFTGOsJomWLIjIJ2sRJRgbD42PYFp8P By+tbjq+Rih9KTWSjqF82Y3M/Z6yHGsBr+t5W7hw7kbA9sukLCISxJ4Uv5FnfoA4 I5g3R51Au/dkRMJNiSSpEudH2XUyHT3kfaC8eJzbIaXAl3Ez0GImN4tu/sgpd0e4 KdkPbi5Geq60ckOJY10n5kauXdclMc4sXqQppGyGoFmAmQviE2to/fvAjL1AIEux j7i/gYBCM5IatXOijasdheojLvk9OQ== =Mfev -----END PGP SIGNATURE----- --Sig_/MkB3Gwzd598nzmUd1e0lv22--