Sometimes unit (all mounts) doesnt get unmasked from /var/run/systemd/system after modifiying partitions on drives
The bug (not sure but happens sometimes in my system)-> Unit (all mounts) doesnt get unmasked from /var/run/systemd/system after modifiying partitions on drives.
Issue observed in this distro arch based : garudalinux.org
I cannot delete or mount any partitions now because I have already configured my system (the bug i think only happens when deleting and creating new partitions, in my case usb-sata disk previously formated in ntfs and now in btrfs)
The issue is: after doing something in my system (i basically used pacman,mount, gparted, and mc to move files when the issue was observed and I think this happens when using gparted to delete and create partitions), "ALL" mounts in the system gets masked via systemd in /var/run/systemd/system linked to > /dev/null and don't get unmasked after finishing.
I can't reproduce the bug right now because I dont have a spare drive (all my drives now have data and are in use), I revised ALL (cat'd the entire system for systemctl and mask) files and the culprit appears (im not sure) to be gparted:
./snapshot/usr/bin/gparted: systemctl --runtime mask --quiet -- $MOUNTLIST
Im not sure its gparted fault, because I also used at the time of the observed behaviour, pacman to update system and mc to copy files... so it could be everything, but I thought it was good to notify you in case...
And this is an afterthought about the problem after the system was running.
But after catting the entire system it could be two things , temporary pacman error or problem in gparted, the rest are binary files... or files that mask an specific service.
those are the files with uses systemctl mask in my system:
./snapshot/usr/bin/gparted:# Use systemctl to prevent automount by masking currently unmasked mount points
./snapshot/usr/bin/gparted: systemctl --runtime mask --quiet -- $MOUNTLIST
./snapshot/usr/bin/gparted:# Use systemctl to unmask those mount points masked above
./snapshot/usr/bin/gparted: systemctl --runtime unmask --quiet -- $MOUNTLIST 2> /dev/null || \
./snapshot/usr/share/bash-completion/completions/systemctl:__get_masked_units() { __systemctl $1 list-unit-files "$2*" \
./snapshot/usr/share/doc/systemd/NEWS: * systemctl disable/unmask/preset/preset-all cannot be used with
./snapshot/usr/share/doc/systemd/NEWS: behaviour that wasn't useful. systemctl disable/unmask will now undo
./snapshot/usr/share/doc/systemd/NEWS: * "systemctl enable", "systemctl disable" and "systemctl mask"
./snapshot/usr/share/fish/completions/systemctl.fish: complete -f -c systemctl -l now -n "__fish_seen_subcommand_from disable mask" -d "Also stop unit"
./snapshot/usr/share/zsh/site-functions/_systemctl:(( $+functions[_systemctl_unmask] )) || _systemctl_unmask()
./snapshot/usr/share/firewalld/testsuite/integration/testsuite:echo "systemctl unmask polkit" >> ./cleanup
./snapshot/usr/share/firewalld/testsuite/integration/testsuite:systemctl mask polkit
./snapshot/usr/share/garuda/scripts/gps-off.sh:systemctl stop geoclue && systemctl mask geoclue &&
./snapshot/usr/share/garuda/scripts/gps-on.sh:systemctl unmask geoclue && systemctl start geoclue &&
so i think it could be problem of gparted, so this message.
Thanks and sorry if its all ok (don't know what it could be and thought that it could be gparted's fault)