GNU bug report logs - #76022
udisks is configured to use /media instead of /run

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 3 Feb 2025 03:18:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76022 in the body.
You can then email your comments to 76022 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ludo <at> gnu.org, bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 03:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, bug-guix <at> gnu.org. (Mon, 03 Feb 2025 03:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: udisks is configured to use /media instead of /run
Date: Mon, 03 Feb 2025 12:16:57 +0900
Hello,

Since commit 35263cd8627b296c3badc21de355b4fe613d7cd4 ("gnu: udisks:
Mount things under /media."), udisks mounts removable devices under the
/media directory instead of using the /run directory, which would
otherwise be the default [0].

[0]  https://wiki.archlinux.org/title/Udisks#Mount_to_/media

Ludo, was there a particular reason for this?  I suspect perhaps /run
didn't exist in Guix System at the time.  This is no longer the case,
and with /run proposed to become a tmpfs in bug#73494, that would have
the benefit that the mount points would not persist a reboot, which can
lead to problems in case of user errors such as creating an actual
directory there that would conflict with the automatically created (and
destroyed) mount points that udisks creates.

Case at point: recently on some relative machine their mount point no
longer appeared under their usual name when mounted; it had a '1'
suffix.  Worst, this drive was used for holding large backups; when the
backup tool btrbk saw the directory existing (while the drive was not
mounted), it proceeded to fill it with backups, which quickly filled the
drive.

This situation could have been healed by a reboot in the /run on tmpfs
use case.

-- 
Thanks,
Maxim




Information forwarded to maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 04:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 76022 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 1/2] gnu: udisks: Mount removal media to /run/media/ instead
 of /media.
Date: Mon,  3 Feb 2025 13:33:16 +0900
* gnu/packages/freedesktop.scm (udisks)
[configure-flags]: Delete --enable-fhs-media.

Fixes: <https://issues.guix.gnu.org/76022>
Change-Id: I51a1e50c66577cf45476ae441a1c57031348eeed
---
 gnu/packages/freedesktop.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a9a518cd3c..bf24750470 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1860,7 +1860,6 @@ (define-public udisks
       #~(list "--enable-man"
               "--enable-available-modules" ; Such as lvm2, btrfs, etc.
               "--localstatedir=/var"
-              "--enable-fhs-media"    ;mount devices in /media, not /run/media
               (string-append "--with-html-dir=" #$output:doc
                              "/share/doc/udisks/html")
               (string-append "--with-udevdir=" #$output "/lib/udev"))

base-commit: 12619742365b4bc138853ff7d79053e2089ffe1e
-- 
2.47.1





Information forwarded to maxim.cournoyer <at> gmail.com, pelzflorian <at> pelzflorian.de, julien <at> lepiller.eu, bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 04:34:02 GMT) Full text and rfc822 format available.

Message #11 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 76022 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 2/2] news: Add entry for udisks configuration change.
Date: Mon,  3 Feb 2025 13:33:17 +0900
* etc/news.scm: Add entry.

Change-Id: Ic60cb95af327647de82e10d1f91304fc70ec2a21
---
 etc/news.scm | 70 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 41 insertions(+), 29 deletions(-)

diff --git a/etc/news.scm b/etc/news.scm
index b05bb53466..028d595ea7 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -9,7 +9,7 @@
 ;; Copyright © 2020, 2022 Marius Bakke <marius <at> gnu.org>
 ;; Copyright © 2020, 2021 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
-;; Copyright © 2020, 2021, 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;; Copyright © 2020-2025 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;; Copyright © 2021–2023 Leo Famulari <leo <at> famulari.name>
 ;; Copyright © 2021 Zhu Zihao <all_but_last <at> 163.com>
 ;; Copyright © 2021 Chris Marusich <cmmarusich <at> gmail.com>
@@ -35,6 +35,18 @@
 (channel-news
  (version 0)
 
+ (entry (commit "768f70486347030ae8e73b027d6c71bde10db7e6") ;TODO: adjust before pushing
+        (title
+         (en "Removable devices now mounts under /run/media/$USER instead of /media"))
+        (body
+         (en "UDisks, the daemon responsible for allowing unprivileged users
+mounting removable drives in GNOME and other desktop environments will now be
+made available at mount points under the /run/media/$USER directory instead of
+directly under /media.  This will ensure that mount points are not erroneously
+persisted across reboots, after /run is made volatile in a future update.
+Users are advised to ensure any backup script or solution they use are updated
+to reflect the new location of the mounted removable devices.")))
+
  (entry (commit "0aa45f18543552f2396414ab130dab40f8969d27")
         (title
          (en "New @code{%base-home-services} variable for Guix Home")
@@ -525,13 +537,13 @@
 
  (entry (commit "fc35b9fa6d6ed3583d4f3fc9214f657022d49678")
         (title
-          (en "Linux-libre 6.9 removed due to end of upstream support")
-          (de "Linux-libre 6.9 wurde entfernt"))
+         (en "Linux-libre 6.9 removed due to end of upstream support")
+         (de "Linux-libre 6.9 wurde entfernt"))
         (body
-          (en "The linux-libre 6.9 kernel series has reached the end of
+         (en "The linux-libre 6.9 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.9-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.9-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -657,13 +669,13 @@
 
  (entry (commit "6fad0fd1c32db2cb25447b694f08d5c7836536ad")
         (title
-          (en "Linux-libre 6.8 removed due to end of upstream support")
-          (de "Linux-libre 6.8 wurde entfernt"))
+         (en "Linux-libre 6.8 removed due to end of upstream support")
+         (de "Linux-libre 6.8 wurde entfernt"))
         (body
-          (en "The linux-libre 6.8 kernel series has reached the end of
+         (en "The linux-libre 6.8 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.8-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.8-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -713,13 +725,13 @@
 
  (entry (commit "238a74c7dfd1469af064b445abcee38fd7408d5b")
         (title
-          (en "Linux-libre 6.7 removed due to end of upstream support")
-          (de "Linux-libre 6.7 wurde entfernt"))
+         (en "Linux-libre 6.7 removed due to end of upstream support")
+         (de "Linux-libre 6.7 wurde entfernt"))
         (body
-          (en "The linux-libre 6.7 kernel series has reached the end of
+         (en "The linux-libre 6.7 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.7-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.7-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -904,13 +916,13 @@
 
  (entry (commit "10a193596368443f441077525ebbddf787d91e4b")
         (title
-          (en "Linux-libre 4.14 removed due to end of upstream support")
-          (de "Linux-libre 4.14 wurde entfernt"))
+         (en "Linux-libre 4.14 removed due to end of upstream support")
+         (de "Linux-libre 4.14 wurde entfernt"))
         (body
-          (en "The linux-libre 4.14 kernel series has reached the end of
+         (en "The linux-libre 4.14 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 4.14-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 4.14-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -1025,13 +1037,13 @@
 
  (entry (commit "db775e7367e8deffb513aad94f4afb875d796d0b")
         (title
-          (en "Linux-libre 6.3 removed due to end of upstream support")
-          (de "Linux-libre 6.3 wurde entfernt"))
+         (en "Linux-libre 6.3 removed due to end of upstream support")
+         (de "Linux-libre 6.3 wurde entfernt"))
         (body
-          (en "The linux-libre 6.3 kernel series has reached the end of
+         (en "The linux-libre 6.3 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 6.3-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 6.3-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
@@ -1434,13 +1446,13 @@
 
  (entry (commit "9ea37eb9f5329c213757bbfe5d9241cde8433858")
         (title
-          (en "Linux-libre 6.0 removed due to end of upstream support")
-          (de "Linux-libre 6.0 wurde entfernt"))
+         (en "Linux-libre 6.0 removed due to end of upstream support")
+         (de "Linux-libre 6.0 wurde entfernt"))
         (body
-          (en "The linux-libre 6.0 kernel series has reached the end of
+         (en "The linux-libre 6.0 kernel series has reached the end of
              its life, and no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 6.0-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 6.0-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
@@ -1462,13 +1474,13 @@
 
  (entry (commit "064c5b7e450f9f6d55cfcd0ec2bc9e96ee0b2958")
         (title
-          (en "Linux-libre 4.9 removed due to end of upstream support")
-          (de "Linux-libre 4.9 wurde entfernt"))
+         (en "Linux-libre 4.9 removed due to end of upstream support")
+         (de "Linux-libre 4.9 wurde entfernt"))
         (body
-          (en "The linux-libre 4.9 kernel series has reach the end of its life,
+         (en "The linux-libre 4.9 kernel series has reach the end of its life,
 and is no longer supported upstream.  For this reason, it has been removed from
 GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 4.9-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 4.9-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
-- 
2.47.1





Information forwarded to bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 05:05:01 GMT) Full text and rfc822 format available.

Message #14 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 76022 <at> debbugs.gnu.org
Subject: Re: bug#76022: udisks is configured to use /media instead of /run
Date: Mon, 3 Feb 2025 00:04:30 -0500
On Mon, Feb 03, 2025 at 12:16:57PM +0900, Maxim Cournoyer wrote:
> Since commit 35263cd8627b296c3badc21de355b4fe613d7cd4 ("gnu: udisks:
> Mount things under /media."), udisks mounts removable devices under the
> /media directory instead of using the /run directory, which would
> otherwise be the default [0].
> 
> [0]  https://wiki.archlinux.org/title/Udisks#Mount_to_/media

I don't know what's correct here, but I get the same behaviour on Debian:
udiskctl mounts things under /media.




Information forwarded to bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 13:02:02 GMT) Full text and rfc822 format available.

Message #17 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 76022 <at> debbugs.gnu.org
Subject: Re: bug#76022: udisks is configured to use /media instead of /run
Date: Mon, 03 Feb 2025 22:00:53 +0900
Hi Leo,

Leo Famulari <leo <at> famulari.name> writes:

> On Mon, Feb 03, 2025 at 12:16:57PM +0900, Maxim Cournoyer wrote:
>> Since commit 35263cd8627b296c3badc21de355b4fe613d7cd4 ("gnu: udisks:
>> Mount things under /media."), udisks mounts removable devices under the
>> /media directory instead of using the /run directory, which would
>> otherwise be the default [0].
>>
>> [0]  https://wiki.archlinux.org/title/Udisks#Mount_to_/media
>
> I don't know what's correct here, but I get the same behaviour on Debian:
> udiskctl mounts things under /media.

There's no 'correct' here, it depends what you want, but if you trust
the upstream developing udisks choices and every distribution except
Debian, that would be to use /run/media by default:

--8<---------------cut here---------------start------------->8---
# configure.ac
fhs_media=no
AC_ARG_ENABLE(fhs-media,
              [AS_HELP_STRING([--enable-fhs-media],
                              [Mount devices in /media instead of /run/media [default=no]])],
              AS_IF([test "x$enable_fhs_media" == "xyes"], [fhs_media=yes]),
              fhs_media=no)
AM_CONDITIONAL(HAVE_FHS_MEDIA, test "x$fhs_media" = "xyes")
if test "x$fhs_media" = "xyes"; then
  AC_DEFINE([HAVE_FHS_MEDIA], 1, [Define to 1 to use /media for mounting])
fi
--8<---------------cut here---------------end--------------->8---

As yo can see, the --enable-fhs-media is opt-in, which we (currently)
and Debian use.  Fedora and others (Arch, Gentoo, OpenSUSE, Nix, etc.)
use the default, /run/media.

The main advantage I see to use /run/media is what I mentioned
up-thread: assuming /run is a tmpfs, which it should (and will be, when
patch #73494 is merged), then the mount points are not persisted across
reboots (they should have been removed by udisks, but a user
error/script could create them), which is a good thing for removable
media as you don't want to erroneously copy something there while the
drives are not connected.

Another change which was not apparent immediately: /run/media/$USER is
per user.  A drive mounted for one user will not be accessile to another
user.  That was motivated for security in multi-users scenarios [0, 1].

[0]  https://cgit.freedesktop.org/udisks/commit/?id=9541a638ffd
[1]  https://bugs.freedesktop.org/show_bug.cgi?id=51709#c2

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#76022; Package guix. (Mon, 03 Feb 2025 13:13:02 GMT) Full text and rfc822 format available.

Message #20 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Julien Lepiller <julien <at> lepiller.eu>, 76022 <at> debbugs.gnu.org
Subject: Re: bug#76022: [PATCH 2/2] news: Add entry for udisks configuration
 change.
Date: Mon, 03 Feb 2025 14:12:09 +0100
[Message part 1 (text/plain, inline)]
Hello Maxim.  Using /run sounds reasonable.

Could you include this German translation?  Also I changed the English
title to say ‘mount’ rather than ‘mounts’ and the English body to use
active voice, because the sentence subject is the daemon.  I did
further change the file names to use @file{} markup.

[german-news.diff (text/x-patch, inline)]
diff --git a/etc/news.scm b/etc/news.scm
index 028d595ea7..d779f309a0 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -37,15 +37,26 @@
 
  (entry (commit "768f70486347030ae8e73b027d6c71bde10db7e6") ;TODO: adjust before pushing
         (title
-         (en "Removable devices now mounts under /run/media/$USER instead of /media"))
+         (en "Removable devices now mount under @file{/run/media/$USER} instead of @file{/media}")
+         (de "Wechseldatenträger werden jetzt unter @file{/run/media/$USER} statt @file{/media} eingebunden"))
         (body
          (en "UDisks, the daemon responsible for allowing unprivileged users
-mounting removable drives in GNOME and other desktop environments will now be
-made available at mount points under the /run/media/$USER directory instead of
-directly under /media.  This will ensure that mount points are not erroneously
-persisted across reboots, after /run is made volatile in a future update.
-Users are advised to ensure any backup script or solution they use are updated
-to reflect the new location of the mounted removable devices.")))
+mounting removable drives in GNOME and other desktop environments, will now
+make them available at mount points under the @file{/run/media/$USER}
+directory instead of directly under @file{/media}.  This will ensure that
+mount points are not erroneously persisted across reboots, after @file{/run}
+is made volatile in a future update.  Users are advised to ensure any backup
+script or solution they use are updated to reflect the new location of the
+mounted removable devices.")
+         (de "UDisks, der Daemon, der dafür sorgt, dass unprivilegierte Nutzer
+externe Laufwerke in GNOME und anderen Arbeitsumgebungen einbinden können,
+wird diese ab sofort an Einhängepunkten im Verzeichnis @file{/run/media/$USER}
+verfügbar machen und nicht mehr direkt in @file{/media}.  Dadurch werden
+Einhängepunkte nach Neustarts nicht mehr erhalten bleiben, sobald @file{/run}
+durch eine kommende Aktualisierung als flüchtig vorgegeben wird.  Wir raten
+unseren Nutzerinnen und Nutzern, Scripts oder Programme anzupassen, mit denen
+sie Backups anlegen, damit diese den neuen Ort für eingebundene
+Wechseldatenträger verwenden.")))
 
  (entry (commit "0aa45f18543552f2396414ab130dab40f8969d27")
         (title
-- 
2.48.1


Information forwarded to maxim.cournoyer <at> gmail.com, leo <at> famulari.name, pelzflorian <at> pelzflorian.de, bug-guix <at> gnu.org:
bug#76022; Package guix. (Tue, 04 Feb 2025 02:36:02 GMT) Full text and rfc822 format available.

Message #23 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 76022 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH v2 1/2] gnu: udisks: Mount removal media to /run/media/
 instead of /media.
Date: Tue,  4 Feb 2025 11:34:30 +0900
* gnu/packages/freedesktop.scm (udisks)
[configure-flags]: Delete --enable-fhs-media.

Fixes: <https://issues.guix.gnu.org/76022>
Change-Id: I51a1e50c66577cf45476ae441a1c57031348eeed
---
 gnu/packages/freedesktop.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a9a518cd3c..bf24750470 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1860,7 +1860,6 @@ (define-public udisks
       #~(list "--enable-man"
               "--enable-available-modules" ; Such as lvm2, btrfs, etc.
               "--localstatedir=/var"
-              "--enable-fhs-media"    ;mount devices in /media, not /run/media
               (string-append "--with-html-dir=" #$output:doc
                              "/share/doc/udisks/html")
               (string-append "--with-udevdir=" #$output "/lib/udev"))

base-commit: fabcfb48ebdf9643205e3b9bbdd84572029a1c24
-- 
2.48.1





Information forwarded to maxim.cournoyer <at> gmail.com, leo <at> famulari.name, pelzflorian <at> pelzflorian.de, pelzflorian <at> pelzflorian.de, julien <at> lepiller.eu, bug-guix <at> gnu.org:
bug#76022; Package guix. (Tue, 04 Feb 2025 02:36:03 GMT) Full text and rfc822 format available.

Message #26 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 76022 <at> debbugs.gnu.org
Cc: Florian Pelz <pelzflorian <at> pelzflorian.de>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH v2 2/2] news: Add entry for udisks configuration change.
Date: Tue,  4 Feb 2025 11:34:31 +0900
* etc/news.scm: Add entry.

Change-Id: Ic60cb95af327647de82e10d1f91304fc70ec2a21
Co-authored-by: Florian Pelz <pelzflorian <at> pelzflorian.de>
---
 etc/news.scm | 81 +++++++++++++++++++++++++++++++++-------------------
 1 file changed, 52 insertions(+), 29 deletions(-)

diff --git a/etc/news.scm b/etc/news.scm
index b05bb53466..d779f309a0 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -9,7 +9,7 @@
 ;; Copyright © 2020, 2022 Marius Bakke <marius <at> gnu.org>
 ;; Copyright © 2020, 2021 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
-;; Copyright © 2020, 2021, 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;; Copyright © 2020-2025 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;; Copyright © 2021–2023 Leo Famulari <leo <at> famulari.name>
 ;; Copyright © 2021 Zhu Zihao <all_but_last <at> 163.com>
 ;; Copyright © 2021 Chris Marusich <cmmarusich <at> gmail.com>
@@ -35,6 +35,29 @@
 (channel-news
  (version 0)
 
+ (entry (commit "768f70486347030ae8e73b027d6c71bde10db7e6") ;TODO: adjust before pushing
+        (title
+         (en "Removable devices now mount under @file{/run/media/$USER} instead of @file{/media}")
+         (de "Wechseldatenträger werden jetzt unter @file{/run/media/$USER} statt @file{/media} eingebunden"))
+        (body
+         (en "UDisks, the daemon responsible for allowing unprivileged users
+mounting removable drives in GNOME and other desktop environments, will now
+make them available at mount points under the @file{/run/media/$USER}
+directory instead of directly under @file{/media}.  This will ensure that
+mount points are not erroneously persisted across reboots, after @file{/run}
+is made volatile in a future update.  Users are advised to ensure any backup
+script or solution they use are updated to reflect the new location of the
+mounted removable devices.")
+         (de "UDisks, der Daemon, der dafür sorgt, dass unprivilegierte Nutzer
+externe Laufwerke in GNOME und anderen Arbeitsumgebungen einbinden können,
+wird diese ab sofort an Einhängepunkten im Verzeichnis @file{/run/media/$USER}
+verfügbar machen und nicht mehr direkt in @file{/media}.  Dadurch werden
+Einhängepunkte nach Neustarts nicht mehr erhalten bleiben, sobald @file{/run}
+durch eine kommende Aktualisierung als flüchtig vorgegeben wird.  Wir raten
+unseren Nutzerinnen und Nutzern, Scripts oder Programme anzupassen, mit denen
+sie Backups anlegen, damit diese den neuen Ort für eingebundene
+Wechseldatenträger verwenden.")))
+
  (entry (commit "0aa45f18543552f2396414ab130dab40f8969d27")
         (title
          (en "New @code{%base-home-services} variable for Guix Home")
@@ -525,13 +548,13 @@
 
  (entry (commit "fc35b9fa6d6ed3583d4f3fc9214f657022d49678")
         (title
-          (en "Linux-libre 6.9 removed due to end of upstream support")
-          (de "Linux-libre 6.9 wurde entfernt"))
+         (en "Linux-libre 6.9 removed due to end of upstream support")
+         (de "Linux-libre 6.9 wurde entfernt"))
         (body
-          (en "The linux-libre 6.9 kernel series has reached the end of
+         (en "The linux-libre 6.9 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.9-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.9-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -657,13 +680,13 @@
 
  (entry (commit "6fad0fd1c32db2cb25447b694f08d5c7836536ad")
         (title
-          (en "Linux-libre 6.8 removed due to end of upstream support")
-          (de "Linux-libre 6.8 wurde entfernt"))
+         (en "Linux-libre 6.8 removed due to end of upstream support")
+         (de "Linux-libre 6.8 wurde entfernt"))
         (body
-          (en "The linux-libre 6.8 kernel series has reached the end of
+         (en "The linux-libre 6.8 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.8-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.8-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -713,13 +736,13 @@
 
  (entry (commit "238a74c7dfd1469af064b445abcee38fd7408d5b")
         (title
-          (en "Linux-libre 6.7 removed due to end of upstream support")
-          (de "Linux-libre 6.7 wurde entfernt"))
+         (en "Linux-libre 6.7 removed due to end of upstream support")
+         (de "Linux-libre 6.7 wurde entfernt"))
         (body
-          (en "The linux-libre 6.7 kernel series has reached the end of
+         (en "The linux-libre 6.7 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 6.7-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 6.7-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -904,13 +927,13 @@
 
  (entry (commit "10a193596368443f441077525ebbddf787d91e4b")
         (title
-          (en "Linux-libre 4.14 removed due to end of upstream support")
-          (de "Linux-libre 4.14 wurde entfernt"))
+         (en "Linux-libre 4.14 removed due to end of upstream support")
+         (de "Linux-libre 4.14 wurde entfernt"))
         (body
-          (en "The linux-libre 4.14 kernel series has reached the end of
+         (en "The linux-libre 4.14 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Die @code{linux-libre} 4.14-Versionsreihe hat ihr
+         (de "Die @code{linux-libre} 4.14-Versionsreihe hat ihr
 Supportende erreicht und wird nicht mehr unterstützt („end of life“). Daher ist die
 Versionsreihe aus GNU Guix entfernt worden.")))
 
@@ -1025,13 +1048,13 @@
 
  (entry (commit "db775e7367e8deffb513aad94f4afb875d796d0b")
         (title
-          (en "Linux-libre 6.3 removed due to end of upstream support")
-          (de "Linux-libre 6.3 wurde entfernt"))
+         (en "Linux-libre 6.3 removed due to end of upstream support")
+         (de "Linux-libre 6.3 wurde entfernt"))
         (body
-          (en "The linux-libre 6.3 kernel series has reached the end of
+         (en "The linux-libre 6.3 kernel series has reached the end of
              its life, and is no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 6.3-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 6.3-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
@@ -1434,13 +1457,13 @@
 
  (entry (commit "9ea37eb9f5329c213757bbfe5d9241cde8433858")
         (title
-          (en "Linux-libre 6.0 removed due to end of upstream support")
-          (de "Linux-libre 6.0 wurde entfernt"))
+         (en "Linux-libre 6.0 removed due to end of upstream support")
+         (de "Linux-libre 6.0 wurde entfernt"))
         (body
-          (en "The linux-libre 6.0 kernel series has reached the end of
+         (en "The linux-libre 6.0 kernel series has reached the end of
              its life, and no longer supported upstream.  For this
              reason, it has been removed from GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 6.0-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 6.0-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
@@ -1462,13 +1485,13 @@
 
  (entry (commit "064c5b7e450f9f6d55cfcd0ec2bc9e96ee0b2958")
         (title
-          (en "Linux-libre 4.9 removed due to end of upstream support")
-          (de "Linux-libre 4.9 wurde entfernt"))
+         (en "Linux-libre 4.9 removed due to end of upstream support")
+         (de "Linux-libre 4.9 wurde entfernt"))
         (body
-          (en "The linux-libre 4.9 kernel series has reach the end of its life,
+         (en "The linux-libre 4.9 kernel series has reach the end of its life,
 and is no longer supported upstream.  For this reason, it has been removed from
 GNU Guix.")
-          (de "Vom Kernel @code{linux-libre} wird die 4.9-Versionsreihe keine
+         (de "Vom Kernel @code{linux-libre} wird die 4.9-Versionsreihe keine
 Unterstützung von dessen Anbieter mehr erfahren („end of life“).  Daher ist es
 aus GNU Guix entfernt worden.")))
 
-- 
2.48.1





Information forwarded to bug-guix <at> gnu.org:
bug#76022; Package guix. (Tue, 04 Feb 2025 02:37:02 GMT) Full text and rfc822 format available.

Message #29 received at 76022 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: Julien Lepiller <julien <at> lepiller.eu>, 76022 <at> debbugs.gnu.org
Subject: Re: bug#76022: [PATCH 2/2] news: Add entry for udisks configuration
 change.
Date: Tue, 04 Feb 2025 11:35:44 +0900
Hi Florian,

"pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> writes:

> Hello Maxim.  Using /run sounds reasonable.
>
> Could you include this German translation?  Also I changed the English
> title to say ‘mount’ rather than ‘mounts’ and the English body to use
> active voice, because the sentence subject is the daemon.  I did
> further change the file names to use @file{} markup.

Thank you; I've 'git apply'd it and submit the result in v2.

-- 
Thanks,
Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 05 Mar 2025 05:35:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 05 Mar 2025 05:35:01 GMT) Full text and rfc822 format available.

Message #34 received at 76022-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 76022-done <at> debbugs.gnu.org
Cc: Julien Lepiller <julien <at> lepiller.eu>,
 Florian Pelz <pelzflorian <at> pelzflorian.de>, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#76022: udisks is configured to use /media instead of /run
Date: Wed, 05 Mar 2025 14:33:46 +0900
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> * etc/news.scm: Add entry.
>
> Change-Id: Ic60cb95af327647de82e10d1f91304fc70ec2a21
> Co-authored-by: Florian Pelz <pelzflorian <at> pelzflorian.de>

Pushed this series.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Apr 2025 11:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.