Re: Issues converting from bridge(4) to switch(4)

2020-11-06 Thread John McGuigan
Here is some tcpdumps as well, for reference there is a client connected to em1 which is sending the ARP and DHCP request packets. dhcpd is listening on vether0. switch0: 15:09:28.708823 arp who-has 8.8.8.8 tell 169.254.10.62 15:09:29.574297 0.0.0.0.68 > 255.255.255.255.67: xid:0x1e787469 \ secs

Re: Issues converting from bridge(4) to switch(4)

2020-11-06 Thread John McGuigan
After reading through the switch section of the ifconfig manpage I changed the line in /etc/hostname.switch0 from: add vether0 to: addlocal vether0 Unfortunately, I'm still having the same issue, I can see ARP and DHCP packets from the client computer on em1, vether0 and switch0, and can see th

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Stuart Henderson
On 2020-11-06, Kirill Peskov wrote: > This is a cryptographically signed message in MIME format. > > --ms02050204090901080203 > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; charset=utf-8 > > Unfortunately manpage for login.conf does not give any example, only > brief

Strange snmpd issue with 6.7

2020-11-06 Thread Winfred Harrelson
I am running OpenBSD 6.7 and am having a strange issue with snmpd(8). The issue is that it doesn't have all the arp entries but this was working before. I don't know exactly when this started happening but I just noticed today. Here is the machine in question and what I get: wharrels@styx1:/hom

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Allan Streib
Kirill Peskov writes: > I'm currently trying to figure out, how to set global environment > variable, valid for multiple users including root, so Ansible will be > able to accept it as "fact" for both root and non-root users. I've > already tried to play with .cshrc files and /etc/rc.local, nothi

set enforcesingleikesa info?

2020-11-06 Thread purplehorse
Hello Misc, Could new set enforcesingleikesa option in iked.conf cause 15-30sec stalled connection when rekeying is happening? Thanks. _ Milos

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Otto Moerbeek
On Fri, Nov 06, 2020 at 07:38:35PM +0100, Kirill Peskov wrote: > Unfortunately manpage for login.conf does not give any example, only > brief description: > > setenv envlist A list of environment > variables and associated >

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Kirill Peskov
Unfortunately manpage for login.conf does not give any example, only brief description: setenv envlist A list of environment variables and associated values to be set for the

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Kirill Peskov
Unfortunately neither /etc/profile nor ~/.profile won't be parsed if shell is non-interactive. Simplest example will be: if the content of /etc/profile is: MY_ENV=DEV export MY_ENV Then if I login to the host like this: ssh username@myopenbsdhost.local myopenbsdhost$ env _=/usr/bin/env LOGNAM

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Todd C . Miller
Typically, this kind of thing is done in /etc/login.conf. - todd

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Dante Catalfamo
Hey Kirill, The default shell in OpenBSD is usually ksh unless otherwise specified. You should check out the ksh(1) man page. You should be able to achieve what you want by setting the variable in /etc/profile. Hope that helps. Dante On 2020-11-06 6:23 a.m., Kirill Peskov wrote: Hi All,

Re: sysupgrade: xshare vs app-defaults

2020-11-06 Thread Stuart Henderson
On 2020-11-06, Jan Stary wrote: > sysupgrade just failed because it could not remove > /usr/local/lib/X11/app-defaults (see log below). > > Is it intended that X11 app defaults > should removed during a sysupgrade? > > It is indeed nonempty, namely, it contains > /usr/local/lib/X11/app-defaults/GV

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Janne Johansson
Check init files in /etc, and not only those for csh, since that is not default for all users. The manpage for the shell would be a good place to learn which global configuration files are run. Den fre 6 nov. 2020 kl 12:27 skrev Kirill Peskov : > Hi All, > > I'm currently trying to figure out, h

Set environment variable for non-interactive shell

2020-11-06 Thread Kirill Peskov
Hi All, I'm currently trying to figure out, how to set global environment variable, valid for multiple users including root, so Ansible will be able to accept it as "fact" for both root and non-root users. I've already tried to play with .cshrc files and /etc/rc.local, nothing worked so far, looks