[systemd-devel] Failed to restart xxxx.service: "Unit tmp.mount is masked"

Tomasz Torcz tomek at pipebreaker.pl
Sat Sep 28 18:22:55 UTC 2019


On Sun, Sep 29, 2019 at 02:15:19AM +0800, 沙包妖梦 wrote:
> Hello, and help, I ran into an issue for several times. I don't know when
> and why it happen.
> 
> When I want to restart some service, it sais: "Failed to start
> xxxxxx.service: Unit xxxx.mount is masked".
> xxxx.mount has "RequiresMountsFor" or "PrivateTmp".
> When this happens, I will see ALL mountpoint units is masked by "systemctl
> status *.mount". (except something like sys-kernel-config.mount)

  "masked" means there is a symlink with the name of *.mount unit, 
in one of the unit search paths (listed in "man systemd.unit"),
pointing to /dev/null.
  You have to: 1) remove the symlinks; 2) figure what creates those
symlinks on your system.


-- 
Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
xmpp: zdzichubg at chrome.pl          Ziomale na życie mają tu patenty specjalne.



More information about the systemd-devel mailing list