You are not logged in.

#1 2019-03-16 20:47:48

gatsbythegerbil
Member
Registered: 2015-11-10
Posts: 9

[Resolved]: udisks2 is mounting ISOs through systemd

When I set up this desktop a year ago I know I messed some stuff up. Apparently, one of those things was ISO automounting. I don't need help setting it up the right way anymore - I just need help undoing my previous problem-riddled solution.

I'm using udiskie/udisks2, and three ISOs are mounted before the XFCE display manager is pulled up. According to the logs, this command is running through systemd. The command is not located in my xinitrc or in Session and Startup, which is where I'd like to be. Udiskie (the GUI for udisks2) opens through Session & Startup, but doesn't directly handle those ISOs. When I rename one of the ISOs, my system crashes at reboot, which is why I'd like to change it. I've been raiding my system trying to find the code that starts the ISOs so I can shut it down and do it right.

If systemd is running a mount script during boot, where is that script most likely to be located?

Will update shortly with logs.

[edit] Resolved, it was starting them through /etc/fstab as necessary mount points during boot.

Last edited by gatsbythegerbil (2019-03-16 21:13:03)

Offline

#2 2019-03-16 20:57:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Resolved]: udisks2 is mounting ISOs through systemd

systemctl list-unit-files --state=enabled

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-03-16 21:02:46

gatsbythegerbil
Member
Registered: 2015-11-10
Posts: 9

Re: [Resolved]: udisks2 is mounting ISOs through systemd

When I rename one of the ISOs, my computer crashes on boot and goes into "emergency mode". It lets me log in as root to view the journal and fix the problem via command line. A relevant excerpt from

journalctl -xb

for that crash: https://pastebin.com/rJCDy2Hs

Offline

#4 2019-03-16 21:04:34

loqs
Member
Registered: 2014-03-06
Posts: 19,103

Re: [Resolved]: udisks2 is mounting ISOs through systemd

Please post the contents /etc/fstab
Edit:
Please also do not post journalctl output with -x https://lists.freedesktop.org/archives/ … 13029.html

Last edited by loqs (2019-03-16 21:06:10)

Offline

#5 2019-03-16 21:05:03

gatsbythegerbil
Member
Registered: 2015-11-10
Posts: 9

Re: [Resolved]: udisks2 is mounting ISOs through systemd

jasonwryan wrote:
systemctl list-unit-files --state=enabled
UNIT FILE         STATE
autovt@.service   enabled
dhcpcd.service    enabled
getty@.service    enabled
remote-fs.target  enabled

4 unit files listed.

Offline

#6 2019-03-16 21:08:35

gatsbythegerbil
Member
Registered: 2015-11-10
Posts: 9

Re: [Resolved]: udisks2 is mounting ISOs through systemd

loqs wrote:

Please post the contents /etc/fstab

That's the one. They're being treated as necessary partitions. Thank you, I'll remove them from fstab and see if that fixes.

Offline

#7 2019-03-16 21:12:18

gatsbythegerbil
Member
Registered: 2015-11-10
Posts: 9

Re: [Resolved]: udisks2 is mounting ISOs through systemd

That fixed it, thank you loqs. Now I can implement a more functional mount system. And thank you for the link re: -x, I'll keep that in mind for future.

Last edited by gatsbythegerbil (2019-03-16 21:14:00)

Offline

Board footer

Powered by FluxBB