Announcement

Collapse
No announcement yet.

"safely remove" SD card immediately re-mounted

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "safely remove" SD card immediately re-mounted

    Hello,
    Having just installed Jammy, my main annoyance is that the UI to "safely remove" (i.e. unmount) a removable storage device doesn't really work. It does the unmount but the device is immediately re-mounted again. Here's the entries from syslog.

    Jun 13 12:30:27 orion kernel: [343234.328540] audit: type=1400 audit(1655116227.430:7021): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/etc/fstab" pid=531159 comm="firefox" requested_mask="r" denied_mask="r"
    fsuid=1026 ouid=0
    Jun 13 12:30:27 orion kernel: [343234.334081] audit: type=1400 audit(1655116227.438:7022): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/run/mount/utab" pid=531159 comm="firefox" requested_mask="r" denied_mask
    ="r" fsuid=1026 ouid=0
    Jun 13 12:30:23 orion rtkit-daemon[1529]: Supervising 1 threads of 1 processes of 1 users.
    Jun 13 12:30:27 orion udisksd[912]: Cleaning up mount point /media/jon/3563-6562 (device 179:1 is not mounted)
    Jun 13 12:30:27 orion systemd[1]: media-jon-3563\x2d6562.mount: Deactivated successfully.
    Jun 13 12:30:27 orion udisksd[912]: Unmounted /dev/mmcblk0p1 on behalf of uid 1026
    Jun 13 12:30:27 orion kernel: [343234.405014] mmcblk0: p1
    Jun 13 12:30:27 orion systemd-udevd[663001]: mmcblk0p1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/mmcblk0p1' failed with exit code 1.
    Jun 13 12:30:27 orion udisksd[912]: Mounted /dev/mmcblk0p1 at /media/jon/3563-6562 on behalf of uid 1026
    Jun 13 12:30:27 orion kernel: [343234.588265] audit: type=1400 audit(1655116227.690:7023): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/etc/fstab" pid=531159 comm="firefox" requested_mask="r" denied_mask="r"
    fsuid=1026 ouid=0
    Jun 13 12:30:27 orion kernel: [343234.592793] audit: type=1400 audit(1655116227.694:7024): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/run/mount/utab" pid=531159 comm="firefox" requested_mask="r" denied_mask
    ="r" fsuid=1026 ouid=0



    I have to unmount the SD card manually - which fortunately doesn't automatically re-mount.

    Has anyone seen anything like this?

    Thanks in advance

    Jon

    #2
    Haven't had my morning quota of coffee yet, but from what you've posted from syslog, it "appears" that Firefox is involved in the SD getting remounted? Why would that be? Hmm.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      Haven't had my morning quota of coffee yet, but from what you've posted from syslog, it "appears" that Firefox is involved in the SD getting remounted? Why would that be? Hmm.
      I think this is a symptom, not a cause, it *may* be related to a bug on systemd /udev services.

      https://bugs.launchpad.net/ubuntu/+s...x/+bug/1971955
      https://bugs.launchpad.net/ubuntu/+s...d/+bug/1966203

      Some service or udev rule may be causing it to call the unshare/snapd command

      Comment

      Working...
      X