On 2022-03-18, Mark Patruck <[email protected]> wrote:
> Hi,
>
> after updating a first bunch of backup systems to -current today, i have
> issues starting services on machines w/ different rdomains.
>
> $ cat /etc/rc.conf.local
> ifstated_flags=
> ntpd_flags=NO
> ntpd106_rtable=106
> smtpd_flags=NO
> smtpd202_rtable=202
> syslogd_flags=NO
> syslogd104_rtable=104
> zabbix_agentd104_rtable=104
> pkg_scripts=ntpd106 smtpd202 syslogd104 zabbix_agentd104
>
>
> None of the services come up when started either via
>
> $ doas rcctl start smtpd202
> or
> $ /etc/rc.d/smtpd202 start
>
> The only thing that works, is
>
> $ doas route -T202 exec /usr/sbin/smtpd
>
>
> Did i miss changes to -current (login class stuff perhaps)?

The thing most likely to have affected this is
https://marc.info/?t=164350084800001&r=1&w=2 but it's not expected
that you should have to change anything, and I don't see that
problem here - I just did this to try and replicate :

cd /etc/rc.d
cp sshd sshd2
cd ..
echo sshd2_rtable=2 >> rc.conf.local
rcctl start sshd2

and it started and is running ok in rdomain 2 :

# pgrep -T 2 -lf . 
75594 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
# route -T 2 exec telnet $rtable2_local_ip 22
[..]
Escape character is '^]'.
SSH-2.0-OpenSSH_8.9

Not sure what to suggest. Maybe ktrace -i will give some clues ..


Reply via email to