Hi gurus,
I've installed f40 as an lxc container named FED. Default image comes
without an ssh server so I "dnf install openssh-server -y" followed by
"systemctl start sshd". It fails. journalctl -xeu sshd shows this:
"FED (sshd)[636]: sshd.service: Referenced but unset environment
variable evaluates to an empty string: OPTIONS"
Inspection of the sshd.service file shows these as part of the [Service]
section:
EnvironmentFile=-/etc/sysconfig/sshd
ExecStart=/usr/sbin/sshd -D $OPTIONS
Apparently /etc/sysconfig/sshd is supposed to contain at least one named
variable ( name appears to be unimportant ). Searches showed the
options name to be SSHD_OPTS, journalctl says it is looking for OPTIONS,
either work if declared correctly.
OPTIONS= fails because OPTIONS is null
OPTIONS='' works because it is defined but empty.
My question is: since the sshd.service file expects -D $OPTIONS
shouldn't /etc/sysconfig/sshd define the OPTIONS variable ahead of time?
If the user wants to pass values via $OPTIONS they can do so of their
own accord but the service should at least start without modification to
sysconfig/sshd ( IMHO ).
Does this call for bugzilla?
Thanks,
Mike Wright
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue