Bug#767320:

2015-02-18 Thread V Spagnolo
Spoke too soon. sshd did not start this morning.

From syslog, the first mention of sshd 

 Feb 19 08:32:56 ithilien kernel: [   15.709442] Installing knfsd (copyright 
 (C) 1996 o...@monad.swb.de).
 Feb 19 08:32:56 ithilien kernel: [   16.917767] vboxdrv: Found 8 processor 
 cores.
 Feb 19 08:32:56 ithilien kernel: [   16.918072] vboxdrv: fAsync=0 
 offMin=0x26a offMax=0x1cb4
 Feb 19 08:32:56 ithilien kernel: [   16.918161] vboxdrv: TSC mode is 
 'synchronous', kernel timer mode is 'normal'.
 Feb 19 08:32:56 ithilien kernel: [   16.918163] vboxdrv: Successfully loaded 
 version 4.3.18_Debian (interface 0x001a0008).
 Feb 19 08:32:56 ithilien kernel: [   17.431707] vboxpci: IOMMU not found (not 
 registered)
 Feb 19 08:32:56 ithilien systemd[1]: ssh.service: main process exited, 
 code=exited, status=255/n/a
 Feb 19 08:32:56 ithilien systemd[1]: Unit ssh.service entered failed state.
 Feb 19 08:32:56 ithilien polkitd[890]: started daemon version 0.105 using 
 authority implementation `local' version `0.105'
 

V


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#767320:

2015-02-17 Thread V Spagnolo
Good news. Today sshd started on boot.

Maybe it got fixed in yesterday's updates:

 Upgraded the following packages:
 exim4 (4.84-6) to 4.84-7
 exim4-base (4.84-6) to 4.84-7
 exim4-config (4.84-6) to 4.84-7
 exim4-daemon-light (4.84-6) to 4.84-7
 gir1.2-networkmanager-1.0 (0.9.10.0-5) to 0.9.10.0-6
 gnome-orca (3.14.0-2) to 3.14.0-3
 grep (2.20-4) to 2.20-4.1
 libbrlapi0.6 (5.2~20141018-2) to 5.2~20141018-3
 libelf1 (0.159-4) to 0.159-4.2
 libldap-2.4-2 (2.4.40-3) to 2.4.40-4
 libmp3lame0 (3.99.5+repack1-5) to 3.99.5+repack1-6
 libnm-glib-vpn1 (0.9.10.0-5) to 0.9.10.0-6
 libnm-glib4 (0.9.10.0-5) to 0.9.10.0-6
 libnm-util2 (0.9.10.0-5) to 0.9.10.0-6
 network-manager (0.9.10.0-5) to 0.9.10.0-6
 python3-brlapi (5.2~20141018-2) to 5.2~20141018-3
 xbrlapi (5.2~20141018-2) to 5.2~20141018-3


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#767320: openssh-server: doesn't start at boot

2014-11-07 Thread V Spagnolo
On Fri, 2014-11-07 at 16:12 +, Colin Watson wrote:
 On Thu, Oct 30, 2014 at 07:26:49PM +1300, V Spagnolo wrote:
  Oct 28 12:44:46 ithilien systemd[1]: ssh.service: main process exited,
  code=exited, status=255/n/a
 
 There could be a few reasons for that.  Could you check to see whether
 there's anything useful in /var/log/auth.log (or rotated versions of
 that file) at this time, and if so post the log fragments?
 
 Thanks,
 
Hi,

I do have a modified sshd_config, to only Listen on some interfaces
/etc/ssh/sshd_config
#ListenAddress 
#ListenAddress 0.0.0.0
ListenAddress 192.168.1.13
ListenAddress 192.168.1.12
ListenAddress 10.1.1.1
Protocol 2


Here's /var/log/auth.log from this morning's boot. At the end I start
the service manually.

Nov  8 10:54:57 ithilien sshd[962]: error: Bind to port 22 on 10.1.1.1 
failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[962]: error: Bind to port 22 on 
192.168.1.12 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[962]: error: Bind to port 22 on 
192.168.1.13 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[962]: fatal: Cannot bind any address.
Nov  8 10:54:57 ithilien sshd[979]: error: Bind to port 22 on 10.1.1.1 
failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[979]: error: Bind to port 22 on 
192.168.1.12 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[979]: error: Bind to port 22 on 
192.168.1.13 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[979]: fatal: Cannot bind any address.
Nov  8 10:54:57 ithilien sshd[981]: error: Bind to port 22 on 10.1.1.1 
failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[981]: error: Bind to port 22 on 
192.168.1.12 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[981]: error: Bind to port 22 on 
192.168.1.13 failed: Cannot assign requested address.
Nov  8 10:54:57 ithilien sshd[981]: fatal: Cannot bind any address.
Nov  8 10:54:58 ithilien sshd[983]: error: Bind to port 22 on 10.1.1.1 
failed: Cannot assign requested address.
Nov  8 10:54:58 ithilien sshd[983]: error: Bind to port 22 on 
192.168.1.12 failed: Cannot assign requested address.
Nov  8 10:54:58 ithilien sshd[983]: error: Bind to port 22 on 
192.168.1.13 failed: Cannot assign requested address.
Nov  8 10:54:58 ithilien sshd[983]: fatal: Cannot bind any address.
Nov  8 10:54:58 ithilien gdm-launch-environment]: 
pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm by 
(uid=0)
Nov  8 10:54:58 ithilien systemd-logind[880]: New session c1 of user 
Debian-gdm.
Nov  8 10:54:58 ithilien systemd: pam_unix(systemd-user:session): 
session opened for user Debian-gdm by (uid=0)
Nov  8 10:55:01 ithilien polkitd(authority=local): Registered 
Authentication Agent for unix-session:c1 (system bus name :1.21 [gnome-shell 
--mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, 
locale en_NZ.UTF-8)
Nov  8 10:55:07 ithilien gdm-password]: pam_unix(gdm-password:auth): 
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=v
Nov  8 10:55:11 ithilien gdm-password]: pam_unix(gdm-password:session): 
session opened for user v by (unknown)(uid=0)
Nov  8 10:55:11 ithilien systemd-logind[880]: New session 1 of user v.
Nov  8 10:55:11 ithilien systemd: pam_unix(systemd-user:session): 
session opened for user v by (uid=0)
Nov  8 10:55:11 ithilien polkitd(authority=local): Unregistered 
Authentication Agent for unix-session:c1 (system bus name :1.21, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_NZ.UTF-8) 
(disconnected from bus)
Nov  8 10:55:14 ithilien polkitd(authority=local): Registered 
Authentication Agent for unix-session:1 (system bus name :1.70 
[/usr/bin/gnome-shell], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_NZ.UTF-8)
Nov  8 10:55:18 ithilien pkexec: pam_unix(polkit-1:session): session 
opened for user root by (uid=1001)
Nov  8 10:55:18 ithilien pkexec[1881]: v: Executing command [USER=root] 
[TTY=unknown] [CWD=/home/v] 
[COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 
52]
Nov  8 10:55:25 ithilien polkitd(authority=local): Operator of 
unix-session:1 successfully authenticated as unix-user:v to gain ONE-SHOT 
authorization for action com.ubuntu.pkexec.synaptic for unix-process:1893:28419 
[/bin/sh /usr/bin/synaptic-pkexec] (owned by unix-user:v)
Nov  8 10:55:25 ithilien pkexec: pam_unix(polkit-1:session): session 
opened for user root by (uid=1001)
Nov  8 10:55:25 ithilien pkexec[1895]: v: Executing command [USER=root] 
[TTY=unknown] [CWD=/home/v] [COMMAND=/usr/sbin

Bug#767320: openssh-server: doesn't start at boot

2014-10-30 Thread V Spagnolo
Package: openssh-server
Version: 1:6.7p1-2

Hi,
I discovered that my laptop daily backups to my home Backuppc server
haven't been running since Oct 1, when I installed the latest Jessie
upgrades.  Logs showed that Backuppc couldn't connect
 to the laptop because sshd wasn't running. Restarting by
etc/init.d/ssh restart or systemctl start sshd.service start
sshd.service work and my backups run.

It seems that I've been using 3 different versions of openssh-server
during this time.
  openssh-server (1:6.6p1-7)
  openssh-server (1:6.6p1-7) to 1:6.6p1-8
  openssh-server (1:6.6p1-8) to 1:6.7p1-2

Just after a boot:

$ sudo systemctl status sshd.service
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled)
   Active: failed (Result: start-limit) since Tue 2014-10-28 12:44:46
NZDT; 2min 3s ago
  Process: 987 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited,
status=255)
 Main PID: 987 (code=exited, status=255)

Oct 28 12:44:46 ithilien systemd[1]: ssh.service: main process exited,
code=exited, status=255/n/a
Oct 28 12:44:46 ithilien systemd[1]: Unit ssh.service entered failed
state.
Oct 28 12:44:46 ithilien systemd[1]: ssh.service start request repeated
too quickly, refusing to start.
Oct 28 12:44:46 ithilien systemd[1]: Failed to start OpenBSD Secure
Shell server.
Oct 28 12:44:46 ithilien systemd[1]: Unit ssh.service entered failed
state.


I read #757822 - openssh-server: systemd start-limit reached after
bootup, causing sshd to be stopped, but that seemed diffferent, at least
to me.

Anything else I should report?

Thanks,
V

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-server depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.53
ii  dpkg   1.17.13
ii  init-system-helpers1.21
ii  libc6  2.19-11
ii  libcomerr2 1.42.12-1
ii  libgssapi-krb5-2   1.12.1+dfsg-10
ii  libkrb5-3  1.12.1+dfsg-10
ii  libpam-modules 1.1.8-3.1
ii  libpam-runtime 1.1.8-3.1
ii  libpam0g   1.1.8-3.1
ii  libselinux12.3-2
ii  libssl1.0.01.0.1j-1
ii  libwrap0   7.6.q-25
ii  lsb-base   4.1+Debian13
ii  openssh-client 1:6.7p1-2
ii  openssh-sftp-server1:6.7p1-2
ii  procps 2:3.3.9-8
ii  zlib1g 1:1.2.8.dfsg-2

Versions of packages openssh-server recommends:
ii  ncurses-term  5.9+20140913-1
ii  xauth 1:1.0.9-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:
  openssh-server/permit-root-login: false
(END)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org