Bug ID 1181970
Summary Can't restart service because masked services
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Salt
Assignee salt-maintainers@suse.de
Reporter dev.dorrejo@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello, i am being bothered because each time i do a upgrade on opensuse
tumbleweed and need to restart some service like apache, php-fpm, postfix,
etc..., i found that they wont restart/start because the next masked
partitions.

mercurio:/etc/apache2/vhosts.d # systemctl restart apache2.service
php-fpm.service postfix.service
Failed to restart apache2.service: Unit tmp.mount is masked.
Failed to restart php-fpm.service: Unit tmp.mount is masked.
Failed to restart postfix.service: Unit var-run.mount is masked.

Each time i do update and have to restart/stop the service appear message like
the one before.

doing: systemctl unmask --now tmp.mount wont do nothing, tryed masking and
unmasking again but the issue persist and have to reboot the server to apply
those reboot of service.

Status of the .mount:

mercurio:/etc/apache2/vhosts.d # systemctl status tmp.mount
��������� tmp.mount - /tmp
     Loaded: masked (Reason: Unit tmp.mount is masked.)
     Active: active (mounted) (Result: exit-code) since Mon 2021-02-08 22:01:05
AST; 10min ago
      Where: /tmp
       What: tmpfs
      Tasks: 0 (limit: 4915)
     CGroup: /system.slice/tmp.mount

Feb 08 22:01:05 mercurio umount[16479]: umount: /tmp: target is busy.
Feb 08 22:01:05 mercurio systemd[1]: Unmounting /tmp...
Feb 08 22:01:05 mercurio systemd[1]: tmp.mount: Mount process exited,
code=exited, status=32/n/a
Feb 08 22:01:05 mercurio systemd[1]: Failed unmounting /tmp.
mercurio:/etc/apache2/vhosts.d # systemctl status var.mount
��������� var.mount - /var
     Loaded: masked (Reason: Unit var.mount is masked.)
     Active: active (mounted) (Result: exit-code) since Mon 2021-02-08 22:01:05
AST; 11min ago
      Where: /var
       What: /dev/mapper/vg0-root
      Tasks: 0 (limit: 4915)
     CGroup: /system.slice/var.mount

Feb 05 20:37:25 localhost systemd[1]: Mounting /var...
Feb 05 20:37:25 localhost systemd[1]: Mounted /var.
Feb 08 22:01:05 mercurio systemd[1]: Unmounting /var...
Feb 08 22:01:05 mercurio umount[16480]: umount: /var: target is busy.
Feb 08 22:01:05 mercurio systemd[1]: var.mount: Mount process exited,
code=exited, status=32/n/a
Feb 08 22:01:05 mercurio systemd[1]: Failed unmounting /var.
mercurio:/etc/apache2/vhosts.d # systemctl status var-run.mount
��������� var-run.mount
     Loaded: masked (Reason: Unit var-run.mount is masked.)
     Active: inactive (dead)
  Condition: start condition failed at Fri 2021-02-05 20:37:25 AST; 3 days ago

Feb 05 20:37:25 localhost systemd[1]: Condition check resulted in Runtime
Directory being skipped.

journalctl said nothing about this issue.

systemctl list-units: https://susepaste.org/56464129


You are receiving this mail because: