uba2615
uba2615
UBUniversal Blue
Created by uba2615 on 2/2/2025 in #🛟bazzite-help
Issues mounting SMB share via systemd mount. Contains a symlink?
Not sure if immutable specific, user error or lack of knowledge.. I have not yet created the automount, as I am trying first verify systemd mounts. When I test cifs, mounts and is writable as expected, so smbcred and addresses are being loaded correctly -
sudo mount -t cifs //192.xxx.xx.xxx/media /home/xxxx/xxxx/media -o rw,uid=1000,gid=1000,credentials=/home/xxxx/.sambacreds
sudo mount -t cifs //192.xxx.xx.xxx/media /home/xxxx/xxxx/media -o rw,uid=1000,gid=1000,credentials=/home/xxxx/.sambacreds
I have the following in sytstemd/system/home-xxxx-xxxx-media.mount
Description=Mount SMB share
# We require network connection before proceeding.
Requires=network-online.target
After=network-online.target systemd-resolved.service
Wants=network-online.target systemd-resolved.service

[Mount]
# "What" is what will be mounted. ie our NAS SMB share
# PUT YOUR SMB IP ADDRESS! (the // is important, don't change it)
What=//192.xxx.xx.xxx/media
# "Where" is where it will be mounted in the filesystem
Where=/home/xxxx/xxxx/media/
Type=cifs
# Let the mounted filesystem be read/write-able
# Let the mounted filesystem be owned by the 'deck' user/group
# Use the specified credential file for the connection
Options=rw,uid=1000,gid=1000,nofail,credentials=/home/xxxx/.sambacreds
# Lets quit trying after 30 seconds
TimeoutSec=30

[Install]
WantedBy=multi-user.target
Description=Mount SMB share
# We require network connection before proceeding.
Requires=network-online.target
After=network-online.target systemd-resolved.service
Wants=network-online.target systemd-resolved.service

[Mount]
# "What" is what will be mounted. ie our NAS SMB share
# PUT YOUR SMB IP ADDRESS! (the // is important, don't change it)
What=//192.xxx.xx.xxx/media
# "Where" is where it will be mounted in the filesystem
Where=/home/xxxx/xxxx/media/
Type=cifs
# Let the mounted filesystem be read/write-able
# Let the mounted filesystem be owned by the 'deck' user/group
# Use the specified credential file for the connection
Options=rw,uid=1000,gid=1000,nofail,credentials=/home/xxxx/.sambacreds
# Lets quit trying after 30 seconds
TimeoutSec=30

[Install]
WantedBy=multi-user.target
The result:
systemctl status home-xxxx-xxxx-media.mount
× home-xxxx-xxxx-media.mount - Mount SMB share
Loaded: loaded (/etc/systemd/system/home-xxxx-xxxx-media.mount; enabled; preset: disabled)
Active: failed (Result: resources)
Invocation: e67758bxxxxxxxxxxxxxx764a6a5e0
Where: /home/xxxx/xxxx/media
What: //192.xxx.xx.xxx/media

Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Mount path /home/xxxx/xxxx/media is not canonical (contains a symlink).
Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Failed with result 'resources'.
Feb 02 13:29:02 bazzite systemd[1]: Failed to mount home-xxxx-xxxx-media.mount - Mount SMB share.
systemctl status home-xxxx-xxxx-media.mount
× home-xxxx-xxxx-media.mount - Mount SMB share
Loaded: loaded (/etc/systemd/system/home-xxxx-xxxx-media.mount; enabled; preset: disabled)
Active: failed (Result: resources)
Invocation: e67758bxxxxxxxxxxxxxx764a6a5e0
Where: /home/xxxx/xxxx/media
What: //192.xxx.xx.xxx/media

Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Mount path /home/xxxx/xxxx/media is not canonical (contains a symlink).
Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Failed with result 'resources'.
Feb 02 13:29:02 bazzite systemd[1]: Failed to mount home-xxxx-xxxx-media.mount - Mount SMB share.
Out of brain power...
9 replies
UBUniversal Blue
Created by uba2615 on 11/9/2024 in #🛟bazzite-help
Unable to open Firefox root directory to import a profile.
When using about:profile in firefox, the 'root' profile location I am trying to copy to is - /home/username/.mozilla/firefox/profilename.default-release. I believe this is due to the immutable file system, I am new to linux, but cannot get my head around this and attempts to import the profile into the /home/username/.var/app/org.mozilla.firefox/cache/mozilla/firefox/profile name.default-release, have so far failed.
3 replies