[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-07-12 Thread Robie Basak
> Robie: If the service offers a mechanism to set a specific NIC to
listen on, then the service should make good on that offer when it's
requested. Doesn't that make sense to you?

Correct. If you configure the service to listen on a specific NIC, you
should also configure the service to wait for that NIC to be up before
it attempts to start.

> All services that require a NIC to function should wait for that NIC
to come alive. Having a service start or attempt to start before what it
needs for life support is available makes no sense.

So don't configure it like that.

> Allowing a service to start on a bogus IP address provides no
"service". What's the point of having a service technically up if it's
deaf to traffic?

What you're asking for is the system to algorithmically detect when it
has been configured this way and defer starting of the service. This
isn't a feature that currently exists. The workaround is to adjust
service dependencies at the same time as you change your service
configuration to add that dependency.

This problem is more complex than you might think. See
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ for
some background.

> I can't see where this qualifies as a wishlist item. The service
advertises a feature and doesn't provide it. To me, that's a bug.

Which service? This problem crosses an integration point: the upstream
sshd daemon versus the service manager.

In any case, arguing about whether it is a bug or a feature doesn't
change anything. If you'd like to see this fixed properly, please
volunteer your time upstream to implement the proposed solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-07-11 Thread Bill Gradwohl
For anyone that's interested ---

I added the following to root's crontab:
   @reboot sleep 120 && /bin/systemctl restart sshd

That works for me to get sshd up AND listening

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-06-22 Thread  Christian Ehrhardt 
SSH to finally learn how to pick up addresses later is a long time demand for 
ssh to do that.
But it is a demand for an upstream feature IMHO.

I know it can thse day's re-pickup adresses that it lost:
- I have a KVM guest with one interface and I have set up ssh listen to only 
interface 192.168.122.221
  ListenAddress 192.168.122.221
- All normal/fine.
- If I take away the Network device it doesn#t work (obviously)
- If I attach the device ssh without being restarted works again.

But the problem here as already takled about is the fatal-fail of ssh to
start if the ListenAddress not exists at the time.

And network-online.target might be a help for some cases, but not e.g. for 
networks added much later (like my virtual network example).
When I say this is a demand to upstream SSH for a long time I really mean it - 
this is in Ubuntu for a decade in bug 216847 and for like 3 years in upstream 
SSH.

I think this bug here should be used to change it to network-online.target if 
that really helps some cases.
The old bug I referred will continue to track until upstream implements 
IP_FREEBIND or any other late pickup tech (like listening to netlink events).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-06-21 Thread Bill Gradwohl
Robie: If the service offers a mechanism to set a specific NIC to listen
on, then the service should make good on that offer when it's requested.
Doesn't that make sense to you?

All services that require a NIC to function should wait for that NIC to
come alive. Having a service start or attempt to start before what it
needs for life support is available makes no sense. Allowing a service
to start on a bogus IP address provides no "service". What's the point
of having a service technically up if it's deaf to traffic?

I can't see where this qualifies as a wishlist item. The service
advertises a feature and doesn't provide it. To me, that's a bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-06-21 Thread Robie Basak
> Both services fail when an attempt is made to specify a particular NIC
via their respective config files.

If this is the case, then I don't think this can be treated as a bug in
Ubuntu. Currently, if you change one end of the configuration that
requires one thing, you need to change the other end of the
configuration to make sure that the thing you've now required will be
available at the right time.

I suppose there could be a Wishlist bug here that sshd will
automatically notice that case and wait for the bind address to become
configured. That'd best be implemented upstream and has its own problem
cases (how does it know that the bind address will _ever_ be
configured?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-06-15 Thread Bill Gradwohl
I created Bug 1774788 which is for rsyncd not starting at boot and was
provided with a fix by Andreas Hasenack that works. I tried using that
fix for ssh and it does not work.

Both services fail when an attempt is made to specify a particular NIC
via their respective config files. In the case of rsync, the fix was to
create the override.conf file containing:

[Unit]
After=network.target,network-online.target

via the command systemctl edit rsync.service

Using a similar procedure to create the override.conf file for ssh does
not fix the ssh daemon startup issue. I'm curious as to why that is.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-04-29 Thread Bill Gradwohl
I installed version 16LTS recently and just upgraded the box to 18LTS
and both display the error.

I have 2 NICs (Private / Public) with an sshd config file set to only
listen to the private side. It appears sshd attempt to start after the
Public NIC is up, but before the private NIC is available. The Private
NIC becomes available several seconds after sshd is initiated according
to journalctl.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2018-04-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: openssh (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2017-08-09 Thread Chowdhury Masum
** Changed in: openssh (Debian)
 Assignee: (unassigned) => Andrew T. Aldridge (dubleeh)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2017-08-09 Thread Chowdhury Masum
** Also affects: openssh (Debian)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2017-08-09 Thread Chowdhury Masum
** Also affects: openssh
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-06-29 Thread Seth Arnold
Tarifa on #ubuntu-server reported problems with his ssh service. The
steps he found that he needed to make sshd start reliably:

systemctl disable ssh
update-rc.d ssh disable
systemctl enable ssh

"Then add both Wants=network-online.target & Requires=network-
online.target in an ssh service override."

** Changed in: openssh (Ubuntu)
   Status: Expired => New

** Tags added: systemd-boot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-04-27 Thread Launchpad Bug Tracker
[Expired for openssh (Ubuntu) because there has been no activity for 60
days.]

** Changed in: openssh (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
Sure thing:

$ sudo systemctl status ssh
[sudo] password for andrewta: 
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: 
enabled)
   Active: failed (Result: start-limit) since Wed 2016-02-24 14:44:04 CST; 20s 
ago
  Process: 918 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
 Main PID: 918 (code=exited, status=255)

Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, code.../a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'exit-...'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time ove...t.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Start request repeated to...y.
Feb 24 14:44:04 janus-40 systemd[1]: Failed to start OpenBSD Secure Shell s...r.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'start...'.
Hint: Some lines were ellipsized, use -l to show in full.

journalctl -u ssh
-- Logs begin at Wed 2016-02-24 14:44:03 CST, end at Sat 2016-02-27 12:32:17 
CST. --
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
After boot starting ssh has never fails to start and correctly runs.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
After boot starting ssh has never fails to start and correctly runs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
Sure thing:

$ sudo systemctl status ssh
[sudo] password for andrewta: 
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: 
enabled)
   Active: failed (Result: start-limit) since Wed 2016-02-24 14:44:04 CST; 20s 
ago
  Process: 918 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
 Main PID: 918 (code=exited, status=255)

Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, code.../a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'exit-...'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time ove...t.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Start request repeated to...y.
Feb 24 14:44:04 janus-40 systemd[1]: Failed to start OpenBSD Secure Shell s...r.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'start...'.
Hint: Some lines were ellipsized, use -l to show in full.

journalctl -u ssh
-- Logs begin at Wed 2016-02-24 14:44:03 CST, end at Sat 2016-02-27 12:32:17 
CST. --
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-25 Thread Colin Watson
Please can you provide as much information as you have?  For example,
"the ctl status is failed 255" is clearly a paraphrase of something that
you're seeing; it would be more useful if you could please copy and
paste the original text of the error messages.

Forum research is probably leading you up entirely the wrong path; that
sounds like information that predates systemd.  The ssh.service unit has
"After=network.target".

"journalctl -u sshd" won't find anything because that's not what the
unit is called.  Try "journalctl -u ssh".

** Changed in: openssh (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-25 Thread Colin Watson
Please can you provide as much information as you have?  For example,
"the ctl status is failed 255" is clearly a paraphrase of something that
you're seeing; it would be more useful if you could please copy and
paste the original text of the error messages.

Forum research is probably leading you up entirely the wrong path; that
sounds like information that predates systemd.  The ssh.service unit has
"After=network.target".

"journalctl -u sshd" won't find anything because that's not what the
unit is called.  Try "journalctl -u ssh".

** Changed in: openssh (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs