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

Bug#894558: marked as done (openssh: missing systemd support with the pkg.openssh.nognome profile)



Your message dated Sun, 01 Apr 2018 20:55:25 +0000
with message-id <E1f2k0b-0000zY-3m@fasolo.debian.org>
and subject line Bug#894558: fixed in openssh 1:7.6p1-5
has caused the Debian Bug report #894558,
regarding openssh: missing systemd support with the pkg.openssh.nognome profile
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.)


-- 
894558: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894558
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: openssh
Version: 7.6p1-4
Severity: wishlist
Tags: patch
User: debian-riscv@lists.debian.org                                                                     
Usertags: riscv64

Hi,

Thanks a lot or adding the pkg.openssh.nognome, it really makes easier
bootstrapping a new architecture as openssh is one of the first things
you try to get to make your life easier.

Unfortunately it appears that when using this profile, systemd support
is not enabled. This causes the postinst script to fail when starting the
ssh server, even if in practice it is correctly started:

| Job for ssh.service failed because a timeout was exceeded.
| See "systemctl status ssh.service" and "journalctl -xe" for details.
| 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: activating (start-pre) since Sun 2018-04-01 09:45:27 CEST; 238ms ago
|   Process: 24693 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=0/SUCCESS)
|  Main PID: 24693 (code=exited, status=0/SUCCESS); Control PID: 24697 (sshd)
|    CGroup: /system.slice/ssh.service
|            └─24697 /usr/sbin/sshd -t

It appears that systemd support requires pkg-config, and that this
build dependency is provided through libgtk-3-dev in the normal build,
and is therefore not installed when using the pkg.openssh.nognome
profile. The fix is therefore as simple as make the build-dependency,
like in the following patch:

--- a/debian/control	2018-04-01 13:49:23.527518848 +0200
+++ b/debian/control	2018-04-01 13:49:50.379552345 +0200
@@ -16,6 +16,7 @@
                libssl1.0-dev | libssl-dev (<< 1.1.0~),
                libsystemd-dev [linux-any],
                libwrap0-dev | libwrap-dev,
+               pkg-config,
                zlib1g-dev (>= 1:1.2.3),
 Standards-Version: 4.1.0
 Uploaders: Colin Watson <cjwatson@debian.org>,

Would it be possible to include it to the next upload?

Thanks,
Aurelien

-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64

Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
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)

--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:7.6p1-5

We believe that the bug you reported is fixed in the latest version of
openssh, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 894558@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated openssh package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 01 Apr 2018 21:37:19 +0100
Source: openssh
Binary: openssh-client openssh-server openssh-sftp-server ssh ssh-askpass-gnome openssh-client-udeb openssh-server-udeb
Architecture: source
Version: 1:7.6p1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
 openssh-client - secure shell (SSH) client, for secure access to remote machines
 openssh-client-udeb - secure shell client for the Debian installer (udeb)
 openssh-server - secure shell (SSH) server, for secure access from remote machines
 openssh-server-udeb - secure shell server for the Debian installer (udeb)
 openssh-sftp-server - secure shell (SSH) sftp server module, for SFTP access from remot
 ssh        - secure shell client and server (metapackage)
 ssh-askpass-gnome - interactive X program to prompt users for a passphrase for ssh-ad
Closes: 894558
Changes:
 openssh (1:7.6p1-5) unstable; urgency=medium
 .
   * Explicitly build-depend on pkg-config, rather than implicitly
     build-depending on it via libgtk-3-dev (thanks, Aurelien Jarno; closes:
     #894558).
Checksums-Sha1:
 603f7f9d091bbc4f74994106ffd853900a2775ed 3117 openssh_7.6p1-5.dsc
 13c6751710aa9c9bea59e8dfbebc6649e6a6f879 159748 openssh_7.6p1-5.debian.tar.xz
 06af4e7c7ac3657a6c8997caae8095621723e432 14376 openssh_7.6p1-5_source.buildinfo
Checksums-Sha256:
 62884dc56e1efe85ae12deb14f6fd0b714c8b9d17e1259b39adb2c44ab841236 3117 openssh_7.6p1-5.dsc
 cb9865fa5f0f0d664b3e7c277ce43552e5b6957a375e6a5f20a9a7b1b80012e2 159748 openssh_7.6p1-5.debian.tar.xz
 37ddc7a36a28336327bcd7d0685c78e08ae611be79d2a5c08a01a939432766c9 14376 openssh_7.6p1-5_source.buildinfo
Files:
 fbcc0fe81865bd62ec95c4d01558b365 3117 net standard openssh_7.6p1-5.dsc
 82c008945c74b6b848a2dcabcde27c37 159748 net standard openssh_7.6p1-5.debian.tar.xz
 e3f7c5b653b686317640e9bee42a8a2f 14376 net standard openssh_7.6p1-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlrBQxwACgkQOTWH2X2G
UAtWShAAmmITbAThrzIx1AnEKkjlR+jDQdl1PNdTDhCYKpCgmWesbQYDt6YHiAGB
ZeAKJTOwVBHYV9S6Shy38ETAPBvhF0yNiQ0Antdt934mA3I/nrrMhRPwR0qs33J2
il3eGk0uHJDq3qd6qTZEcbkOqCVopGFlTGWdmA5s8PBI92j+7S7MtG3ScoEk0vny
0jZy5A5e73Tc6lbaD6XqBqaTnCtXWJVhoWe4eckGx6DSyBy8uJZ3bEzl4naWL2IL
AqftaK+jnDlgI/qUsN7+omaiKjQTgC5bw9G5K1CJZAIem7SLPf+6kavGN0yLxBoG
I9k4k4S17DP1OnnAz9+FCJWJIOtHUuCveprBxdaCHQ28B9tn+I6ErTDAp2T4vy7p
vZ1v6+7v8dBTRpleOjMIYkarLpkgJ7dj1XIRHGg5ca+YlZL/btOW652WViv0V0NY
NfNzcn/Xc4Rhyqdd7fI+Dd0jAaihe4dm3vfthU7cR8LuDRALLfM+3NEODXX3scRZ
6RPLcSFJmUmP7nP1BkAgEKnyW9sRB15AP6XnjQVtHksQ1nbUD9HZFMg/04c+d9xp
g3Ijv5w1ftYUgzRDUzVFgC3lehTOVm3lPfviOi9Seu2CJ+hqiAqrgzytv0fh6m+H
eSezs+IVrSDCPo7EXEKqXRi7oVBxbk2DYRBoaaMJdNLZ/OqZ9V4=
=5gnT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: