Re: Write to DVD-RAM

2019-07-25 Thread Stefan Sperling
On Thu, Jul 25, 2019 at 10:19:11AM +0800, Zhi-Qiang Lei wrote: > Hi, I’m trying to encrypt a DVD-RAM before putting some files onto it on my > OpenBSD 6.5 desktop. But neither dd nor disklabel seems able to work on the > drive. Did I miss something? > > $ dmesg | grep cd > cd0 at scsibus3 targ

Syncing unbound.conf

2019-07-25 Thread Flipchan
Greetings everyone, Does anyone have a good solution for syncing unbound configuration files? i have the senario where i have two internal LAN's that in two different offices that need to have the same internal dns system for the local systems, and there is a lot of changes being done in the

Re: Syncing unbound.conf

2019-07-25 Thread Mischa
Hi Flipchan, I am using rdist(1) for it: https://chargen.one/obsdams/rdist-1-when-ansible-is-too-much Mischa > On 25 Jul 2019, at 13:55, Flipchan wrote: > > Greetings everyone, > > Does anyone have a good solution for syncing unbound configuration files? > > > i have the senario where i

Re: perl privilege drop

2019-07-25 Thread Edgar Pettijohn
On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > Is there a standard OpenBSD approved method for dropping privileges in > > a perl server? Currently looking into Privileges::Drop, but since it > > isn't in base makes me

Re: perl privilege drop

2019-07-25 Thread Andrew Hewus Fresh
On Thu, Jul 25, 2019 at 07:16:27AM -0500, Edgar Pettijohn wrote: > > On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > > Is there a standard OpenBSD approved method for dropping privileges in > > > a perl server?

Re: perl privilege drop

2019-07-25 Thread Theo de Raadt
Andrew Hewus Fresh wrote: > On Thu, Jul 25, 2019 at 07:16:27AM -0500, Edgar Pettijohn wrote: > > > > On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > > > > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > > > Is there a standard OpenBSD approved method for dropping

Re: Write to DVD-RAM

2019-07-25 Thread gwes
On 7/24/19 10:19 PM, Zhi-Qiang Lei wrote: Hi, I’m trying to encrypt a DVD-RAM before putting some files onto it on my OpenBSD 6.5 desktop. But neither dd nor disklabel seems able to work on the drive. Did I miss something? $ dmesg | grep cd cd0 at scsibus3 targ 1 lun 0: ATAPI 5/cdrom

Re: Syncing unbound.conf

2019-07-25 Thread Stuart Henderson
On 2019-07-25, Flipchan wrote: > Greetings everyone, > > Does anyone have a good solution for syncing unbound configuration files? > > > i have the senario where i have two internal LAN's that in two different > offices that need to have the same internal > dns system for the local systems, and

Sensorsd not executing commands

2019-07-25 Thread cheddar-cheeze
I am working on setting up sensorsd so that i can automatically turn on my display when docking my laptop, but on doing so sensorsd does not execute my shell script. In syslogd sensord shows the sensors being tripped so i am confused on why the shell script will no execute. #/etc/sensorsd.conf

Re: vmd eating lots of memory

2019-07-25 Thread Paul de Weerd
A little more follow-up on this vmd-memory-leak issue. Comparing the two VMs I have running, I started to stress parts where these two hosts differ. The testvm hardly does any traffic, while the undeadly vm sees quite a few visitors on a daily basis, so networking may be part of the leak.

Re: vmd eating lots of memory

2019-07-25 Thread Mike Larkin
On Thu, Jul 25, 2019 at 09:54:22PM +0200, Paul de Weerd wrote: > A little more follow-up on this vmd-memory-leak issue. > > Comparing the two VMs I have running, I started to stress parts where > these two hosts differ. The testvm hardly does any traffic, while the > undeadly vm sees quite a few

Re: perl privilege drop

2019-07-25 Thread Andrew Hewus Fresh
On Thu, Jul 25, 2019 at 09:35:44AM -0600, Theo de Raadt wrote: > Andrew Hewus Fresh wrote: > > https://perldoc.perl.org/5.30.0/functions/chroot.html > > > NOTE: It is good security practice to do chdir("/") > > > (chdir to the root directory) immediately after a chroot. > > > > The phrasing

Re: Sensorsd not executing commands

2019-07-25 Thread Stuart Henderson
On 2019-07-25, cheddar-cheeze wrote: > I am working on setting up sensorsd so that i can automatically turn on > my display when docking my laptop, but on doing so sensorsd does not > execute my shell script. In syslogd sensord shows the sensors being > tripped so i am confused on why the shell

Boot NVME device on sparc64

2019-07-25 Thread John Gould
Hi there, Does anyone have a way of booting a pcie nvme device on sparc64. I can install OBSD on the device but of course there is no way OBP can see it as a boot device. I can also use it for storage under OpenBSD which works fine. But! Is there any way to boot OpenBSD 6.5 installed on this

Re: Write to DVD-RAM

2019-07-25 Thread Zhi-Qiang Lei
On Jul 25, 2019, at 10:24 PM, gwes wrote: > > > On 7/24/19 10:19 PM, Zhi-Qiang Lei wrote: >> Hi, I’m trying to encrypt a DVD-RAM before putting some files onto it on my >> OpenBSD 6.5 desktop. But neither dd nor disklabel seems able to work on the >> drive. Did I miss something? >> >> $

Re: Boot NVME device on sparc64

2019-07-25 Thread Theo de Raadt
John Gould wrote: > Hi there, Does anyone have a way of booting a pcie nvme device on sparc64. > I can install OBSD on the device but of course there is no way OBP can see > it > as a boot device. I can also use it for storage under OpenBSD which works > fine. > > But! Is there any way to boot

Re: Sensorsd not executing commands

2019-07-25 Thread cheddar-cheeze
I did try some test commands earlier but they were not working, but now its working all of a sudden so im clueless to why it wasnt working in the first place. Thanks for the help. On Thu, Jul 25, 2019 at 09:18:57PM -, Stuart Henderson wrote: > On 2019-07-25, cheddar-cheeze wrote: > > I am

SSH config file rdist

2019-07-25 Thread Predrag Punosevac
Hi Misc, I got inspired by this answer https://marc.info/?l=openbsd-misc=156405651502000=2 and decided to try to use rdist to sync few files on bunch of my OpenBSD servers. Everything works as advertised https://man.openbsd.org/rdist with caveats. I noticed that having a space between -o