On Sat, Oct 11, 2014 at 05:09:11PM +0200, Kai Lüke wrote:
> While openssh should use the port specified in /etc/ssh/sshd_config, the
> systemd socket file is hard coded with ListenStream=22. Because changes
> in /lib/systemd/system/ssh.socket are overwritten by updates of the
> openssh-server package, the postinst script should make sure that the
> port of sshd_config is also used in ssh.socket.
> 
> As simple workaround I changed the postinst script as follows from line
> 281 to call a new function set_port_in_ssh_socket:

It's not permitted for a package to edit files in /lib, even if it ships
them itself.  That would for example cause checksum tests to fail.

Isn't the right answer for you to override the package-provided unit
with a file in /etc/systemd/system/ ?

-- 
Colin Watson                                       [cjwat...@debian.org]


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

Reply via email to