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

Michael Biebl biebl at debian.org
Sun Jan 12 18:15:21 GMT 2020


Hi Colin,

please CC the package on reassign.


On Sun, 12 Jan 2020 18:06:41 +0000 Colin Watson <cjwatson at debian.org> wrote:
> 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.
> 

The bug is, that someone or something has masked _.mount unit, which you
shouldn't do.

My guess is on gparted, which has done that in the past and I'm not sure
if it still does.

Christian, have you run/used gparted prior/while running the openssh
upgrade?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200112/57e87394/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list