Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Adélie Package Tree Adélie Package Tree
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • Adélie Package TreeAdélie Package Tree
  • Merge requests
  • !603

system/openssh: rename init script to openssh (v2)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed John Ogness requested to merge jogness/packages:bugfix-sshd-v2 into master Feb 01, 2021
  • Overview 4
  • Commits 1
  • Changes 3

On shutdown, the initscript will kill any processes that match sshd. However, since the initscript itself is called sshd, it ends up seeing/killing itself! This leads to the shutdown of sshd always thinking there are active ssh connections that need to be shutdown and then failing due to the TERM signal it sent itself.

Rename the script to openssh to avoid this. The conf.d file is therefore also renamed to openssh.

NOTE: This change affects any documentation. For example:

sudo rc-update add sshd default

It now needs to say:

sudo rc-update add openssh default

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: bugfix-sshd-v2