[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948710: openssh-server: Fail to upgrade "ssh.service: Unit -.mount is masked"



Control: reassign -1 systemd 244-3

On Sun, Jan 12, 2020 at 02:48:39PM +0100, Christian Marillat wrote:
> Setting up openssh-server (1:8.1p1-5) ...
> rescue-ssh.target is a disabled or a static unit, not starting it.
> Failed to restart ssh.service: Unit -.mount is masked.
> invoke-rc.d: initscript ssh, action "restart" failed.
> * ssh.service - OpenBSD Secure Shell server
>      Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
>      Active: active (running) since Sat 2020-01-11 08:26:51 CET; 1 day 6h ago
>        Docs: man:sshd(8)
>              man:sshd_config(5)
>    Main PID: 1119 (sshd)
>      Memory: 3.7M
>      CGroup: /system.slice/ssh.service
>              `-1119 /usr/sbin/sshd -D

The OpenSSH units don't make any reference to a -.mount unit (explicitly
or implicitly, as far as I can tell), so I can only assume that this is
some kind of bug in systemd itself; reassigning over there.  Feel free
to reassign back if it seems that this is a bug in ssh.service after
all, but in that case I'd appreciate some kind of specific advice on
what it's doing wrong.

(I upgraded a test system that I deliberately keep in a clean state for
this sort of thing, and it worked fine for me.)

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: