Re: sending mail from wordpress

2020-01-02 Thread Jiri B
https://wordpress.org/plugins/post-smtp/ j. On Thu, Jan 2, 2020 at 1:44 PM Stuart Henderson wrote: > On 2020-01-02, Edgar Pettijohn wrote: > > I'm having trouble getting mail to go through wordpress. > > Confogure it to send by SMTP instead. (I don't use wordpress and can't > help tell you

openrsync and rrsync - strange error on symlinks

2019-08-15 Thread Jiri B
Hi, I use rrsync[1] wrapper in SSH key via `command=` option to restrict mode and path of called rsync program. I discovered some strange difference related to symlinks between rsync and openrsync when called via rrsync wrapper. openrsync errors with: /usr/src/usr.bin/rsync/symlinks.c:48:

sysupgrade script diff for people with small /home

2019-08-12 Thread Jiri B
Hi, see $subj, some people have so small /home and currently sysupgrade doesn't like symlink to bigger partition. (I know that bad symlink can make it explode.) --- /usr/sbin/sysupgrade.orig Mon Aug 12 19:07:11 2019 +++ /usr/sbin/sysupgradeMon Aug 12 18:51:28 2019 @@ -119,6 +119,7 @@

httpd not logging tls handshake failed if 'tls client ca ' used

2019-08-10 Thread Jiri B
Hi, I was playing with CloudFlare Authenticated Origin Pulls, ie. httpd configured with 'client ca "/etc/ssl/cloudflare_origin_pull.crt"' (ie. to allow only tls request from specific tls client) and I see httpd is not logging anything by default into either access.log or error.log. (But the

Re: Postscript printer recommendations

2019-07-13 Thread Jiri B
> On 2019-07-13, "Jonathan Drews" wrote: > > > Hi Folks: I need some recommendations on what brand of printers will > > work > > with Ghostscript (Postscript). The cartridges for my 15 year old HP > > Deskjet have gotten too expensive. I know Xerox makes some > > Postscript printers. Are there

Re: Qemu Agent assistance needed

2019-04-29 Thread Jiri B
QGA depends on specific device name in /dev. Ideally the best would be kernel-based support like vmt. Dne po 29. 4. 2019 10:03 uživatel Solene Rapenne napsal: > On Sun, Apr 28, 2019 at 11:10:14AM +, Strahil Nikolov wrote: > > Hi All, > > I am new to openBSD and I really like the idea. Sadly

Re: dell universal d6000 dock

2019-02-12 Thread Jiri B
Maybe you just face old diplayport issue like here https://marc.info/?t=15169561314=1=2 and it is not related to docking station at all? I gave up and I used to use DP->HDMI->DVI and USB-c>HDMI->DVI reductions :) j. On Tue, Feb 12, 2019 at 12:11 AM myml...@gmx.com wrote: > > anybody

ssh-keygen returns 0 if there is at least one valid key passed via stdin

2019-02-11 Thread Jiri B
Hi, what I was trying is to validate ssh public keys passed via stdin to ssh-keygen. It seems one has to split each line before passing to ssh-keygen as ssh-keygen would return 0 if there is at least one valid key in the input. Is this behaviour correct? Jiri $ cat /etc/fstab .ssh/id_rsa.pub |

Re: Question about ~/.ssh/rc and internal-sftp

2019-02-06 Thread Jiri B
Yes, you can but then you cannot use `internal-sftp` because it is "internal" sshd process. You must populate chroot in your ChrootDirectory, on Linux you also need to have /dev/log there. I use this solution to rsync uploaded files to other host. Jiri On Wed, Feb 6, 2019 at 10:49 AM Aleksandar

Re: Getting traffic from rdomain X to talk to a daemon in default rdomain 0

2019-02-02 Thread Jiri B
Thank you, that works fine. Jiri On Thu, Jan 31, 2019 at 11:26 PM Sebastian Benoit wrote: > > Jiri B(jiri...@gmail.com) on 2019.01.31 22:23:34 +0100: > > Hello, > > > > I'm trying to isolate an app running on OpenBSD on network level and thus I > > have sta

Getting traffic from rdomain X to talk to a daemon in default rdomain 0

2019-01-31 Thread Jiri B
Hello, I'm trying to isolate an app running on OpenBSD on network level and thus I have started the app in a specific rdomain. I can successfully make traffic from the rdomain to reach Internet: pass out quick on rdomain 1 to any nat-to (egress) rtable 0 But I cannot figure out how to make the

serial for softraid devices

2018-09-04 Thread Jiri B .
Hi, I have couple of softraid devices available in a box and when I do upgrade I always have to check and not to make mistake which softraid device I want to use as root disk. If OpenBSD would have serial for softraid device I would just need to remember the serial for my root disk. This is

Re: Wake-on-LAN from suspended state

2018-04-25 Thread Jiri B
On Tue, Apr 24, 2018 at 10:11:44PM +0200, Paul de Weerd wrote: > [...] > em0 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x04: msi, address > b8:ca:3a:93:03:e8 IIUC em does not support WOL. Am I right? Jiri

Re: OpenBSD Xenocara supports "dummy" driver for headless X? (wd support FB resizing, Xvfb does not)

2018-03-29 Thread Jiri B
See https://marc.info/?l=openbsd-misc=151877018030790=2 Is it relevant? Jiri

kernel panicing - linux sysrq capability

2018-03-16 Thread Jiri B
Hi, IIUC we can panic kernel via writting to 'ddb.trigger' and if we have 'ddb.panic=0' it would reboot. But IIUC we are not not able to control what would happen during this kernel panic in non-interactive mode, am I right? I am asking because I'm working on porting corosync/pacemaker[1] - HA

Re: ld.so: openvpn: can't load library 'liblzo2.so.1.0'

2018-03-06 Thread Jiri B
On Tue, Mar 06, 2018 at 01:51:04PM +0100, Jeremie Courreges-Anglas wrote: > On Mon, Mar 05 2018, Stuart Henderson wrote: > My guess is that ld.so throws away the library cache if it finds that > it's stale, and thus can't know where liblzo2/liblz4 are to be found. > The easy

linking libqb on openbsd fails

2018-03-05 Thread Jiri B
Hi, I try to build libqb library and it fails with following output, any idea what could be wrong there? Originally reported at https://github.com/ClusterLabs/libqb/issues/299 (libqb is prerequisite for corosync/pacemaker stuff) Jiri =2E.. libtool: compile: cc -DHAVE_CONFIG_H -I.

Re: ld.so: openvpn: can't load library 'liblzo2.so.1.0'

2018-03-05 Thread Jiri B
On Mon, Mar 05, 2018 at 01:14:05PM +0200, Atanas Vladimirov wrote: > Hi, > > Bringing up an old thread to let you know that the problem is still present > in -current snapshot. > Shall I send a proper bug report to bugs@? > Thanks. No, why? Works as expected, you start OpenVPN too early, thus

booting fedora 27 under vmm is somehow possible

2018-02-19 Thread Jiri B
Hi, there are maybe some collegues at my work who maybe would be interested to try running Fedora under vmm. So I made following notes about how to boot Fedora 27 under VMM. Although it does still take ages for Fedora to boot with networking enabled, wtf! VMM output and Fedora 27 dmesg below.

make release-sets - question

2018-02-18 Thread Jiri B
Hello, I try to understand why 'release-sets' does copy kernel.tgz from DESTDIR into OS /usr? Could anybody explain the logic behind? Thank you. build1$ sed -n '/^release-sets:$/,/^$/p' /usr/src/etc/Makefile release-sets: su ${BUILDUSER} -c 'exec ${MAKE} distribution' su

vmctl status - output order

2018-02-17 Thread Jiri B
I can't read C but how do you sort vmctl status output? host1# vmctl status ID PID VCPUS MAXMEM CURMEM TTYOWNER NAME 6 99046 12.0G698M ttyp4jirib build1 1 93692 12.0G917M ttyp7jirib jirib1 7 - 1512M -

Re: VMM VM - 'dummy' based driver-based X11 server inside, not possible?

2018-02-16 Thread Jiri B
On Fri, Feb 16, 2018 at 09:42:25PM +0200, Dumitru Mi?u Moldovan wrote: > On 02/16/18 10:14, Jiri B wrote: > > […] > > > I'll try to clarify my use case further. I'd like to attach of a persistent > > remote display session in screen/tmux-like manner. > > > >

Re: VMM VM - 'dummy' based driver-based X11 server inside, not possible?

2018-02-16 Thread Jiri B
On Fri, Feb 16, 2018 at 12:19:44AM -0800, Mike Larkin wrote: > Xvfb + x11vnc worked fine in the test I just did. Yes, it does, thanks for confirmation. I was curious why X11 'dummy' mode does not if it should be used in environments without graphical card for headless X11 server. Maybe it does

Re: VMM VM - 'dummy' based driver-based X11 server inside, not possible?

2018-02-16 Thread Jiri B
On Thu, Feb 15, 2018 at 06:48:53PM -0800, Mike Larkin wrote: > > > what are you trying to accomplish? > > > > A persistent remote display session, ie. xenodm->wm or users one accessible > > via VNC with x11vnc. > > > I found a solution to do this with about 1 minute of google searching. What >

Re: VMM VM - 'dummy' based driver-based X11 server inside, not possible?

2018-02-15 Thread Jiri B
On Thu, Feb 15, 2018 at 04:18:33PM -0800, Mike Larkin wrote: > On Thu, Feb 15, 2018 at 07:10:26PM -0500, Jiri B wrote: > > Is it possible to run 'dummy' based X11 (should be better that Xvfb)[1] > > inside > > VMM VM? > > > > what are you trying to accompl

VMM VM - 'dummy' based driver-based X11 server inside, not possible?

2018-02-15 Thread Jiri B
Is it possible to run 'dummy' based X11 (should be better that Xvfb)[1] inside VMM VM? $ Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./10.log -config ./xorg.conf :10 (EE) Fatal server error: (EE) xf86OpenConsole: No console driver found Supported drivers:

getting data from qcow2 images on OpenBSD

2018-02-15 Thread Jiri B
Hi, qemu-nbd[1] is a way to "attach" qcow2 image to a nbd[2] device, but we don't have nbd yet. Though Patrick made it working for Bitrig[3]. Would it be usable in OpenBSD? If qemu-nbd is not an option, what are other ways to get data from various qemu-supported images (if not running qemu

feature - native softraid-crypto for VMM virtio disk

2018-02-15 Thread Jiri B
Hi, one cannot boot vmm-bios if not having newer hw than Westmere CPU. And booting host kernel for a VM which has FDE does not work, that's clear. What about a feature to support somehow softraid-crypto (or similar) for vmctl create? A variation for native LUKS support in QEMU: qemu ...

cannot destroy loXX belonging to rdomain XX ?

2018-02-14 Thread Jiri B
How to "remove" loXX belong to rdomain XX ? # ifconfig vether55 rdomain 55 # ifconfig vether55

Re: tor inside vmm, horribly slow?!

2018-02-12 Thread Jiri B
On Mon, Feb 12, 2018 at 12:38:00AM -0800, Mike Larkin wrote: > > > > it's horrible slow, just doing 'tor-resolve $dnsname' takes > > > > sometimes ages. > > > > [...] > [...] > > What did the guest pick for timecounter? (sysctl kern.timecounter.hardware) > > Your hardware is nearly a decade old.

Re: tor inside vmm, horribly slow?!

2018-02-12 Thread Jiri B
On Sun, Feb 11, 2018 at 04:47:02PM -0800, Mike Larkin wrote: > > has anybody tried to run tor inside vmm guest? > > > > it's horrible slow, just doing 'tor-resolve $dnsname' takes > > sometimes ages. > > [...] > > is it related to vmm ssl issue reported in the past? > > no > > > [...] > This

tor inside vmm, horribly slow?!

2018-02-11 Thread Jiri B
Hi, has anybody tried to run tor inside vmm guest? it's horrible slow, just doing 'tor-resolve $dnsname' takes sometimes ages. # dmesg | head -n 4 OpenBSD 6.2-current (GENERIC.MP) #0: Sat Feb 10 00:05:49 MST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real

Re: supermicro x8sil-f - only one fan detected after replug on the board

2018-02-10 Thread Jiri B
On Sat, Feb 10, 2018 at 04:23:41AM +0200, li...@wrant.com wrote: > > I have supermicro x8sil-f (latest bios/ipmi fw) with 2 fans and it has > > started > > to beep after a while when OS is up while it detected non-existing fans > > either > > run at 0 RPM or in -2560 RPM. > > Does a manual

Re: supermicro x8sil-f - only one fan detected after replug on the board

2018-02-10 Thread Jiri B
On Fri, Feb 09, 2018 at 05:12:11PM +0200, Atanas Vladimirov wrote: > On 2018-02-09 14:45, Jiri B wrote: > >Hi, > > > >I have supermicro x8sil-f (latest bios/ipmi fw) with 2 fans and it has > >started > >to beep after a while when OS is up while it detected non-ex

supermicro x8sil-f - only one fan detected after replug on the board

2018-02-09 Thread Jiri B
Hi, I have supermicro x8sil-f (latest bios/ipmi fw) with 2 fans and it has started to beep after a while when OS is up while it detected non-existing fans either run at 0 RPM or in -2560 RPM. OpenBSD itself used to detect both fans (though lm1.fanX numbers were different to numbering from

syslogd loghost only - without unix socket & /dev/klog

2018-02-08 Thread Jiri B
Hi, I was speculating about another instance of syslogd, just as a log host services while having base syslogd running on same box. 1. -p /dev/null deletes /dev/null and replaces it with socket file with same name crw-rw-rw- 1 root wheel2, 2 Feb 8 13:25 /dev/null # syslogd -d -F -f

Re: USB Firewall

2018-01-17 Thread Jiri B
On Tue, Jan 16, 2018 at 07:03:58PM +0100, Stephane HUC "PengouinBSD" wrote: > Perhaps, using hotplugd and file /etc/hotplug/attach? > > Le 01/16/18 à 18:39, Charlie Eddy a écrit : > > Hello, > > > > Is there a method to detect and halt additional USB devices being added > > after initializing

Re: Need an advice about DHCP IPv6 server software

2017-12-06 Thread Jiri B
On Wed, Dec 06, 2017 at 09:28:40PM +0900, Claus Lensbl wrote: > If you need a DHCP server, you need rtadvd to hand off the requests to > the DHCP server in any case. Last time, which is some time ago, the > DHCP server distributed with OpenBSD wasn't capable of working with > IPv6, so you'll need

Re: sftp-server

2017-12-01 Thread Jiri B
On Thu, Nov 30, 2017 at 05:36:57PM -0600, Edgar Pettijohn wrote: > I was looking into how best to secure a sftp-server. The manual > mentions a -Q option to query protocol features supported. I added the > following line to sshd_config. > > Subsystem sftp/usr/libexec/sftp-server sftp

Re: Odd problem with interfaces

2017-11-29 Thread Jiri B
On Wed, Nov 29, 2017 at 09:56:38AM -0500, Rupert Gallagher wrote: > I ran out of ideas on the following problem. > > An obsd server has tree ethernet interfaces, each with its own IP address: > > cat /etc/hostname.* > inet 192.168.1.2 255.255.255.0 192.168.1.255 mtu 9014 description "em0: >

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Jiri B
On Wed, Oct 18, 2017 at 06:55:32PM +0530, Ajitabh Pandey wrote: > On Wed, Oct 18, 2017 at 1:43 PM, Jiri B <ji...@devio.us> wrote: > > > On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh Pandey wrote: > > > > Can httpd access the socket? What are permissions? > >

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Jiri B
On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh Pandey wrote: > Thanks for the quick response. I tried that, still getting 500 the same > problem - > > $ doas uwsgi --socket /var/www/run/hello.sock --wsgi-file myproject.py > --master --callable app > > In /etc/httpd.conf - > > location

Re: Is there git-flow-completion for ksh?

2017-10-09 Thread Jiri B
> If you love bash and its features, then it is better to use bash than to > try that ksh will be like bash :-/ I hate when BASH completion hides files for me based on context, eg. tar -tvf /dir/dir/file_without_good_suffix won't work. j.

Re: can't use external monitor after plugging to docking station

2017-10-04 Thread Jiri B
-0400, Jiri B wrote: > Hi, > > I have Lenovo T440s and Lenovo docking station with an external monitor. > > If I have running OpenBSD without docking station and then I plug it to > it, I can't see the external monitor. > > I see only these in dmesg after plugging la

can't use external monitor after plugging to docking station

2017-10-04 Thread Jiri B
Hi, I have Lenovo T440s and Lenovo docking station with an external monitor. If I have running OpenBSD without docking station and then I plug it to it, I can't see the external monitor. I see only these in dmesg after plugging laptop into it: uhub2 at uhub0 port 12 configuration 1 interface 0

Re: vmm issues - vioblk_notifyq: unsupported command 0x8

2017-10-03 Thread Jiri B
> > I was able to boot opensuse from that dvd, although later on I got an > > error in the installer :/ > > This was because the installer couldn't locate the "dvd", correct? It so seems so. ~~~ Unable to create repository from URL 'hd:/?device=/dev/disk/by-id/virtio-_U_2_-part2'.

Re: vmm issues - vioblk_notifyq: unsupported command 0x8

2017-10-02 Thread Jiri B
On Mon, Oct 02, 2017 at 02:56:18PM -0400, Josh Grosse wrote: > Hey Jiri. > > >I started this vm with: > > > >vmctl start suse01 -c -d $iso -d $disk -L > > > >where iso is openSUSE-Leap-42.3-DVD-x86_64.iso[1]. > > > >Any idea what's going on? > > I'll bet it's because you are attempting to boot a

vmm issues - vioblk_notifyq: unsupported command 0x8

2017-10-02 Thread Jiri B
Hello, I'm playing with vmm and I got these in daemon log: Oct 2 20:12:14 t440s vmd[13344]: startup Oct 2 20:12:14 t440s vmd[53680]: SIOCBRDGADD: No such file or directory Oct 2 20:12:24 t440s vmd[13344]: suse01: started vm 1 successfully, tty /dev/ttyp3 Oct 2 20:13:12 t440s vmd[98531]:

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-26 Thread Jiri B
On Mon, Sep 25, 2017 at 07:31:15PM -0700, Philip Guenther wrote: > If you're mounting /tmp with the noexec flag, then stop doing that. What? IIUC this is long existing recommendation. If /etc/rc needs exec /tmp that it should change it by itself for libs reordering and then switch back to what an

Re: Filtering other network layer protocols with PF

2017-09-11 Thread Jiri B
On Mon, Sep 11, 2017 at 10:26:22AM -0500, Christopher Snell wrote: > Hi, > > I have an AT fiber connection at home that relies on a crappy, > proprietary, and insecure [1] router that does proprietary authentication > with upstream equipment via EAP over 802.1x. Some folks have figured out > how

Re: Feeding DHCP leases into unbound

2017-06-22 Thread Jiri B
On Thu, Jun 22, 2017 at 11:47:03AM +0200, Andreas Kusalananda Khri wrote: > > I have unbound(8) and dhcpd(8) running on a router (OpenBSD 6.1-stable). > dhcpd currently hands out fixed addresses to my clients, but I'd like > these to be allocated dynamically from the common pool, while at the >

Re: sftp chroot

2017-06-14 Thread Jiri B
On Wed, Jun 14, 2017 at 01:09:47PM +0200, Solne Rapenne wrote: > Je 2017-06-14 13:02, Bryan Harris skribis: > >On Linux I have mounted another fs inside the user's home folder (it is > >mounted twice). I don't know if OpenBSD has that feature. > > > > This is not possible on OpenBSD, mount will

Re: Qubes-OS is "fake" security

2017-05-13 Thread Jiri B
On Fri, May 12, 2017 at 03:41:05AM +0200, Kim Blackwood wrote: > [...] > Qubes-OS seems to me as a solution of "patching". IMO this is real point in this thread - virtualization as a security meansure against buggy software doesn't make any change to that software. Virtualization or containers

Re: Why would I need a container like Docker?!

2017-05-10 Thread Jiri B
On Wed, May 10, 2017 at 05:53:07AM +0200, Martin Hanson wrote: > [... pathetic screaming ...] Pathetic screaming doesn't help to anything. And... there already has been an interest in zones/containers in OpenBSD, see https://marc.info/?l=openbsd-tech=144617514431852=2 j.

Re: DHCP in vmm guest

2017-05-04 Thread Jiri B
On Thu, May 04, 2017 at 03:49:27PM +0200, Reyk Floeter wrote: > So you have the VM interface and the host interface on a bridge: > dhclient on the host "steals" all DHCP packets via BPF. > > Try to pkill dhclient on the host and the VM should be able to get DHCP. > > There is currently no

Re: DHCP in vmm guest

2017-05-04 Thread Jiri B
> I'm new to OpenBSD and I'm trying a simple setup where a VMM guest has > access to the network via tap and bridge. The host uses a wired connection > and gets its network address with DHCP. where is dhcpd running? on the host? have you tried tcpdump to see if dhcp discover traffic is visible

Intel Corporation 82576 Virtual Function not recognized

2017-04-22 Thread Jiri B
Hi, I'm playing a little bit with KVM and SR-IOV and OpenBSD doesn't recognize 'Intel Corporation 82576 Virtual Function'[1], ie. VF on my Intel 82756 dual-port network card activated on a Linux box. ... vendor "Intel", unknown product 0x10ca (class network subclass ethernet, rev 0x01) at pci0

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Jiri B
On Tue, Apr 18, 2017 at 08:23:56AM -0400, Allan Streib wrote: > Ian Watts writes: > > > With this much disk space, should I be looking at another way of > > achieving data redundancy? > > Buy a hardware RAID controller. I suppose you wanted to write - 'buy two equal hardware

Re: What does it mean this error when I try install a package?

2017-04-17 Thread Jiri B
On Mon, Apr 17, 2017 at 09:37:56PM +1000, Steven McDonald wrote: > On Mon, 17 Apr 2017 11:02:37 + > "C. L. Martinez" wrote: > > > pkg_add -v python-2.7 > > There is no package called python-2.7. The package you want is called > python-2.7.13p0. You have a few options:

Re: upgrading on vultr.com: make sure to select the bsd.mp set

2017-04-13 Thread Jiri B
On Thu, Apr 13, 2017 at 04:32:25PM +0200, Peter N. M. Hansteen wrote: > Upgrading a couple of virtual machines hosted at vultr.com from 6.0 to > 6.1 just now, we were a bit suprprised that after the upgrade the system > booted the 6.0 bsd kernel, and of course during startup pfctl gave an > error

Converting the memory content of a VM to raw physical memory file

2017-04-04 Thread Jiri B
I recently had an issue with frozen VM on qemu-kvm and we were discussing how to get memory of that VM for investigation. How would this be handle with VMM? This could be especially useful for troubleshooting VMM VMs running with SeaBIOS. We have found this https://github.com/juergh/lqs2mem.py

Re: Installer disk info improvement (was - Re: querying scsi id/wwn for scsi disk)

2017-04-03 Thread Jiri B
On Sun, Apr 02, 2017 at 06:14:50PM -0400, Ted Unangst wrote: > Robert Peichaer wrote: > > Parsing dmesg output always tends to be fragile, but what about this? > > Use whatever is enclosed in <> in the dmesg output for a disk and get > > the size from disklabel. > > This looks insane. If somebody

Installer disk info improvement (was - Re: querying scsi id/wwn for scsi disk)

2017-03-30 Thread Jiri B
> > > diff -u -p -r1.988 install.sub > > > --- distrib/miniroot/install.sub 13 Mar 2017 17:08:31 - 1.988 > > > +++ distrib/miniroot/install.sub 30 Mar 2017 10:44:01 - > > > @@ -264,13 +264,7 @@ diskinfo() { > > > local _d > > > > > > for _d; do > > > - make_dev $_d > >

Re: querying scsi id/wwn for scsi disk

2017-03-30 Thread Jiri B
On Thu, Mar 30, 2017 at 12:59:00PM +0200, Bruno Flueckiger wrote: > I see your point with the installer. Default labels make the disks > indistinguishable. The following diff prints the raw infos from dmesg > rather than the current list of disks: > > Index: distrib/miniroot/install.sub >

Re: querying scsi id/wwn for scsi disk

2017-03-30 Thread Jiri B
On Thu, Mar 30, 2017 at 10:25:18AM +0200, Bruno Flueckiger wrote: > > how to query scsi id or wwn for a scsi disk in OpenBSD? I'd like to get this > > info and extend installer to provide more info about disks (because > > currently > > it's imposible to distinguish between scsi disks if they are

querying scsi id/wwn for scsi disk

2017-03-30 Thread Jiri B
Hi, how to query scsi id or wwn for a scsi disk in OpenBSD? I'd like to get this info and extend installer to provide more info about disks (because currently it's imposible to distinguish between scsi disks if they are same size and originate from same iscsi target and passed to OpenBSD via

specifying rom file for vio(4) in VMM

2017-03-27 Thread Jiri B
Is it possible to somehow make VMM to boot from vio with specified ROM file (eg. ipxe)? j.

Re: how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-18 Thread Jiri B
Hi, in the mail I was confirming that vioscsi works now I sent only dmesg, and thus some info got stripped. I tried vioscsi today with directly attach iscsi lun (but passed via iscsi initiator on EL7 via block device) and I see following lines, are they OK? ... Use (A)uto layout, (E)dit auto

Re: how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-17 Thread Jiri B
On Thu, Mar 16, 2017 at 10:15:21PM +0100, Stefan Fritsch wrote: > On Tuesday, 14 March 2017 20:16:17 CET Jiri B wrote: > > Recent dmesg, and VM exits because of virtio-scsi issue when it is > > installing 'bsd.mp'. > > I think I have fixed all the bugs, at least I could n

Re: how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-15 Thread Jiri B
On Wed, Mar 15, 2017 at 02:54:03PM +0100, Alexander Bochmann wrote: > > > bios0: vendor SeaBIOS version > "debian/1.7.5-1-0-g506b58d-dirty-20140812_231322-gandalf" date 04/01/2014 > > bios0: QEMU Standard PC (i440FX + PIIX, 1996) it doesn't say anything about qemu-kvm version :/ > [..] > >

Re: how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-15 Thread Jiri B
On Tue, Mar 14, 2017 at 05:58:29PM -0700, Mike Larkin wrote: > On Tue, Mar 14, 2017 at 08:16:17PM -0400, Jiri B wrote: > > Recent dmesg, and VM exits because of virtio-scsi issue when it is > > installing > > 'bsd.mp'. > > > > j. > > > > What are

Re: how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-14 Thread Jiri B
Recent dmesg, and VM exits because of virtio-scsi issue when it is installing 'bsd.mp'. j. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org

Re: watchdog - "Intel 6300ESB WDT" rev 0x00 at pci0 dev 4 function 0 not configured

2017-03-14 Thread Jiri B
On Tue, Mar 14, 2017 at 03:52:17PM -0700, Mike Larkin wrote: > > [...] > > virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 > > vio0 at virtio0: address 52:54:00:b8:93:d9 > > virtio0: msix shared > > "Intel 6300ESB WDT" rev 0x00 at pci0 dev 4 function 0 not configured > > ... >

watchdog - "Intel 6300ESB WDT" rev 0x00 at pci0 dev 4 function 0 not configured

2017-03-14 Thread Jiri B
Hi, I added watchdog device for OpenBSD VM on qemu-kvm and it seems it's not detected correctly: OpenBSD 6.0-current (GENERIC.MP) #167: Sat Feb 11 19:35:52 MST 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 518905856 (494MB) avail mem = 498569216 (475MB)

how to debug OpenBSD virtio-scsi killing qemu-kvm VM?

2017-03-13 Thread Jiri B
Hi, it seems virtio-scsi is not working correctly in OpenBSD, I gave it a try today and OpenBSD VM was killed with: 2017-03-13T15:29:00.814657Z qemu-kvm: wrong size for virtio-scsi headers on EL7 with qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64. I found a bug stating it is OpenBSD's fault

Re: pf group and setgid

2017-03-12 Thread Jiri B
On Sun, Mar 12, 2017 at 07:13:08PM +0100, Jrme FRGACIC wrote: > Hi @misc, > > I have a question about pf and its possibility to filter packets by process > group: is it a reasonable practice to use setgid for add some rules that > allow only specific programs to use some services? For example,

mpath for vioscsi disks

2017-03-12 Thread Jiri B
Is mpath doable for vioscsi disks? At least if running OpenBSD on Linux KVM one could use iSCSI with Ceph backend and thus assing two iSCSI luns as vioscsi disks for OpenBSD VM. IIUC vioblk strips SCSI commands so it cannot be used for this. I'm not also sure if we would use iSCSI luns directly

Re: Please: Is there ANY chance that Linux binaries might run again???

2017-03-10 Thread Jiri B
On Fri, Mar 10, 2017 at 12:23:12AM +0100, Stefan Wollny wrote: > For the very reason I use OpenBSD: Confidentiality. Wouldn't running closed source Linux binaries on OpenBSD conflict with your trust? Those binaries cannot be pledge etc... IMO it's better if we would have a "VMM bootloader" which

Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Jiri B
On Wed, Mar 08, 2017 at 07:35:15AM -0800, Reyk Floeter wrote: > We have PV drivers for all of them in GENERIC. > > Reyk If nothing has changed stay away from virtio-scsi disks. See https://marc.info/?l=openbsd-misc=142652469207347=2 j.

Re: serial port expansion card

2017-03-03 Thread Jiri B
I'm little bit worried about consistent device names of serial port cards or USB->serial converters. Is it predictable or not? j.

Re: Content filtering through pf?

2017-02-23 Thread Jiri B
On Thu, Feb 23, 2017 at 10:27:20AM -0500, Alan Corey wrote: > I'm wondering if it's possible to do content filtering in a firewall. > Maybe with something that cooperates with pf. I'm on a very limited > (5 GB/month) metered internet connection through a cell phone and I'm > not the only user

relayd as simple forward proxy

2017-02-21 Thread Jiri B
Hi, can I use relayd as simple forward http proxy, ie. a non-caching variant of tinyproxy or squid? Not transparently - intercepting, but as usual http proxy. j.

Re: rcctl hickups on OpenBSD 6.0?

2017-02-16 Thread Jiri B
On Thu, Feb 16, 2017 at 08:46:45AM +0100, Raimo Niskanen wrote: > Hello Misc@ > > I tried to activate ypbind via rcctl: > rcctl enable ypbind > and it did not write "ypbind_flags=" into /etc/rc.conf.local. > > I had run ypbind so it should start according to the documentation since > there

how to generate sha512 password hashes for Linux on OpenBSD?

2017-02-06 Thread Jiri B
Hi, how could I generate sha512 password hashes for Linux on OpenBSD? Using 'crypto' from Python is no go, as this is OS dependent. So I tried following via passlib but it does not work, ie. I can't login on EL7. ~~~ #!/usr/bin/python2.7 from passlib.hash import sha512_crypt import getpass

Re: -current installer error

2017-02-02 Thread Jiri B
On Thu, Feb 02, 2017 at 09:28:14PM +, Pedro Caetano wrote: > Hi misc@ > > Today while upgrading a few vms i noticed an error while auto_upgrade was > running. > Release build from today sources on amd64 arch. > This does not impact upgrade of the system. > > > # more /tmp/ai/ai.log > Choose

Re: "pass all flags S/SA" from default pf.conf is logging, why?

2017-02-01 Thread Jiri B
On Mon, Jan 30, 2017 at 11:46:32AM +, Stuart Henderson wrote: > > I'm surprised that I get logging in pflog even I have *no* 'log' > > in my pf.conf. > > > > # pfctl -vvsr -R 14 > > @14 pass all flags S/SA > > [ Evaluations: 30082 Packets: 569255Bytes: 365488723 States: 23 > >

Re: getting data from degraded RAID 1 boot disk

2017-02-01 Thread Jiri B
On Wed, Feb 01, 2017 at 01:33:54PM +0100, Stefan Sperling wrote: > On Wed, Feb 01, 2017 at 04:12:26AM -0500, Jiri B wrote: > > Should have kernel automatically create 'sd4' for degraded RAID 1 > > but it does not? > > I believe it will auto assemble if the disk is

Re: getting data from degraded RAID 1 boot disk

2017-02-01 Thread Jiri B
On Tue, Jan 31, 2017 at 11:55:21PM +0100, Stefan Sperling wrote: > On Tue, Jan 31, 2017 at 05:23:10PM -0500, Jiri B wrote: > > I have a disk which used to be boot disk of a degraded RAID 1 (softraid). > > The second disk is totally gone. > > > > I don't want to u

getting data from degraded RAID 1 boot disk

2017-01-31 Thread Jiri B
I have a disk which used to be boot disk of a degraded RAID 1 (softraid). The second disk is totally gone. I don't want to use this disk as RAID 1 disk anymore, just to get data from it. I'm asking because when I plugged the disk, bioctl said 'not enough disks'. Do we really have to necessary

Re: init: can't open /dev/console: Device not configured.

2017-01-31 Thread Jiri B
On Tue, Jan 31, 2017 at 02:11:37PM +0100, Christophe Jarry wrote: > Dear OpenBSD developers an users, > > I have installed OpenBSD 6.0 on my 14 years-old hp pavilion ze5418EA > (i386). I used an USB key on which I dd'ed install60.fs. > > The installation process went smoothly, I used the default

Re: Redudant gateways

2017-01-30 Thread Jiri B
On Mon, Jan 30, 2017 at 10:30:13AM -0200, Dante F. B. Col wrote: > Hello, > > I've added a second ISP link on a firewall , what i need is make both > redudant but without load balancing like equal multipath, i just need that > the second link assume only if the other fails , i already did this

tftpd rewrite - prepend generated 'id' for data

2017-01-30 Thread Jiri B
Hi, I'm playing with tftpd rewrite option and it seems there's no timeout for data sent via rewrite socket. Anyway, wouldn't it be good to send also some generated 'id' in the beginning of data (eg: "XX 192.168.0.1 read /etc/boot.conf")? This way tftpd could serve other clients even if

"pass all flags S/SA" from default pf.conf is logging, why?

2017-01-30 Thread Jiri B
Hello, I'm surprised that I get logging in pflog even I have *no* 'log' in my pf.conf. # pfctl -vvsr -R 14 @14 pass all flags S/SA [ Evaluations: 30082 Packets: 569255Bytes: 365488723 States: 23] [ Inserted: uid 0 pid 71493 State Creations: 29574 ] According to pf.conf(5)

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Jiri B
> > Isn't better to use rewrite/file remapping instead of hacking pxeboot? > > If an i386 machine would request /etc/boot.conf via tftp you could rewrite > > it to (based on fact you know that that machine is i386 - during > > provisioning) > > /etc/i386/boot.conf. For the client I suppose it

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sun, Jan 29, 2017 at 01:17:48AM +0200, li...@wrant.com wrote: > Sample excerpts from host specific DHCP server config, for i386 and amd64: > > next-server 10.0.0.32; > filename "auto_upgrade"; > > next-server 10.0.0.64; > filename "auto_upgrade"; > > Quoting

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sat, Jan 28, 2017 at 06:41:34PM +0100, Sven-Volker Nowarra wrote: > > Isn't better to use rewrite/file remapping instead of hacking pxeboot? > > If an i386 machine would request /etc/boot.conf via tftp you could rewrite > > it to (based on fact you know that that machine is i386 - during > >

tftpd rewrite example

2017-01-28 Thread Jiri B
Hi, has anybody written some tftpd rewrite daemon/script which could be shared as example? j.

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sat, Jan 28, 2017 at 12:17:40AM +0100, Sven-Volker Nowarra wrote: > I am netbooting many systems, and last recently stepped on the issue, that I > had an amd64 and an i386 client in the same network. I wanted to boot them > into a "full" OpenBSD (not ramdisk kernel). That is not possible with

Re: installXX.fs build

2017-01-27 Thread Jiri B
On Fri, Jan 27, 2017 at 08:29:08PM +0100, Thuban wrote: > Hi, > > Just by curiosity, I was wondering how installXX.fs file is build? https://github.com/openbsd/src/blob/master/distrib/amd64/iso/Makefile#L9 j.

Re: clang default: when?

2017-01-23 Thread Jiri B
On Mon, Jan 23, 2017 at 11:41:37PM +0800, Tinker wrote: > Ah. So.. support for compiling all the default distro with both gcc and > clang, for all platforms, is in the works? > > Did arm64 spark this because the clang was better suited for arm64 for some > reason, if so which? Maybe you should

  1   2   3   4   5   6   >