Page MenuHomeFreeBSD
Feed Advanced Search

Aug 8 2021

guyyur_gmail.com abandoned D26654: Support immutable motd when /var/run is tmpfs.

/var/run/motd doesn't work for update_motd="NO" whether /var/run is tmpfs or not.
when /var/run is not tmpfs cleanvar rc script will remove any motd placed there.

Aug 8 2021, 2:42 PM

Mar 30 2021

guyyur_gmail.com updated the diff for D26654: Support immutable motd when /var/run is tmpfs.

Updated changes:
When update_motd="NO", don't overwrite /var/run/motd, only copy if missing.
Don't remove rcvar line to allow "service motd disable",
check rcvar before run_rc_command instead.

Mar 30 2021, 9:23 PM

Mar 27 2021

guyyur_gmail.com added a comment to D26654: Support immutable motd when /var/run is tmpfs.

I was not aware of "service X disable" usage and I thought
when rcvar is set to "NO" it prevented the run of the rc script.
I see that it only prevents run_rc_command from running.
motd_start won't run but motd is loaded and can do stuff before run_rc_command.

Mar 27 2021, 7:10 PM

Mar 9 2021

guyyur_gmail.com updated the diff for D15406: Separate ioctl address prefix management from RA prefix management as we have no API for controlling the latter..

Update changes to mask destination address before calling rib_handle_ifaddr_info

Mar 9 2021, 12:58 PM

Jan 24 2021

guyyur_gmail.com updated the diff for D15406: Separate ioctl address prefix management from RA prefix management as we have no API for controlling the latter..

update after rtinit split/removal changes

Jan 24 2021, 10:25 AM

Jan 23 2021

guyyur_gmail.com added a comment to D26654: Support immutable motd when /var/run is tmpfs.

Do you have a suggestion for a different way to fix it?

Jan 23 2021, 5:56 PM

Nov 23 2020

guyyur_gmail.com added a comment to D26654: Support immutable motd when /var/run is tmpfs.

The problem with reverting the login(1) portion and leaving /etc/rc.d/motd as-is is that then the default of update_motd=YES will not work.
The motd script only generates /etc/motd symlink if motd.template does not exist when the script runs.
motd.template will exist on new installations so login will look for /etc/motd but script will only generate /var/run/motd.

Nov 23 2020, 10:17 AM

Nov 19 2020

guyyur_gmail.com updated the diff for D26654: Support immutable motd when /var/run is tmpfs.

Previous changes were confusing with /etc/motd being either symlink or file.
As suggested, use simpler design.
motd script will always run and generate /var/run/motd.
update_motd variable will decide if motd script prepends version info or not.

Nov 19 2020, 11:16 PM
guyyur_gmail.com added a comment to D26654: Support immutable motd when /var/run is tmpfs.

Sounds good to me.
Do you want me to prepare a new patch with your suggestion?

Nov 19 2020, 9:19 PM

Oct 25 2020

guyyur_gmail.com updated the diff for D26654: Support immutable motd when /var/run is tmpfs.

changes from last diff:
libexec/rc/rc.d/motd

  1. overwrite /etc/motd.template with /etc/motd if /etc/motd is a regular file
  2. always create /etc/motd symbolic link
Oct 25 2020, 9:23 AM

Oct 9 2020

guyyur_gmail.com abandoned D15404: Add and use new RTF_CONNECTED flag to mark connected routes.

Abandon in favor of D23695

Oct 9 2020, 10:38 AM
guyyur_gmail.com abandoned D15405: Match IPv6 neighbor routes when they are marked with RTF_CONNECTED..

Abandon in favor of D23695

Oct 9 2020, 10:38 AM

Oct 3 2020

guyyur_gmail.com updated the diff for D15406: Separate ioctl address prefix management from RA prefix management as we have no API for controlling the latter..

rebase the changes against D23695, dropping the use of RTF_CONNECTED

Oct 3 2020, 7:55 PM
guyyur_gmail.com requested review of D26654: Support immutable motd when /var/run is tmpfs.
Oct 3 2020, 7:10 PM

Apr 15 2019

guyyur_gmail.com updated the diff for D15406: Separate ioctl address prefix management from RA prefix management as we have no API for controlling the latter..

replace TAILQ_FOREACH with CK_STAILQ_FOREACH in in6_ifremprefix

Apr 15 2019, 7:30 PM

May 12 2018

guyyur_gmail.com created D15406: Separate ioctl address prefix management from RA prefix management as we have no API for controlling the latter..
May 12 2018, 6:18 PM
guyyur_gmail.com created D15405: Match IPv6 neighbor routes when they are marked with RTF_CONNECTED..
May 12 2018, 6:15 PM
guyyur_gmail.com created D15404: Add and use new RTF_CONNECTED flag to mark connected routes.
May 12 2018, 6:14 PM

Nov 10 2017

guyyur_gmail.com updated the diff for D13030: if_awg: mark the first tx descriptor as ready only after all the other tx descriptors are set up.

Update for D13029 changes

Nov 10 2017, 10:10 PM
guyyur_gmail.com updated the diff for D13029: if_awg: only request completion interrupt on the last descriptor of a tx frame.

moved increment of tx.segs to correct location

Nov 10 2017, 10:09 PM
guyyur_gmail.com updated the diff for D12539: if_awg: drain tx buffers and clear rx buffers when stopping.
Nov 10 2017, 5:12 PM
guyyur_gmail.com updated the diff for D12538: if_awg: avoid hole in the rx ring buffer when mbuf allocation fails.
Nov 10 2017, 5:11 PM
guyyur_gmail.com retitled D12538: if_awg: avoid hole in the rx ring buffer when mbuf allocation fails from if_awg rx path changes to avoid hole in the ring buffer to if_awg: avoid hole in the rx ring buffer when mbuf allocation fails.
Nov 10 2017, 5:10 PM
guyyur_gmail.com created D13035: if_awg: rename tx functions to match other drivers and free mbuf on m_collapse failure.
Nov 10 2017, 5:09 PM
guyyur_gmail.com created D13034: if_awg: don't process transmitted packets on TX_BUF_UA_INT, only on TX_INT.
Nov 10 2017, 5:07 PM
guyyur_gmail.com created D13033: if_awg: replace multiple calls to if_setdrvflagbits with one call in awg_txintr.
Nov 10 2017, 5:05 PM
guyyur_gmail.com created D13032: if_awg: only increment IFCOUNTER_OPACKETS when the last segment of a frame has been successfully transmitted.
Nov 10 2017, 5:04 PM
guyyur_gmail.com created D13031: if_awg: store mbuf and dma mapping in the last segment of a tx frame instead of the first.
Nov 10 2017, 5:00 PM
guyyur_gmail.com created D13030: if_awg: mark the first tx descriptor as ready only after all the other tx descriptors are set up.
Nov 10 2017, 4:55 PM
guyyur_gmail.com created D13029: if_awg: only request completion interrupt on the last descriptor of a tx frame.
Nov 10 2017, 4:53 PM
guyyur_gmail.com abandoned D12537: if_awg tx path fixes/modifications.
Nov 10 2017, 4:50 PM

Sep 29 2017

guyyur_gmail.com updated the diff for D12537: if_awg tx path fixes/modifications.

changed to only increase opackets/oerrors on last segment

Sep 29 2017, 8:41 AM
guyyur_gmail.com created D12539: if_awg: drain tx buffers and clear rx buffers when stopping.
Sep 29 2017, 12:37 AM
guyyur_gmail.com updated the diff for D12537: if_awg tx path fixes/modifications.

Mark request for tx interrupt notification only on last segment.
Return ENOBUFS from awg_encap only if buffer is full so don't unset IFF_DRV_OACTIVE if m_collapse or dma loading failed.

Sep 29 2017, 12:31 AM

Sep 28 2017

guyyur_gmail.com created D12538: if_awg: avoid hole in the rx ring buffer when mbuf allocation fails.
Sep 28 2017, 6:41 PM
guyyur_gmail.com created D12537: if_awg tx path fixes/modifications.
Sep 28 2017, 6:35 PM
guyyur_gmail.com created D12536: Disable/Enable CSUM_UDP and CSUM_TCP along with CSUM_IP for if_awg.
Sep 28 2017, 6:22 PM
guyyur_gmail.com created D12535: Fix if_awg tx dma status reg offsets.
Sep 28 2017, 6:05 PM