Hello,
I’ve been having this problem for a few weeks now. Everything worked perfectly before and my method has always been the same for years and on several distributions. For me the SUID bit represents a security problem but I’m not an expert. I’d like to understand what change has been made in Fedora workstation 39 that now prevents my network drives from being mounted via the fstab file.Everything work perfect when i do a mount - a with the root account …
My credentials file stored in /root :
-rw-------. 1 root root 63 1 avril 16:26 .smbcred
my fstab : //192.168.0.3/ISO /media/nas-iso cifs credentials=/root/.smbcred,iocharset=utf8,gid=1000,uid=1000,_netdev 0 0
fstab is turned into systemd-mount units automatically and as root the mounts are performed.
So setuid is not required.
Look for information in the journal for the mounts.
You can find the mount units with systemctl | grep mount and find the status of a .mount unit with systemctl status home.mount (for example).
Or look at all mounts with journalctl -b 0 -g mount.
Hello,
Thank you for taking the time to reply.
In the meantime, I modified my fstab to see if I had the same problem with NFS. It’s exactly the same.
Attached is the screenshot with a track, “Network is unreachable”.
However, I have the _netdev option in the fstab to wait for the network to be available before attempting to mount.
avril 10 07:53:15 framework audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd">
avril 10 07:53:16 framework systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
avril 10 07:53:16 framework systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
avril 10 07:53:16 framework systemd[1]: var-lib-machines.mount - Virtual Machine and Container Storage (Compatibility) was skipped because of an unmet condition check (ConditionPathExists=/var/lib/machi>
avril 10 07:53:16 framework systemd[1]: Mounting home.mount - /home...
avril 10 07:53:16 framework systemd[1]: Mounted home.mount - /home.
avril 10 07:53:16 framework systemd[1]: Mounting tmp.mount - Temporary Directory /tmp...
avril 10 07:53:16 framework systemd[1]: Mounted tmp.mount - Temporary Directory /tmp.
avril 10 07:53:16 framework systemd[1]: Mounting boot.mount - /boot...
avril 10 07:53:16 framework kernel: EXT4-fs (nvme0n1p2): mounted filesystem 76edab28-bb29-46b0-a0b4-029f968b4dda r/w with ordered data mode. Quota mode: none.
avril 10 07:53:16 framework systemd[1]: Mounted boot.mount - /boot.
avril 10 07:53:17 framework systemd[1]: Mounting boot-efi.mount - /boot/efi...
avril 10 07:53:17 framework systemd[1]: Mounted boot-efi.mount - /boot/efi.
avril 10 07:53:17 framework systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 979 (systemd-binfmt)
avril 10 07:53:17 framework systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
avril 10 07:53:17 framework systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
avril 10 07:53:17 framework systemd[1]: Mounting var-lib-nfs-rpc_pipefs.mount - RPC Pipe File System...
avril 10 07:53:17 framework systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine->
avril 10 07:53:17 framework systemd[1]: Mounted var-lib-nfs-rpc_pipefs.mount - RPC Pipe File System.
avril 10 07:53:17 framework systemd[1]: Mounting media-nfs\x2dbackup.mount - /media/nfs-backup...
avril 10 07:53:17 framework systemd[1]: Mounting media-nfs\x2diso.mount - /media/nfs-iso...
avril 10 07:53:17 framework systemd[1]: Mounting media-nfs\x2dmain.mount - /media/nfs-main...
avril 10 07:53:17 framework systemd[1]: Mounting media-nfs\x2dvideo.mount - /media/nfs-video...
avril 10 07:53:18 framework mount[1245]: mount.nfs4: Network is unreachable for 192.168.0.3:/volume1/ISO on /media/nfs-iso
avril 10 07:53:18 framework mount[1257]: mount.nfs4: Network is unreachable for 192.168.0.3:/volume1/video on /media/nfs-video
avril 10 07:53:18 framework mount[1246]: mount.nfs4: Network is unreachable for 192.168.0.3:/volume1/Backup on /media/nfs-backup
avril 10 07:53:18 framework mount[1249]: mount.nfs4: Network is unreachable for 192.168.0.3:/volume1/Main on /media/nfs-main
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dbackup.mount: Mount process exited, code=exited, status=32/n/a
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dbackup.mount: Failed with result 'exit-code'.
avril 10 07:53:18 framework systemd[1]: Failed to mount media-nfs\x2dbackup.mount - /media/nfs-backup.
avril 10 07:53:18 framework systemd[1]: media-nfs\x2diso.mount: Mount process exited, code=exited, status=32/n/a
avril 10 07:53:18 framework systemd[1]: media-nfs\x2diso.mount: Failed with result 'exit-code'.
avril 10 07:53:18 framework systemd[1]: Failed to mount media-nfs\x2diso.mount - /media/nfs-iso.
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dmain.mount: Mount process exited, code=exited, status=32/n/a
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dmain.mount: Failed with result 'exit-code'.
avril 10 07:53:18 framework systemd[1]: Failed to mount media-nfs\x2dmain.mount - /media/nfs-main.
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dvideo.mount: Mount process exited, code=exited, status=32/n/a
avril 10 07:53:18 framework systemd[1]: media-nfs\x2dvideo.mount: Failed with result 'exit-code'.
avril 10 07:53:18 framework systemd[1]: Failed to mount media-nfs\x2dvideo.mount - /media/nfs-video.
avril 10 07:53:37 framework pcloud.desktop[2696]: pCloud Drive is not mounted
avril 10 07:53:46 framework systemd[1]: run-user-42.mount: Deactivated successfully.
avril 10 07:54:51 framework systemd[1]: var-tmp-flatpak\x2dcache\x2dRYOTL2-net.cozic.joplin_desktop\x2d9EDXL2.mount: Deactivated successfully.
avril 10 07:54:55 framework systemd[1]: var-tmp-flatpak\x2dcache\x2dRYOTL2-org.telegram.desktop.webview.Locale\x2d1PK2L2.mount: Deactivated successfully.
avril 10 07:54:57 framework systemd[1]: var-tmp-flatpak\x2dcache\x2dRYOTL2-org.telegram.desktop.webview\x2dDEKSL2.mount: Deactivated successfully.
avril 10 07:55:00 framework systemd[1]: var-tmp-flatpak\x2dcache\x2dRYOTL2-org.telegram.desktop\x2d2Y8AM2.mount: Deactivated successfully.
avril 10 07:55:08 framework packagekitd[1508]: Failed to get cache filename for libmount
Someone already got a solution for this? I just found a few search results where it’s told to change the permissions of a few /bin/ files and i hope that this isn’t actually a thing
Nevermind, i forgot to add the name of the shared folder, output of dmesg showed me the right direction so i checked the name of the share once more in fstab