Re: Autoinstall Failing When Trying to Find Sets
On Thu, Jun 11, 2015 at 11:58:40AM BST, Richard Laysell wrote: Hi Richard, ./pub/OpenBSD/snapshots/amd64: total 448072 drwxr-xr-x 2 root wheel 512 Jun 11 09:15 . drwxr-xr-x 3 root wheel 512 Jun 11 09:14 .. -r--r--r-- 1 root wheel 46518 Jun 11 09:15 INSTALL.amd64 -r--r--r-- 1 root wheel 1535 Jun 11 09:15 SHA256.sig -r--r--r-- 1 root wheel 57380394 Jun 11 09:15 base57.tgz -r--r--r-- 1 root wheel 10029237 Jun 11 09:15 bsd -r--r--r-- 1 root wheel 10069780 Jun 11 09:15 bsd.mp -r--r--r-- 1 root wheel 7592389 Jun 11 09:15 bsd.rd -r--r--r-- 1 root wheel 51246149 Jun 11 09:15 comp57.tgz -r--r--r-- 1 root wheel 2789725 Jun 11 09:15 game57.tgz -r--r--r-- 1 root wheel 8984308 Jun 11 09:15 man57.tgz -r--r--r-- 1 root wheel 17060674 Jun 11 09:15 xbase57.tgz -r--r--r-- 1 root wheel 39930183 Jun 11 09:15 xfont57.tgz -r--r--r-- 1 root wheel 19794709 Jun 11 09:15 xserv57.tgz -r--r--r-- 1 root wheel 4519648 Jun 11 09:15 xshares57.tgz -8-cut here -8- Can anyone see where I'm going wrong? Not immediately obvious, but you're missing the 'index.txt' file[0]: Note: if you wish to distribute the resultant files by HTTP for use by the upgrade or install scripts, you will need to add an index.txt file, which contains the list of all the files in your newly created release. [0] http://www.openbsd.org/faq/faq5.html#Release Regards, Raf
Autoinstall Failing When Trying to Find Sets
Hello, I'm trying to do an autoinstallation of OpenBSD 5.7. The system PXE boots OK and most of the installation works as expected, but the install system is unable to find the installation sets and stops I'm using the bsd.rd from snapshots as this supports the auto partitioning (which works great) bsd.rd2015-06-11 04:48 7.3M This is my auto install script -8-cut here -8- System hostname = tester Which network interface do you wish to configure = em0 IPv4 address for em0 = 192.168.99.10 Netmask for em0 = 255.255.255.0 IPv6 address for em0 = none Which network interface do you wish to configure = done Default IPv4 route = 192.168.99.1 DNS domain name = example.com DNS nameservers = none Password for root account = insecure Start sshd(8) by default = yes Start ntpd(8) by default = no Do you expect to run the X Window System = no Do you want the X Window System to be started by xdm(1) = no Setup a user = joe Full name for user joe = Joe Blogs Password for user joe = insecure Public ssh key for user joe = none Which disk is the root disk = wd0 Use DUIDs rather than device names in fstab = yes Use (W)hole disk, use the (O)penBSD area, or (E)dit the MBR = whole URL to autopartitioning template for disklabel = http://192.168.99.1/template Location of sets = http HTTP proxy URL = none HTTP Server = 192.168.99.1 -8-cut here -8- This is the result (including dmesg) -8-cut here -8- OpenBSD/amd64 PXEBOOT 3.23 boot bsd.rd bsd.rd booting tftp:bsd.rd: 3243948+1389520+2401280+0+520192 [72+359472+234539]=0x7c7328 entry point at 0x1000160 [7205c766, 3404, 24448b12, 8680a304] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.7-current (RAMDISK_CD) #969: Wed Jun 10 21:47:16 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 4278124544 (4079MB) avail mem = 4146753536 (3954MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries) bios0: vendor innotek GmbH version VirtualBox date 12/01/2006 bios0: innotek GmbH VirtualBox acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3399.18 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,MWAIT,SSSE3,NXE,LONG,LAHF,PERF cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 1000MHz cpu0: mwait min=64, max=64 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02 Intel 82371SB ISA rev 0x00 at pci0 dev 1 function 0 not configured pciide0 at pci0 dev 1 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: VBOX HARDDISK wd0: 128-sector PIO, LBA, 12288MB, 25165824 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: VBOX, CD-ROM, 1.0 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 vga1 at pci0 dev 2 function 0 InnoTek VirtualBox Graphics Adapter rev 0x00 vga1: aperture needed wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) em0 at pci0 dev 3 function 0 Intel 82540EM rev 0x02: apic 1 int 19, address 08:00:27:85:33:d3 InnoTek VirtualBox Guest Service rev 0x00 at pci0 dev 4 function 0 not configured Intel 82801AA AC97 rev 0x01 at pci0 dev 5 function 0 not configured ohci0 at pci0 dev 6 function 0 Apple Intrepid USB rev 0x00: apic 1 int 22, version 1.0 Intel 82371AB Power rev 0x08 at pci0 dev 7 function 0 not configured ehci0 at pci0 dev 11 function 0 Intel 82801FB USB rev 0x00: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 softraid0 at root scsibus1 at softraid0: 256 targets PXE boot MAC address 08:00:27:85:33:d3, interface em0 root on rd0a swap on rd0b dump on rd0b erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 5.7 installation program. Starting non-interactive mode in 5 seconds... (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? DHCPDISCOVER on em0 - interval 3 DHCPOFFER from 192.168.99.1 (08:00:27:ba:f5:eb) DHCPREQUEST on em0 to 255.255.255.255 DHCPACK from 192.168.99.1 (08:00:27:ba:f5:eb) bound to 192.168.99.10 -- renewal in 21600 seconds. Fetching
Re: spamd pf rules
On 2015-06-11, Jason Tubnor ja...@tubnor.net wrote: As Okan stated, your 5.6 man page is still correct for 5.7. It is only of issue when you move to 5.8-Release in November. correct. On 11 June 2015 at 11:51, Edgar Pettijohn III ed...@pettijohn-web.com wrote: On Jun 10, 2015, at 3:59 PM, Okan Demirmen wrote: On Wed 2015.06.10 at 15:43 -0500, Edgar Pettijohn III wrote: I've been using spamd for a while now. I was looking through my pf.conf and noticed that I had the following rules in regards to spamd. table spamd-white persist table nospamd persist file /etc/mail/nospamd pass in log on egress proto tcp from any to any port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress proto tcp from nospamd to any port smtp pass in on egress proto tcp from spamd-white to any port smtp pass out log on egress proto tcp to any port smtp Everything seems to work correctly, but I was thinking the rdr-to rule was wrong so I looked at spamd(8) and it shows a divert-to rule instead. When I change it to divert-to I get the following error: # pfctl -vf /etc/pf.conf /etc/pf.conf:19: address family mismatch for divert pfctl: Syntax error in config file: pf rules not loaded What should I do to fix this. Is the rdr-to rule sufficient or do I need to change it? Depends. 5.7 and prior used rdr-to; and -current switched to divert-to. Note that the address family mismatch error is because 5.7's pfctl parser was stricter about address families than -current. Previously it was a syntax error to specify redirecting to an IPv4 address if the other addresses on the line could match a v6 address; it was changed post-5.7 to allow the syntax (adding an implicit 'inet').
Re: Autoinstall Failing When Trying to Find Sets (SOLVED)
On Thu, 11 Jun 2015 12:19:39 +0100 Raf Czlonka rczlo...@gmail.com wrote: On Thu, Jun 11, 2015 at 11:58:40AM BST, Richard Laysell wrote: Hi Richard, Can anyone see where I'm going wrong? Not immediately obvious, but you're missing the 'index.txt' file[0]: Note: if you wish to distribute the resultant files by HTTP for use by the upgrade or install scripts, you will need to add an index.txt file, which contains the list of all the files in your newly created release. [0] http://www.openbsd.org/faq/faq5.html#Release Regards, Raf Hello Raf, Thanks very much. This fixed the problem and my system is now doing a complete autoinstall Regards, Richard
ruby-therubyracer with Ruby 2.2.0p0
Hi! Is there a way to install devel/ruby-therubyracer with the latest Ruby 2.2.0p0 package as a dependency? It seems to require Ruby 2.1 and I'd rather not install that. Thanks! O.D.
Softraid 1 takes forever to declare disk space free after delete
Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of isos and other non necessary items. I did this yesterday and it still hasn't cleared the disk space completely yet: # bioctl -ih sd2 Volume Status Size Device softraid0 0 Online 910G sd2 RAID1 0 Online 910G 0:0.0 noencl sd0d 1 Online 910G 0:1.0 noencl sd1d # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home /home # du -sh 782G. So there's a rather large disparity there! I've tried issuing sync commands a few times over the past 24 hours but to no avail : [Thu Jun 11 19:32:03] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home [Thu Jun 11 19:32:04] root@casper: /home # sync [Thu Jun 11 19:35:26] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home dmesg: OpenBSD 5.7 (GENERIC.MP) #0: Tue May 5 20:04:33 CEST 2015 r...@openbsd64.nineinchnetworks.ch:/root/binpatchng-2.1.2/work-binpatch57-amd64/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 4260089856 (4062MB) avail mem = 4142768128 (3950MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xceebd000 (28 entries) bios0: vendor Intel Corp. version CCCDT10N.86A.0032.2012.0323.1510 date 03/23/2012 bios0: Intel Corporation D2500CC acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC MCFG HPET acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) UAR3(S4) UAR4(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1867.05 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC cpu0: 512KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.1.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1866.73 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC cpu1: 512KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P0P1) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Atom D2000/N2000 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel Atom D2000/N2000 Video rev 0x09 intagp at vga1 not configured wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Realtek ALC888 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:22:4d:88:5c:4f ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: msi pci2 at ppb1 bus 1 em1 at pci2 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:22:4d:88:5c:52 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci3 at ppb2 bus 3 pcib0 at pci0 dev 31 function 0 Intel NM10 LPC rev 0x02 ahci0 at pci0 dev 31 function 2
Re: Softraid 1 takes forever to declare disk space free after delete
On June 11, 2015 7:47:43 PM GMT+02:00, Noth nothingn...@citycable.ch wrote: Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of isos and other non necessary items. I did this yesterday and it still hasn't cleared the disk space completely yet: This doesn't sound like a softraid problem. Is some other process holding those files open? Does fstat -f /home give a clue? /Alexander # bioctl -ih sd2 Volume Status Size Device softraid0 0 Online 910G sd2 RAID1 0 Online 910G 0:0.0 noencl sd0d 1 Online 910G 0:1.0 noencl sd1d # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home /home # du -sh 782G. So there's a rather large disparity there! I've tried issuing sync commands a few times over the past 24 hours but to no avail : [Thu Jun 11 19:32:03] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home [Thu Jun 11 19:32:04] root@casper: /home # sync [Thu Jun 11 19:35:26] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home dmesg: OpenBSD 5.7 (GENERIC.MP) #0: Tue May 5 20:04:33 CEST 2015 r...@openbsd64.nineinchnetworks.ch:/root/binpatchng-2.1.2/work-binpatch57-amd64/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 4260089856 (4062MB) avail mem = 4142768128 (3950MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xceebd000 (28 entries) bios0: vendor Intel Corp. version CCCDT10N.86A.0032.2012.0323.1510 date 03/23/2012 bios0: Intel Corporation D2500CC acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC MCFG HPET acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) UAR3(S4) UAR4(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1867.05 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC cpu0: 512KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.1.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1866.73 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC cpu1: 512KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P0P1) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Atom D2000/N2000 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel Atom D2000/N2000 Video rev 0x09 intagp at vga1 not configured wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Realtek ALC888 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:22:4d:88:5c:4f ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: msi pci2 at ppb1 bus 1 em1 at pci2 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:22:4d:88:5c:52 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0
Re: spamd pf rules
On Jun 11, 2015, at 6:42 AM, Stuart Henderson wrote: On 2015-06-11, Jason Tubnor ja...@tubnor.net wrote: As Okan stated, your 5.6 man page is still correct for 5.7. It is only of issue when you move to 5.8-Release in November. correct. On 11 June 2015 at 11:51, Edgar Pettijohn III ed...@pettijohn-web.com wrote: On Jun 10, 2015, at 3:59 PM, Okan Demirmen wrote: On Wed 2015.06.10 at 15:43 -0500, Edgar Pettijohn III wrote: I've been using spamd for a while now. I was looking through my pf.conf and noticed that I had the following rules in regards to spamd. table spamd-white persist table nospamd persist file /etc/mail/nospamd pass in log on egress proto tcp from any to any port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress proto tcp from nospamd to any port smtp pass in on egress proto tcp from spamd-white to any port smtp pass out log on egress proto tcp to any port smtp Everything seems to work correctly, but I was thinking the rdr-to rule was wrong so I looked at spamd(8) and it shows a divert-to rule instead. When I change it to divert-to I get the following error: # pfctl -vf /etc/pf.conf /etc/pf.conf:19: address family mismatch for divert pfctl: Syntax error in config file: pf rules not loaded What should I do to fix this. Is the rdr-to rule sufficient or do I need to change it? Depends. 5.7 and prior used rdr-to; and -current switched to divert-to. Note that the address family mismatch error is because 5.7's pfctl parser was stricter about address families than -current. Previously it was a syntax error to specify redirecting to an IPv4 address if the other addresses on the line could match a v6 address; it was changed post-5.7 to allow the syntax (adding an implicit 'inet'). Thanks for all the replies. That was the conclusion I came up with. However my system was out of whack a little, so at least this non-issue brought that to my attention.
Re: OpenBGPd forward update configuration
On Wed, Jun 10, 2015 at 08:18:34PM -0600, dsp wrote: Hello list! please excuse my probably idiotic question, but i'm still a new OpenBGPd user. (5.7 release) what i'm trying to achieve is: a) connect to a bunch of peers but announce nothing to them. just collect their updates. b) send all those updates to another peer ($livebgp) my config is : AS 65005 router-id a.b.c.d route-collector yes transparent-as yes neighbor $livebgp { remote-as 65001 descr livebgp holdtime180 passive holdtime min3 announceall } group peers { announce none holdtime180 holdtime min3 multihop100 neighbor $foo { remote-as descr foo } ... } allow from any allow to $livebgp solved it for me. sorry for the noise :) DsP on the livebgp side though all i'm seeing are the keepalives. livebgp is doing active connection so that's why i have the passive there. do you guys have any input? Thank you so much! DsP
Re: HP LaserJet 1100 lpr printing?
On 2015-05-28 Thu 11:27 AM |, Craig Skinner wrote: On 2015-05-28 Thu 08:40 AM |, Antoine Jacoutot wrote: $ dmesg | egrep 'lpt|ugen' ugen0 at uhub1 port 2 Pr?lific Technology Inc. IEEE-1284 Controller rev 1.00/2.00 addr 3 sigh, I totally missed the fact that this was a parallel printer. I've an old machine with a parallel port. What would I do to try it there, directly connected - without the USB adaptor? Thanks for the help people. Short version: The HP LaserJet 1100 has been working with CUPS when connected to an old box with a parallel port. LAN clients connect to it with cups-browsed. Long version for others with this printer (2 sections): # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Small non-X11 network 'server' with parallel port HP LaserJet 1100: # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Standard 5.6 release kernel packages: $ uname -mrsv OpenBSD 5.6 GENERIC#274 i386 $ pkg_info -I hplip hpijs hpcups hpaio \ cups cups-filters cups-libs avahi dbus \ foomatic-db foomatic-db-engine hplip-3.14.6HP Linux Imaging and Printing hpijs-3.14.6HP ghostscript driver (spooler independent) hpcups-3.14.6 HP native CUPS driver hpaio-3.14.6HP sane(7) scanner backend cups-1.7.4p0Common Unix Printing System cups-filters-1.0.54p2 OpenPrinting CUPS filters cups-libs-1.7.4 CUPS libraries and headers avahi-0.6.31p13 framework for Multicast DNS Service Discovery dbus-1.8.6v0message bus system foomatic-db-4.0.20131218 Foomatic PPD data foomatic-db-engine-4.0.11 Foomatic PPD generator /etc/rc.conf.local: pkg_scripts='... dbus_daemon avahi_daemon cupsd' # avahi pkg readme: multicast_host='YES' /etc/login.conf: avahi_daemon:\ :priority=18:\ :tc=daemon: cupsd:\ :priority=12:\ :tc=daemon: dbus_daemon:\ :priority=18:\ :tc=daemon: $ sudo cat /etc/cups/printers.conf # Printer configuration file for CUPS v1.7.4 # Written by cupsd on 2015-05-29 22:21 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING DefaultPrinter HP-LJ-1100 UUID urn:uuid:c6d03a42-b71c-3b96-4f8d-320eae4576bb Info Ye olde Lazar Jet Location Box room MakeModel Hewlett Packard LaserJet 1100 DeviceURI parallel:/dev/lpt0 State Idle StateTime 1432934466 Type 8425500 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer Standard /etc/cups/cups-files.conf $ sudo cat /etc/cups/cupsd.conf # Sample configuration file for the CUPS scheduler. See man cupsd.conf for a # complete description of this file. # # /usr/local/share/doc/cups/help/ref-cupsd-conf.html # # Log general information in error_log - change warn to debug # for troubleshooting... LogLevel info MaxLogSize 5m # listen for connections from the local machine Listen /var/run/cups/cups.sock # Allow remote access # DNS CNAME Listen printer.internal:631 ServerAlias printer.internal printer MaxClients 10 MaxJobsPerPrinter 10 FilterNice 18 PreserveJobFiles 1w PreserveJobHistory 1w # Show shared printers on the local network. Browsing On BrowseLocalProtocols DNSSD # Web interface setting... WebInterface No # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... Location / # Allow remote administration... Order allow,deny # Allow shared printing... Allow @LOCAL /Location # Restrict access to the admin pages... Location /admin # Allow remote administration... Order allow,deny /Location # Restrict access to configuration files... Location /admin/conf AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny /Location # Set the default printer/job policies... Policy default # Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default # Job-related operations must be done by the owner or an administrator... Limit Create-Job Print-Job Print-URI Validate-Job Order deny,allow /Limit Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document Require user @OWNER @SYSTEM Order deny,allow /Limit # All administration operations require an administrator to authenticate... Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices AuthType Default Require user @SYSTEM Order deny,allow /Limit # All printer operations require a printer operator to authenticate... Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
Re: Softraid 1 takes forever to declare disk space free after delete
No clue comes from it... # fstat -f /home USER CMD PID FD MOUNTINUM MODE R/W SZ|DV root fstat 30300 wd /home 2 drwxr-xr-x r 512 homeuser imap 29865 wd /home12595200 drwxr-xr-x r 3584 homeuser imap 32331 wd /home12595200 drwxr-xr-x r 3584 homeuser imap 21323 wd /home12595200 drwxr-xr-x r 3584 homeuser screen 14447 wd /home12595200 drwxr-xr-x r 3584 homeuser ksh 9939 wd /home12595200 drwxr-xr-x r 3584 homeuser ksh 9939 11 /home12595654 -rw-r--r-- rw 13169 nobody openvpn105443 /home 3 -rw--- w 232 nobody openvpn 55373 /home 3 -rw--- w 232 botusereggdrop-1.6.21 24013 text /home11232325 -rwxr-xr-x r 2388189 botusereggdrop-1.6.21 24013 wd /home11230720 drwxr-xr-x r 1024 botusereggdrop-1.6.21 240135 /home11230916 -rw-r--r-- rw0 botusereggdrop-1.6.21 240137 /home11230910 -rw-r--r-- rw0 botusereggdrop-1.6.21 240138 /home11232810 -rw-r--r-- rw 898 botusereggdrop-1.6.21 240139 /home11232816 -rw-r--r-- rw 3435 homeuser irssi 11827 wd /home12595200 drwxr-xr-x r 3584 homeuser irssi 11827 10 /home12596270 -rw--- w 4251372 homeuser irssi 11827 13 /home12595263 -rw--- w 2936014 homeuser irssi 11827 14 /home12595285 -rw--- w 5120541 homeuser irssi 11827 16 /home12595286 -rw--- w 70090812 homeuser irssi 11827 19 /home12595304 -rw--- w 21572482 homeuser irssi 11827 21 /home12595301 -rw--- w 32415199 homeuser ksh10774 wd /home12595200 drwxr-xr-x r 3584 homeuser ksh10774 12 /home12595654 -rw-r--r-- rw 13169 homeuser screen 4623 wd /home12595200 drwxr-xr-x r 3584 root ksh25183 wd /home 2 drwxr-xr-x r 512 On 11/06/15 21:55, Alexander Hall wrote: On June 11, 2015 7:47:43 PM GMT+02:00, Noth nothingn...@citycable.ch wrote: Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of isos and other non necessary items. I did this yesterday and it still hasn't cleared the disk space completely yet: This doesn't sound like a softraid problem. Is some other process holding those files open? Does fstat -f /home give a clue? /Alexander # bioctl -ih sd2 Volume Status Size Device softraid0 0 Online 910G sd2 RAID1 0 Online 910G 0:0.0 noencl sd0d 1 Online 910G 0:1.0 noencl sd1d # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home /home # du -sh 782G. So there's a rather large disparity there! I've tried issuing sync commands a few times over the past 24 hours but to no avail : [Thu Jun 11 19:32:03] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home [Thu Jun 11 19:32:04] root@casper: /home # sync [Thu Jun 11 19:35:26] root@casper: /home # df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.0G30%/ /dev/sd2a 906G859G1.2G 100%/home dmesg: OpenBSD 5.7 (GENERIC.MP) #0: Tue May 5 20:04:33 CEST 2015 r...@openbsd64.nineinchnetworks.ch:/root/binpatchng-2.1.2/work-binpatch57-amd64/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 4260089856 (4062MB) avail mem = 4142768128 (3950MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xceebd000 (28 entries) bios0: vendor Intel Corp. version CCCDT10N.86A.0032.2012.0323.1510 date 03/23/2012 bios0: Intel Corporation D2500CC acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC MCFG HPET acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) UAR3(S4) UAR4(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1867.05 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC cpu0: 512KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.1.0.0.0, IBE cpu1 at mainbus0: apid 1 (application
expect rsync to recover files on some level
Hi all. i use rsync on *working* openbsd to expect in order to recover some files on some level . because when i rysnc -av /32G-USBmemory/ /harddiskdrive by booting 2G-USBmemory , ibus-anthy and xfce4-terminal die on harddiskdrive(opebsd itself works). and more 'pkg_add ibus-anthy ' does not have effect and 'using (tar -cvpf - .)|(tar -xpf -)' also end ibus-anthy and xfce4-terminal death. is the some difference in memory and harddisk ? --- mount_ext2fs /dev/sd1k /DATA rsync -avHx/.cshrc /DATA/RSYNC-working rsync -avHx/.profile /DATA/RSYNC-working rsync -avHx/altroot /DATA/RSYNC-working rsync -avHx/bin /DATA/RSYNC-working rsync -avHx/boot /DATA/RSYNC-working rsync -avHx/bsd /DATA/RSYNC-working rsync -avHx/bsd.rd /DATA/RSYNC-working rsync -avHx/dev /DATA/RSYNC-working rsync -avHx/etc /DATA/RSYNC-working rsync -avHx --exclude=home/Auser/.cache --exclude=home/Auser/.mozilla /DATA/RSYNC-working rsync -avHx/root /DATA/RSYNC-working rsync -avHx/sbin /DATA/RSYNC-working rsync -avHx/sys /DATA/RSYNC-working rsync -avHx/usr /DATA/RSYNC-working rsync -avHx/var /DATA/RSYNC-working --- regards
cannot install Padre (a Perl IDE) for first run on OpenBSD?
as root I tried on OpenBSD 5.7: # cpan Padre ... after many unneeded messages (I don't know why aren't they only shown in verbose mode) MDOOTSON/Alien-wxWidgets-0.67.tar.gz ./Build install -- OK PLAVEN/Padre-1.00.tar.gz Has already been unwrapped into directory /home/proba/.cpan/build/Padre-1.00-FbXca1 Configuring P/PL/PLAVEN/Padre-1.00.tar.gz with Makefile.PL Found localeC Padre requires a perl built using threads No 'Makefile' created PLAVEN/Padre-1.00.tar.gz /usr/bin/perl Makefile.PL -- NOT OK $ What am I missing? Why doesn't the cpan Padre works on OpenBSD? :( Many-many thanks for any help
Re: spamd pf rules
As Okan stated, your 5.6 man page is still correct for 5.7. It is only of issue when you move to 5.8-Release in November. http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/pf.conf.5?query=pf%2econf - -current and 5.8, use/will use divert-to (Can't give you a link to the online pf.conf man page for 5.7 as it hasn't been snapped for 5.7-release) My man pages on my 5.7 hosts specify rdr-to Cheers, Jason. On 11 June 2015 at 11:51, Edgar Pettijohn III ed...@pettijohn-web.com wrote: On Jun 10, 2015, at 3:59 PM, Okan Demirmen wrote: On Wed 2015.06.10 at 15:43 -0500, Edgar Pettijohn III wrote: I've been using spamd for a while now. I was looking through my pf.conf and noticed that I had the following rules in regards to spamd. table spamd-white persist table nospamd persist file /etc/mail/nospamd pass in log on egress proto tcp from any to any port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress proto tcp from nospamd to any port smtp pass in on egress proto tcp from spamd-white to any port smtp pass out log on egress proto tcp to any port smtp Everything seems to work correctly, but I was thinking the rdr-to rule was wrong so I looked at spamd(8) and it shows a divert-to rule instead. When I change it to divert-to I get the following error: # pfctl -vf /etc/pf.conf /etc/pf.conf:19: address family mismatch for divert pfctl: Syntax error in config file: pf rules not loaded What should I do to fix this. Is the rdr-to rule sufficient or do I need to change it? Depends. 5.7 and prior used rdr-to; and -current switched to divert-to. http://www.openbsd.org/faq/current.html#20150518 Thanks I guess I missed that line. However, I think my system is out of whack. I upgraded to 5.7, but the spamd man page is from 5.6. Thanks for the lead. Edgar -- If my calculations are correct, when this baby hits 88MPH, you're gonna to see some serious shit - Emmett Doc Brown
Re: usbhidctl(1) and usbhidaction(1)
On 05/07/15 14:40, ludovic coues wrote: hello, Hi Ludovic, I wanted to know if anyone get either usbhidctl(1) or usbhidaction(1) working and if so for which usage. I have some issues with Logitech wireless keyboards (Wave 2.4 and K400r) on -current. Consumer:Mute and Consumer:Volume_Decrement have no effect and Consumer:Volume_Increment actually decrements. $ cat ~/.usbhid.conf Consumer:Volume_Increment 1 mixerctl outputs.master=+15 Consumer:Volume_Decrement 1 mixerctl outputs.master=-15 Consumer:Mute 1 mixerctl outputs.master.mute=toggle With a Logitech K200 (with cable) and a Cherry KW 3000 (wireless), everything is working fine. Let me know if you need more information. Regards, -- Alexis de BRUYN