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

Bug#919262: marked as done (Fail to upgrade with Failed to restart ssh.service: Unit -.mount is masked.)



Your message dated Mon, 14 Jan 2019 13:53:51 +0100
with message-id <87muo39z8g.fsf@christian.marillat.net>
and subject line Re: Bug#919262: Fail to upgrade with Failed to restart ssh.service: Unit -.mount is masked.
has caused the Debian Bug report #919262,
regarding Fail to upgrade with Failed to restart ssh.service: Unit -.mount is masked.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
919262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919262
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openssh-server
Version: 1:7.9p1-5
Severity: normal

Hi,

I see thios error :


Setting up openssh-server (1:7.9p1-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 Fri 2019-01-11 14:57:07 CET; 2 days ago
     Docs: man:sshd(8)
           man:sshd_config(5)
 Main PID: 841 (sshd)
   Memory: 3.0M
   CGroup: /system.slice/ssh.service
           `-841 /usr/sbin/sshd -D

Jan 13 20:52:09 christian.marillat.net sshd[24886]: pam_unix(sshd:session): session opened for user marillat by (uid=0)
Jan 13 22:50:01 christian.marillat.net sshd[14640]: Accepted publickey for marillat from 192.168.0.1 port 38048 ssh2: RSA SHA256:qJBIBWuL4G0LrvM47D4a+MD02B2TdxReWJXKzylNq/w
Jan 13 22:50:01 christian.marillat.net sshd[14640]: pam_unix(sshd:session): session opened for user marillat by (uid=0)
Jan 14 00:30:48 christian.marillat.net sshd[32705]: Accepted publickey for marillat from 192.168.0.63 port 48474 ssh2: RSA SHA256:Ozy5xp0mqV+mMO7Ow7trK3O8pwErdObTyJt0IOV3pNQ
Jan 14 00:30:48 christian.marillat.net sshd[32705]: pam_unix(sshd:session): session opened for user marillat by (uid=0)
Jan 14 00:30:48 christian.marillat.net sshd[32705]: pam_unix(sshd:session): session closed for user marillat
Jan 14 09:17:42 christian.marillat.net sshd[14078]: Accepted publickey for marillat from 192.168.0.63 port 48480 ssh2: RSA SHA256:5hphMQAX6JqHVEwvIHRZHbCWIe72YOrJ8NC2ZxUMEXI
Jan 14 09:17:42 christian.marillat.net sshd[14078]: pam_unix(sshd:session): session opened for user marillat by (uid=0)
Jan 14 09:20:21 christian.marillat.net sshd[17921]: Accepted publickey for marillat from 192.168.0.63 port 48488 ssh2: RSA SHA256:5hphMQAX6JqHVEwvIHRZHbCWIe72YOrJ8NC2ZxUMEXI
Jan 14 09:20:21 christian.marillat.net sshd[17921]: pam_unix(sshd:session): session opened for user marillat by (uid=0)
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 openssh-server





Christian

-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.14 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssh-server depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.69
ii  dpkg                   1.19.2
ii  libaudit1              1:2.8.4-2
ii  libc6                  2.28-5
ii  libcom-err2            1.44.5-1
ii  libgssapi-krb5-2       1.17-1
ii  libkrb5-3              1.17-1
ii  libpam-modules         1.1.8-4
ii  libpam-runtime         1.1.8-4
ii  libpam0g               1.1.8-4
ii  libselinux1            2.8-1+b1
ii  libssl1.1              1.1.1a-1
ii  libsystemd0            240-4
ii  libwrap0               7.6.q-27
ii  lsb-base               10.2018112800
ii  openssh-client         1:7.9p1-5
ii  openssh-sftp-server    1:7.9p1-5
ii  procps                 2:3.3.15-2
ii  ucf                    3.0038+nmu1
ii  zlib1g                 1:1.2.11.dfsg-1

Versions of packages openssh-server recommends:
ii  libpam-systemd  240-4
ii  ncurses-term    6.1+20181013-1
ii  xauth           1:1.0.10-1

Versions of packages openssh-server suggests:
pn  molly-guard   <none>
pn  monkeysphere  <none>
pn  rssh          <none>
pn  ssh-askpass   <none>
pn  ufw           <none>

-- debconf information excluded

--- End Message ---
--- Begin Message ---
On 14 janv. 2019 10:49, Colin Watson <cjwatson@debian.org> wrote:

> On Mon, Jan 14, 2019 at 09:36:20AM +0100, Christian Marillat wrote:
>> Setting up openssh-server (1:7.9p1-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.
>
> This is pretty opaque to me, and the logs don't provide much of a clue.
> CCing the systemd maintainers - do you have any idea what's going on
> here?

Well, yesterday I've played with broken micro sd card and the problem
was here. After a reboot a can install/configure openssh-server

I close this "bug".

Christian

--- End Message ---

Reply to: