Re: spamassassin sa-update error in 6.0
An perl bug made it into 6.0: http://www.openbsd.org/errata60.html > I am running 6.0 and each time I try to run sa-update, I get the > following error: > Argument "1.38_01" isn't numeric in numeric lt (<) at > /usr/libdata/perl5/IO/Socket/IP.pm line 847 > > line 847 is:if( $IO::Socket::VERSION < 1.35 ) { > > And IO::Socket is part of base > > Best Regards
spamassassin sa-update error in 6.0
Hello, I am running 6.0 and each time I try to run sa-update, I get the following error: Argument "1.38_01" isn't numeric in numeric lt (<) at /usr/libdata/perl5/IO/Socket/IP.pm line 847 line 847 is:if( $IO::Socket::VERSION < 1.35 ) { And IO::Socket is part of base Best Regards [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
screen resolution problem on openbsd inside qemu efi
I am having screen resolution problem with OpenBSD 5.9 RELEASE running inside qemu-kvm with OVMF EDKII efi firmware (amd64). OpenBSD can't detect the correct screen resolution, so the text displayed is too small to read. My screen is 1366x768. OVMF is running with initial 800x600 resolution. OpenBSD loader prompt displayed fine, but as soon as the blue OpenBSD boot screen displayed, the screen resolution jumped to 2048x2048 with no excuse to my current screen resolution. I think OpenBSD's efifb lacking the ability to detect initial framebuffer screen resolution. This happens with qxl, std, and cirrus vga adapters. The screenshot is available here, taken from remmina vnc viewer. https://s10.postimg.org/b1u50xxh5/openbsd_scaled_display.png Is there any way to make OpenBSD efi screen resized to proper resolution during boot? Thing such as loader.conf or boot.conf?
Re: favicon editor
Tue, 9 Aug 2016 00:06:12 -0400 Raul Miller > You can convert favicon.ico to .xpm format using netpbm (or, > hypothetically speaking, imagemagick should work - it's a two step > process using netpbm). I forget if there are any special issues with > either approach for dealing with transparent pixels in icons. > > You can edit .xpm files using vim (and if you are in an environment, > such as X, which can display colors, vim can show you the represented > image). This is not so good for large photographs, but works fine for > icon files. > > Then convert the editted result back to .ico. > > (And, of course, if you find yourself doing this a lot, make scripts > for the parts you do not like typing out.) > > I hope this helps, Hi jsg, Raul, >From the graphical programs I'd try a combination of a general raster and then pixel scale oriented editing programs, typically Gimp and .. OpenBSD port graphics/mtpaint – simple GTK+2 raster painting program: [http://ports.su/graphics/mtpaint] [http://openports.se/graphics/mtpaint] [http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/graphics/mtpaint/] Or any other program from ports that does pixel-art specific tools if you want to hand craft it further. Thanks for the command line tools tips as well, and furthermore, some general info on these "favicons": Wikipedia - Favicon [https://en.wikipedia.org/wiki/Favicon] Kind regards, Anton
Re: Colour man pages via ssh + tmux on 5.9?
Mon, 8 Aug 2016 13:33:21 -0700 Philip Guenther > On Mon, Aug 8, 2016 at 12:44 PM, Craig Skinner > wrote: > > This arrangement works for me on 5.7, but not 5.9: > > > > export LESS_TERMCAP_mb=$(tput mb; tput AF 1) > > export LESS_TERMCAP_md=$(tput md; tput AF 2) > > export LESS_TERMCAP_mh=$(tput AF 5) > > export LESS_TERMCAP_so=$(tput so; tput AF 3) > > export LESS_TERMCAP_se=$(tput me) > > export LESS_TERMCAP_us=$(tput us; tput AF 6) > > export LESS_TERMCAP_ue=$(tput me) > ... > > tmux, lynx, vim, colorls, etc. all work fine on 5.9; but not less. > > > > Do I need different tputs for this edition of terminfo? > > You need to find a way that doesn't use the insane LESS_TERMCAP_* > variables. They vanished from the less in OpenBSD in this commit: > -- > revision 1.18 > date: 2015/11/05 22:08:44; author: nicm; state: Exp; lines: +238 > -1959; commitid: yKv9Ck9ZDgwWTRTo; > Replace less with the cleaned-up fork of less 458 maintained by Garrett > D'Amore at https://github.com/gdamore/less-fork. This has significantly > less portability goop, has a tidied up code style, uses terminfo instead > of termcap, and is has stricter POSIX compliance. > > Many of our local changes have been accepted upstream: substantial > remaining local changes are code to read help files from /usr/share > rather than compiling them in, man page and help improvements, and some > tweaks to the default options. > > Review and testing by millert, ok deraadt > -- > > You can probably emulate this by defining your own terminfo entry > under ~/.terminfo/ with the desired overrides. > > > Philip Guenther > Hi Craig, I've had this in .Xdefaults for a long time, does this work for you? ! color man pages *VT100*colorMode: on *VT100*boldColors: on *VT100*dynamicColors: on *VT100*colorULMode: on *VT100*underLine: off *VT100*colorBDMode: on *VT100*colorUL: #b58900 *VT100*colorBD: #859900 Of course, you might have to run xrdb(1) -merge to apply immediately: xrdb - X server resource database utility [http://man.openbsd.org/xrdb] I took the idea from the xterm(1) manual page, after the OpenBSD FAQ: xterm - terminal emulator for X [http://man.openbsd.org/xterm] OpenBSD FAQ 1 - Introduction to OpenBSD: Manual pages [http://www.openbsd.org/faq/faq1.html#ManPages] Kind regards, Anton
Re: favicon editor
You can convert favicon.ico to .xpm format using netpbm (or, hypothetically speaking, imagemagick should work - it's a two step process using netpbm). I forget if there are any special issues with either approach for dealing with transparent pixels in icons. You can edit .xpm files using vim (and if you are in an environment, such as X, which can display colors, vim can show you the represented image). This is not so good for large photographs, but works fine for icon files. Then convert the editted result back to .ico. (And, of course, if you find yourself doing this a lot, make scripts for the parts you do not like typing out.) I hope this helps, -- Raul On Mon, Aug 8, 2016 at 10:50 PM, jsg wrote: >Can anyone out there suggest a simple Favicon/Icon editor other than GIMP > thats >in our ports/packages system? > > > thanks in advance
Re: favicon editor
Good day. You may use online converter, e.g. http://www.favicon-generator.org. 2016-08-09 12:50 GMT+10:00 jsg : >Can anyone out there suggest a simple Favicon/Icon editor other than > GIMP thats >in our ports/packages system? > > > thanks in advance > > -- ШÑпиков ÐлекÑей
favicon editor
Can anyone out there suggest a simple Favicon/Icon editor other than GIMP thats in our ports/packages system? thanks in advance
Node W^V Violation in 8th August -current amd64
Hi all, I updated my -current (AMD64) to 8th August version and found that Node segfault. My /etc/fstab is still the same, which have wxallowed defined for /usr (I don't have separate /usr/local). Node was working previously and it's no longer the case for this new -current. If anyone knows on how to make Node working again I'm all ears (eyes). Thanks! OpenBSD 6.0-current (GENERIC.MP) #2334: Sun Aug 7 17:53:11 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4168814592 (3975MB) avail mem = 4037992448 (3850MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "6DET72WW (3.22 )" date 10/25/2012 bios0: LENOVO 745AU5L acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.31 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu0: 3MB 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 265MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu1: 3MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 104 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "PNP0303" at acpi0 not configured "IBM3780" at acpi0 not configured "INTC0102" at acpi0 not configured acpibat0 at acpi0: BAT0 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 "PNP0C14" at acpi0 not configured acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0: msi inteldrm0: 1280x800 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured puc0 at pci0 dev 3 function 3 "Intel GM45 KT" rev 0x07: ports: 1 com com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo com4: probed fifo depth: 15 bytes em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 00:1f:16:0c:9d:56 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi azalia0: codecs: Conexant CX20561 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO 3T3R, MoW, address 00:21:6a:18:0c:5c ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi pci3 at ppb2 bus 5 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 in
Re: tmpfs
Sun, 31 Jul 2016 20:44:05 +0200 mxb [...] > I asked. > So this one you can send to /dev/null. Привет mxb, Говорит /dev/ноль, один раз только, послушайте осторожно, пожалуйста. The fact you're being answered to, is out of politeness. Because you talk in public, and make somewhat pretentious and demanding requests. I have all the sympathy for you, yet you're making a bad impression.. The replies you received originally were very precise, and accurate.. Imagine how you'd reply if somebody spoke like you on your help-desk. Be polite back, and ask politely questions.. Seek guidance and don't make yourself heard because of rude replies.. When you hear silence, you will appreciate the full meaning of the above advice much better. All the answers are in change logs, and all the questions are in CVS. This comes from nowhere, just a another OpenBSD user reading further. С уважением, Антон
Nvidia GeForce 8400 GS not working with nv(4)
Hello, I am puzzled why I cannot use this graphics card with the nvidia driver since nv(4) claims to support it. I'm on the 5.9 release. Starting X was falling back to the vesa driver so I wrote the following to xorg.conf Section "Device" Identifier "GeForce 8400GS" Driver "nv" EndSection With this file, X fails to start. Xorg.0.log reports "NV: skipping unsupported device". dmesg reports the device as "unrecognized product 0x10c3", which is the correct PCI Device ID for the 8400 GS. Does kernel recognition matter for devices that are handled by X drivers? What is happening? Can I do something different or am I stumped? -- Sincerely, Colton Lewis Senior in Computer Engineering Missouri University of Science and Technology 573.202.4219
Re: Copy-Paste not possible from a xterm
On Mon, Aug 8, 2016 at 4:53 PM, Stefan Wollny wrote: > I open an xterm and e.g. want to see the content of /etc/fstab. So I issue > $ cat /etc/fstab > > Now I want to copy one line to thunderbird or a web client via firefox. I used to do this by marking the relevant line, change to the other application (say: the web client) and press left and right mouse buttons simultaneously. Until some time ago this procedure inserted the marked-up line at the position of the cursor. No double-click, no Enter. Standard Unix - right? > > Exactly this procedure is disfunct on my system. No idea why, no idea where to look at. No big thing, just wondering if I missed s.th. or else. There are a number of possibilities here, and no one knows (yet) which of them seem plausible: This could be malfunctioning hardware (bad connectors, sloppy mouse implementation, etc). This could be software. This could be easily repeatable. This could be intermittent. Can you try the mouse on a different machine? (Or, for that matter, a different mouse on a different machine.) Can you boot into a different OS and/or version? Anyways, the first step in solving any problem is trying to isolate it, and all we can do, for now, is give you guesses and hints which might help you in that. [But, focusing on this mailing list and how people like to use it: we do not yet have enough information to determine if you have triggered a flaw in the OS. That is very unlikely for any individual report, but there are a lot of individuals out there... still, for now, I would guess that there is something wrong with your machine and/or your mouse and that if you cannot isolate or fix the problem you will probably have to replace one or both, or live with it. That said: in my experience, most hardware problems have tended to be problems with the connectors.] Thanks, -- Raul
Re: Output Errors on VLAN interfaces
Andy Lemin [a...@brandwatch.com] wrote: > The underlying trunk does not report any Rx or Tx errors at all. > > And the VLAN interfaces do not report any receive errors, only low rate > transmit errors. > > Also as a thought exercise, could anyone kindly explain/discuss how an > output error might even occur or be valid? > Look at /usr/src/sys/net/if_vlan.c, you'll find exactly two places where if_oerrors increments. Logically, both are in the vlan_start() routine. The first happens after vlan_inject fails. If vlan_inject returns a null mbuf, that appears to be a failure within m_prepend(), probably from failure to allocate memory for the new mbuf. Where's your dmesg? Are you using a card that does hw tagging? (If so, this isn't the codepath you're looking for.) If the failure is the new if_enqueue, it seems like ifq_enqueue would be calling priq_enq which would be returning a failure if the queue is full. Are you using hfsc? Chris
Re: PC Engines APU NIC (RTL8111E) performance
On Fri, Aug 05, 2016 at 11:56:15AM +1000, Darren Tucker wrote: > On Thu, Aug 04, 2016 at 02:46:44PM +0200, Momtchil Momtchev wrote: > [...] > > What is the problem with software interrupt moderation? That it has a > > fixed timer while the hardware one scales with the RX rate? > > The hardware moderation can do per-N-packets in addition to a timer. > > > This shouldn't > > halve the performance? It should be more like 10% to 15% and some latency > > benefit? I have also noticed that the TX rate is higher than the RX rate > > (about 320 Mbit/s vs 260 Mbit/s). Could it be that the FreeBSD driver uses > > MSI interrupts and the OpenBSD one does not? > > Dunno. If I knew what the cause was I'd have fixed it :-( Hey, I might have found it. From my other diff: > + * According to the Linux driver, supposedly: > + * (TxTimer << 12) | (TxPackets << 8) | (RxTimer << 4) | RxPackets however in the header the RXTIME/TXTIME macros didn't match that: > #define RL_IM_RXTIME(t) ((t) & 0xf) > +#define RL_IM_RXPKTS(t) (((t) & 0xf) << 4) > #define RL_IM_TXTIME(t) (((t) & 0xf) << 8) > +#define RL_IM_TXPKTS(t) (((t) & 0xf) << 12) so assuming the comment was correct, I wasn't actually setting the holdoff timers :-( A quick test with this diff (just routing through it, no PF, no pool debug) gives me: $ iperf -c host -i 10 -t 60 Client connecting to nfs, TCP port 5001 TCP window size: 43.8 KByte (default) [ 3] local 192.168.32.1 port 43092 connected with 192.168.33.44 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 803 MBytes 674 Mbits/sec [ 3] 10.0-20.0 sec 844 MBytes 708 Mbits/sec [ 3] 20.0-30.0 sec 876 MBytes 735 Mbits/sec [ 3] 30.0-40.0 sec 915 MBytes 768 Mbits/sec [ 3] 40.0-50.0 sec 929 MBytes 779 Mbits/sec [ 3] 50.0-60.0 sec 917 MBytes 769 Mbits/sec [ 3] 0.0-60.0 sec 5.16 GBytes 739 Mbits/sec Index: dev/ic/re.c === RCS file: /cvs/src/sys/dev/ic/re.c,v retrieving revision 1.192 diff -u -p -r1.192 re.c --- dev/ic/re.c 20 Apr 2016 12:15:24 - 1.192 +++ dev/ic/re.c 9 Aug 2016 00:52:45 - @@ -747,7 +747,7 @@ re_attach(struct rl_softc *sc, const cha sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2 | - RL_FLAG_WOL_MANLINK; + RL_FLAG_WOL_MANLINK | RL_FLAG_HWIM; sc->rl_max_mtu = RL_JUMBO_MTU_9K; break; case RL_HWREV_8168E_VL: @@ -821,13 +821,19 @@ re_attach(struct rl_softc *sc, const cha /* Reset the adapter. */ re_reset(sc); - sc->rl_tx_time = 5; /* 125us */ - sc->rl_rx_time = 2; /* 50us */ - if (sc->rl_flags & RL_FLAG_PCIE) - sc->rl_sim_time = 75; /* 75us */ - else - sc->rl_sim_time = 125; /* 125us */ - sc->rl_imtype = RL_IMTYPE_SIM; /* simulated interrupt moderation */ + if (sc->rl_flags & RL_FLAG_HWIM) { + /* hardware interrupt moderation */ + sc->rl_imtype = RL_IMTYPE_HW; + sc->rl_tx_time = 5; /* 125us */ + sc->rl_rx_time = 2; /* 50us */ + } else { + /* simulated interrupt moderation */ + sc->rl_imtype = RL_IMTYPE_SIM; + if (sc->rl_flags & RL_FLAG_PCIE) + sc->rl_sim_time = 75; /* 75us */ + else + sc->rl_sim_time = 125; /* 125us */ + } if (sc->sc_hwrev == RL_HWREV_8139CPLUS) sc->rl_bus_speed = 33; /* XXX */ @@ -2233,6 +2239,8 @@ re_stop(struct ifnet *ifp) void re_setup_hw_im(struct rl_softc *sc) { + u_int16_t im; + KASSERT(sc->rl_flags & RL_FLAG_HWIM); /* @@ -2258,11 +2266,15 @@ re_setup_hw_im(struct rl_softc *sc) * Currently we only know how to set 'timer', but not * 'number of packets', which should be ~30, as far as I * tested (sink ~900Kpps, interrupt rate is 30KHz) -*/ - CSR_WRITE_2(sc, RL_IM, - RL_IM_RXTIME(sc->rl_rx_time) | - RL_IM_TXTIME(sc->rl_tx_time) | - RL_IM_MAGIC); +* +* According to the Linux driver, supposedly: +* (TxTimer << 12) | (TxPackets << 8) | (RxTimer << 4) | RxPackets +* Linux uses hard coded 0x5151. +*/ + im = RL_IM_TXTIME(sc->rl_tx_time) | RL_IM_TXPKTS(15) | + RL_IM_RXTIME(sc->rl_rx_time) | RL_IM_RXPKTS(2); + printf("setting interrupt moderation %hx\n", im); /* XXX */ + CSR_WRITE_2(sc, RL_IM, im); } void Index: dev/ic/
Re: github
Nick Holland wrote: >Nowhere on the OpenBSD website mentions github as anything official. It does on this page: https://www.openbsd.org/libressl/. Its even above the cvs link. Of course this is just for libressl not for the rest of openbsd.
Re: Solved: Copy-Paste not possible from a xterm
Stefan Wollny wrote: > Dimitrij Czarkoff posted the relevant section of man mouse(4): Option > "Emulate3Buttons" > Re-reading this several times lead to the solution. The system is a laptop > with two buttons below the touchpad but I have an external mouse attached > with a physical third button - simply pressing this button did the trick. > Sigh... no idea why the emulation of the third button does no longer work. > Will test this with the external mouse detached - but not tonight. The default setting is stupid. It emulates 3 buttons until you push a third button, then it stops. Then if you switch devices, haha, you're screwed. xinput --set-prop 8 "WS Pointer Middle Button Emulation" 1
Re: No automatic start of privoxy
Stefan Wollny wrote: > I have the following in /etc/rc.conf.local: > pkg_scripts=freshclam clamd messagebus avahi_daemon privoxy squid cupsd > > BUT: 'privoxy' does not start at system-startup as the other progs do. 'rcctl start tor' started failing mysteriously when I installed the latest snapshot yesterday. Likely related.
No automatic start of privoxy
Hi there! My proxy server running privoxy and squid died the other day and as a replacement I set up an old Thinkpad T60 running ~i386-current: OpenBSD 6.0-current (GENERIC.MP) #2009: Sun Aug 7 20:43:06 MDT 2016 (Full dmesg at the end.) I have the following in /etc/rc.conf.local: pkg_scripts=freshclam clamd messagebus avahi_daemon privoxy squid cupsd BUT: 'privoxy' does not start at system-startup as the other progs do. So I added the following to /etc/rc.local: rcctl start privoxy No success. I changed the line in /etc/rc.local to privoxy --user _privoxy /etc/privoxy/config No success. After startup I tried to run $ doas rcctl start privoxy No success: rcctl quits with privoxy(failed) The only thing that _does_ work is running $ doas privoxy --user _privoxy /etc/privoxy/config Strange ... I never noticed this behaviour with the old server (i386-current GENERIC). After reboot privoxy always came up as expected, just like squid did and does now. Maybe it is a case of screwed permissions, maybe s.th. else. Could some kind soul point me into the right direction? What am I missing / doing wrong? TIA. Best, STEFAN OpenBSD 6.0-current (GENERIC.MP) #2009: Sun Aug 7 20:43:06 MDT 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu0: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR real mem = 3219472384 (3070MB) avail mem = 3145105408 (2999MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 12/22/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETC9WW (2.09 )" date 12/22/2006 bios0: LENOVO 2007VG2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu1: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "PNP0303" at acpi0 not configured "IBM0057" at acpi0 not configured "ATM1200" at acpi0 not configured acpibat0 at acpi0: BAT0 model "92P1139" serial 2887 type LION oem "Panasonic" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ acpivout at acpivideo1 not configured bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 1 int 16 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:81:15:fb ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
Re: Copy-Paste not possible from a xterm
On 8/8/16, Stefan Wollny wrote: >> Gesendet: Montag, 08. August 2016 um 21:36 Uhr >> Von: "Mihai Popescu" >> An: misc@openbsd.org >> Betreff: Re: Copy-Paste not possible from a xterm >> >> > For some time now I cannot copy-paste text from a xterm window by >> > simultaneously \ >> > pressing left and right mouse buttons. >> >> > Anyone an idea? >> >> Um, carpal tunnel syndrome? >> > Nice - but no. > >> I know somebody unable to double click after a heavy drinking night. >> But he was able to manage this by clicking one time followed by Enter >> key. So, no panic. >> > Looks to me that I missed to find the right words to explain the issue > correctly. My bad. > > New try: > I open an xterm and e.g. want to see the content of /etc/fstab. So I issue > $ cat /etc/fstab > > Now I want to copy one line to thunderbird or a web client via firefox. I > used to do this by marking the relevant line, change to the other > application (say: the web client) and press left and right mouse buttons > simultaneously. Until some time ago this procedure inserted the marked-up > line at the position of the cursor. No double-click, no Enter. Standard Unix > - right? Can you paste the "copied" line into the same xterm or another xterm window using your outlined procedure? --patrick > Exactly this procedure is disfunct on my system. No idea why, no idea where > to look at. No big thing, just wondering if I missed s.th. or else. > > I know how to circumvent this non-behaviour in most cases. > > Just wanted to know if s.o. else witnessed the same and maybe has an answer. > Maybe I need to additionally post some specific settings I am not aware of. > > OK? > > Best, > STEFAN
Re: github
Karel Gardas [gard...@gmail.com] wrote: > OpenBSD is using CVS solely, but for my own purposes I started to > mirror src to github recently using cvs2gitdump tool. I do this since > I find git log/git show more friendly than CVS provided tools... If > you are interested see https://github.com/kgardas/openbsd-src -- Thank you. I personally find these git browsers to be convenient, mostly because I can look at one entire commit in a click. So, this depends on cvs2gitdump being accurately able to identify commits that are part of the same action. For my regular diff browsing, it's probably fine :)
Solved: Copy-Paste not possible from a xterm
> Gesendet: Montag, 08. August 2016 um 21:51 Uhr > Von: "Edgar Pettijohn" > An: "Mihai Popescu" > Cc: misc@openbsd.org > Betreff: Re: Copy-Paste not possible from a xterm > > I can't remember which of these I use because it's a muscle memory deal, but > it's either ctrl + insert or shift + insert after highlighting the text of > course. I think it requires some magic words in a resource file somewhere to > use the clipboard. > Hi Edgar, thanks again for taking the time to reply. Actually 'shift + insert' does copy the content of the clipboard. But this content is not the marked-up line from xterm! Example: Using a graphical editor like e.g. NEdit I can mark a line within and copy this line to the clipboard via 'ctrl + c'. It is this content that could be inserted via 'shift + insert'. BUT my issue is different: Until recently I could copy and paste from a xterm by simply marking a line (or several lines) and by pressing left and right mouse buttons simultaneously this line / these lines were copied at the position of the cursor. It is this behaviour that seemed to no longer working on my system. Dimitrij Czarkoff posted the relevant section of man mouse(4): Option "Emulate3Buttons" Re-reading this several times lead to the solution. The system is a laptop with two buttons below the touchpad but I have an external mouse attached with a physical third button - simply pressing this button did the trick. Sigh... no idea why the emulation of the third button does no longer work. Will test this with the external mouse detached - but not tonight. Thank you all!!! Best, STEFAN
Re: Copy-Paste not possible from a xterm
> Gesendet: Montag, 08. August 2016 um 21:36 Uhr > Von: "Mihai Popescu" > An: misc@openbsd.org > Betreff: Re: Copy-Paste not possible from a xterm > > > For some time now I cannot copy-paste text from a xterm window by > > simultaneously \ > > pressing left and right mouse buttons. > > > Anyone an idea? > > Um, carpal tunnel syndrome? > Nice - but no. > I know somebody unable to double click after a heavy drinking night. > But he was able to manage this by clicking one time followed by Enter > key. So, no panic. > Looks to me that I missed to find the right words to explain the issue correctly. My bad. New try: I open an xterm and e.g. want to see the content of /etc/fstab. So I issue $ cat /etc/fstab Now I want to copy one line to thunderbird or a web client via firefox. I used to do this by marking the relevant line, change to the other application (say: the web client) and press left and right mouse buttons simultaneously. Until some time ago this procedure inserted the marked-up line at the position of the cursor. No double-click, no Enter. Standard Unix - right? Exactly this procedure is disfunct on my system. No idea why, no idea where to look at. No big thing, just wondering if I missed s.th. or else. I know how to circumvent this non-behaviour in most cases. Just wanted to know if s.o. else witnessed the same and maybe has an answer. Maybe I need to additionally post some specific settings I am not aware of. OK? Best, STEFAN
Re: Logging/backup .ksh_history
Francois Pussault wrote: >> On 2016-08-08 Mon 14:39 PM |, johnw wrote: >>> Hi, I use /bin/ksh as a console/terminal shell program, I want to >>> log/backup all command, run on console/terminal/ksh, >>> >>> Any idea how to do this? >>> >> >> See HISTFILE and HISTSIZE in ksh(1). > > Using Ksh options is a good idea but that logs only the current user. You may set HISTFILE and HISTSIZE in doas.conf(5).
Re: Logging/backup .ksh_history
On Mon, Aug 08, 2016 at 11:22:33AM +0200, Kamil Cholewiński wrote: > On Mon, 08 Aug 2016, Francois Pussault wrote: > >> > >> From: Craig Skinner > >> Sent: Mon Aug 08 09:49:11 CEST 2016 > >> To: > >> Subject: Re: Logging/backup .ksh_history > >> > >> > >> Hi John, > >> > >> On 2016-08-08 Mon 14:39 PM |, johnw wrote: > >> > Hi, I use /bin/ksh as a console/terminal shell program, I want to > >> > log/backup all command, run on console/terminal/ksh, > >> > > >> > Any idea how to do this? > >> > > >> > >> See HISTFILE and HISTSIZE in ksh(1). > >> > >> Cheers, > >> -- > >> It isn't easy being a Friday kind of person in a Monday kind of world. > >> > > > > Using Ksh options is a good idea but that logs only the current user. > > > > a if you wanna get all actions even using successive multiples users with > > su, > > you might use a screen session to log absolute console instead of logging > > history. > > > > screen OPTIONS 2>&1 /var/log/screen.session.$$.$(date +%Y%m%d).log > > > > This is barbarian version but very usefull sometimes. > > Also try script(1). > > http://man.openbsd.org/OpenBSD-current/man1/script.1 Another option is sudo: https://www.sudo.ws/man/1.8.17/sudoers.man.html#I/O_LOG_FILES
Re: Colour man pages via ssh + tmux on 5.9?
On Mon, Aug 8, 2016 at 12:44 PM, Craig Skinner wrote: > This arrangement works for me on 5.7, but not 5.9: > > export LESS_TERMCAP_mb=$(tput mb; tput AF 1) > export LESS_TERMCAP_md=$(tput md; tput AF 2) > export LESS_TERMCAP_mh=$(tput AF 5) > export LESS_TERMCAP_so=$(tput so; tput AF 3) > export LESS_TERMCAP_se=$(tput me) > export LESS_TERMCAP_us=$(tput us; tput AF 6) > export LESS_TERMCAP_ue=$(tput me) ... > tmux, lynx, vim, colorls, etc. all work fine on 5.9; but not less. > > Do I need different tputs for this edition of terminfo? You need to find a way that doesn't use the insane LESS_TERMCAP_* variables. They vanished from the less in OpenBSD in this commit: -- revision 1.18 date: 2015/11/05 22:08:44; author: nicm; state: Exp; lines: +238 -1959; commitid: yKv9Ck9ZDgwWTRTo; Replace less with the cleaned-up fork of less 458 maintained by Garrett D'Amore at https://github.com/gdamore/less-fork. This has significantly less portability goop, has a tidied up code style, uses terminfo instead of termcap, and is has stricter POSIX compliance. Many of our local changes have been accepted upstream: substantial remaining local changes are code to read help files from /usr/share rather than compiling them in, man page and help improvements, and some tweaks to the default options. Review and testing by millert, ok deraadt -- You can probably emulate this by defining your own terminfo entry under ~/.terminfo/ with the desired overrides. Philip Guenther
Re: Copy-Paste not possible from a xterm
"Stefan Wollny" wrote: >For some time now I cannot copy-paste text from a xterm \ >window by simultaneously pressing >left and right mouse buttons. > >Anyone an idea? >From mouse(4): | Option "Emulate3Buttons" "boolean" | Enable/disable the emulation of the third (middle) mouse button | for mice which only have two physical buttons. The third button | is emulated by pressing both buttons simultaneously. Default: | on, until a press of a physical button 3 is detected. Property: | "Mouse Middle Button Emulation"
Re: Copy-Paste not possible from a xterm
I can't remember which of these I use because it's a muscle memory deal, but it's either ctrl + insert or shift + insert after highlighting the text of course. I think it requires some magic words in a resource file somewhere to use the clipboard. Sent from my iPhone On Aug 8, 2016, at 2:36 PM, Mihai Popescu wrote: >> For some time now I cannot copy-paste text from a xterm window by simultaneously \ >> pressing left and right mouse buttons. > >> Anyone an idea? > > Um, carpal tunnel syndrome? > > I know somebody unable to double click after a heavy drinking night. > But he was able to manage this by clicking one time followed by Enter > key. So, no panic.
Colour man pages via ssh + tmux on 5.9?
Hello, This arrangement works for me on 5.7, but not 5.9: export LESS_TERMCAP_mb=$(tput mb; tput AF 1) export LESS_TERMCAP_md=$(tput md; tput AF 2) export LESS_TERMCAP_mh=$(tput AF 5) export LESS_TERMCAP_so=$(tput so; tput AF 3) export LESS_TERMCAP_se=$(tput me) export LESS_TERMCAP_us=$(tput us; tput AF 6) export LESS_TERMCAP_ue=$(tput me) $ printenv | fgrep -i less | sort LESS=--LONG-PROMPT --ignore-case LESS_TERMCAP_mb=ESC[5mESC[31m LESS_TERMCAP_md=ESC[1mESC[32m LESS_TERMCAP_mh=ESC[35m LESS_TERMCAP_se=ESC[0m LESS_TERMCAP_so=ESC[3mESC[33m LESS_TERMCAP_ue=ESC[0m LESS_TERMCAP_us=ESC[4mESC[36m MANPAGER=less PAGER=less $ printenv TERM screen # tmux Adapted from: http://unix.stackexchange.com/questions/119/colors-in-man-pages/147#147 http://unix.stackexchange.com/questions/108699/documentation-on-less-termcap-variables tmux, lynx, vim, colorls, etc. all work fine on 5.9; but not less. Do I need different tputs for this edition of terminfo? Thanks, -- Craig Skinner | http://linkd.in/yGqkv7
Re: Copy-Paste not possible from a xterm
> For some time now I cannot copy-paste text from a xterm window by > simultaneously \ > pressing left and right mouse buttons. > Anyone an idea? Um, carpal tunnel syndrome? I know somebody unable to double click after a heavy drinking night. But he was able to manage this by clicking one time followed by Enter key. So, no panic.
Re: athn0: device timeout with AR9271
http://man.openbsd.org/OpenBSD-current/man4/athn.4 Last line "Bugs": Host AP mode does not work with USB devices. Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Montag, 25. Juli 2016 12:00 An: Miscellaneous OBSD Antwort an: ML mail Betreff: athn0: device timeout with AR9271 Hi, I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot. Here is the hardware details of that Wifi USB dongle: athn0 at uhub1 port 4 configuration 1 interface 0 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 4 athn0: AR9271 rev 1 (1T1R), ROM rev 13, address c4:e9:84:xx:xx:xx There error is the following (many of these messages are repeated): athn0: device timeout My /etc/hostname.athn0 is the following: inet 172.16.20.1 255.255.255.0 media autoselect mediaopt hostap mode 11b chan 6 nwid wpakey So I was wondering what is going on here... Is my Wifi USB dongle crap? or am I maybe doing something wrong? Let me know if I should provide any other infos... Regards ML
Re: athn0: device timeout with AR9271
Some news here... I upgraded the BIOS from a version from 2014 to 2016. Unfortunately that did not change anything to the timeouts. I will now wait until beginning of September to upgrade to OpenBSD 6.0 and see if that helps. I will keep you guys posted. On Tuesday, July 26, 2016 11:25 PM, Stefan Sperling wrote: On Tue, Jul 26, 2016 at 07:57:46PM +, ML mail wrote: > Should I upgrade to -CURRENT? Yes!
Re: thunderbird segfaults
> I am aware of this - no complaints! It is just that until last week > thunderbird has been working flawless. If you go up the thread and re-read everything from our perspective you will probably observe it sounds like complaints. > Just a thought - the last aspect might be worth mentioning in 'man > disklabel(8)'. No, policy is not relevant in a manual page which describes mechanism. We proposed a default policy. When people make up their own policy, they are on their own.
Re: thunderbird segfaults
> Gesendet: Montag, 08. August 2016 um 18:08 Uhr > Von: "Theo de Raadt" > An: "Stefan Wollny" > Cc: "Theo Buehler" , misc@openbsd.org, dco...@gmail.com > Betreff: Re: thunderbird segfaults > [ ... ] > > > So much space and no separate /usr/local ? why? > > > > > Lazyness :-) and not being a developer I find it suitable for my needs > > (flexibility with growing needs under /usr ): If _really_ necessary (about > > once in 2 years) I simply install everything fresh but /home. > > You installed using non-default methods. > > You are on your own. > I am aware of this - no complaints! It is just that until last week thunderbird has been working flawless. > Seriously. Do you think we select these defaults to be a pain? > Of course not! A long time ago having only a small disk I was bitten by poor estimation of how much I need for /usr, /usr/local, /usr/ports, /usr/src and /usr/X11R6. Going with one single /usr-partition (mounted read-only) was an easy solution fitting my needs not being a developer. It didn't come to my mind that this may be troublesome as everything worked as expected and 'man disklabel(8)' recommends this for disks > 2 GB - my lame excuse for being lazy ;-). I agree that with the introduction of pledge(2) I should better do my homework again. Splitting /usr (using 21GB) at least into /usr and /usr/local is no big thing as by now I know better what I want - probably should set up an additional /usr/local/bin to be mounted 'wxallowed' unless it is possible to run individual binaries 'W^X allowed' (or even better "not necessary"...). Just a thought - the last aspect might be worth mentioning in 'man disklabel(8)'. I'd like to thank you and all the others who took the time to reply. All the best, STEFAN
Re: OSPFD, setting point-to-point
Josh Grosse kindly sent me a message off list to confirm the question. So let me just add a little more clarity so as to not waste anyones time. This is purely an OSPFD thing and not a general networking question about point-to-point links ;) I am simply trying to tell OSPFD that only one other device is on this interface, and so OSPFD can skip the DR/BDR election process and jump straight to sharing LSA's etc. This way the devices can converge their control planes _much_ quicker.. GRE interfaces do this automatically, and thus converge faster (even over the internet) than the local ethernet p2p link. This causes local traffic to briefly traverse another remote router via the GRE's for a moment, whilst waiting for the local adjacency via the ethernet cable to finish their election etc. Thanks, Andy. On Mon, Aug 8, 2016 at 5:12 PM, Andy Lemin wrote: > Hi, > > Does anyone know if it is possible to set an ethernet crossover cable > between two OpenBSD firewalls running OpenOSPFD as point-to-point? > > OpenOSPFD recognises GRE's as point-to-point so the logic is there for > handling a point-to-point adjacency, but cannot see how to set this on the > ethernet port? > > Thanks, Andy.
OSPFD, setting point-to-point
Hi, Does anyone know if it is possible to set an ethernet crossover cable between two OpenBSD firewalls running OpenOSPFD as point-to-point? OpenOSPFD recognises GRE's as point-to-point so the logic is there for handling a point-to-point adjacency, but cannot see how to set this on the ethernet port? Thanks, Andy.
Re: thunderbird segfaults
> > Gesendet: Montag, 08. August 2016 um 17:21 Uhr > > Von: "Theo Buehler" > > An: misc@openbsd.org > > Betreff: Re: thunderbird segfaults > > > > > disklayout: > > > a: 5122.2M / > > > b: 1019.8M swap > > > d: 10244.6M /tmp > > > e: 15359.0M /var > > > f:30718.0M /usr > > > g: 914285.1M/home > > > > > > /usr is mounted read-only > > > /var is mounted no-exec > > > > So much space and no separate /usr/local ? why? > > > Lazyness :-) and not being a developer I find it suitable for my needs > (flexibility with growing needs under /usr ): If _really_ necessary (about > once in 2 years) I simply install everything fresh but /home. You installed using non-default methods. You are on your own. Seriously. Do you think we select these defaults to be a pain?
Re: thunderbird segfaults
Stefan Wollny wrote: Hi Theo! Gesendet: Montag, 08. August 2016 um 17:21 Uhr Von: "Theo Buehler" An: misc@openbsd.org Betreff: Re: thunderbird segfaults disklayout: a: 5122.2M / b: 1019.8M swap d: 10244.6M /tmp e: 15359.0M /var f:30718.0M /usr g: 914285.1M/home /usr is mounted read-only /var is mounted no-exec So much space and no separate /usr/local ? why? Lazyness :-) and not being a developer I find it suitable for my needs (flexibility with growing needs under /usr ): If _really_ necessary (about once in 2 years) I simply install everything fresh but /home. That's some kind of "laziness" there; you have to spend extra effort to get the installer to partition your drive like that, since it adds both /usr and /usr/local by default. ;) Also, there's almost 30GB allocated to it. You could have allocated 10GB to /usr and the rest to /usr/local and you'd be good enough to install a few dozen packages at least. If this is really the case, please make sure /usr is mounted wxallowed, see https://www.openbsd.org/faq/upgrade60.html Yes - it is mounted wxallowed (Janne@ was the very first today to ask this). On that note, is there a list of ports/packages that needs wxallowed (or any way to obtain such a list)? It would be rather a shame if you only had packages that don't need wxallowed (eg. gateway, server) and that wxallowed option is sitting on the file system.
Re: new support
0 C Russian Federation P T Moscow Z 109004 O Infosecurity LLC I Artem Vydrin /Pavel Kondratyuk A Nikoloyamskaya 38/1 M u...@infosecservice.ru U http://www.gk-is.ru/services.php B +7 495 510 15 86 X N Commercial support for Unix/Linux. Security sevices setup and integration. Experienced in OpenBSD-based network and security solution, including Internet gateways, clustered firewalls, VPNs, mail servers, and much more.
Re: thunderbird segfaults
Hi Theo! > Gesendet: Montag, 08. August 2016 um 17:21 Uhr > Von: "Theo Buehler" > An: misc@openbsd.org > Betreff: Re: thunderbird segfaults > > > disklayout: > > a: 5122.2M / > > b: 1019.8M swap > > d: 10244.6M /tmp > > e: 15359.0M /var > > f:30718.0M /usr > > g: 914285.1M/home > > > > /usr is mounted read-only > > /var is mounted no-exec > > So much space and no separate /usr/local ? why? > Lazyness :-) and not being a developer I find it suitable for my needs (flexibility with growing needs under /usr ): If _really_ necessary (about once in 2 years) I simply install everything fresh but /home. > If this is really the case, please make sure /usr is mounted wxallowed, > see https://www.openbsd.org/faq/upgrade60.html > Yes - it is mounted wxallowed (Janne@ was the very first today to ask this). > > $ thunderbird > > out of memory > > Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > > > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 > > Segmentation fault (core dumped) > > Known problem: https://marc.info/?t=14705703312&r=1&w=2 > > > thunderbird(30766): mmap W^X violation > > soffice.bin(68962): mprotect W^X violation > [..] > > xpcshell(5887): mmap W^X violation > > A fix for thunderbird is being worked on: > https://marc.info/?l=openbsd-ports&m=147066911817646&w=2 > David Coppa kindly posted this to me as well. This is good to know and I will patiently wait and see if I can do some tests. This awful thing named "day job" prevented easy thinking: Should have checked bugs@ myself - thanks for pointing me in this direction. > The others will follow as soon as someone finds the time. > Theo@ attested to me some time ago that this is way beyond my skills... sadly I have to admit that he is right. Thank you for taking the time to reply. Best, STEFAN
relayd WebDAV / CalDAV
Hi, I'm trying to replace my nginx setup with httpd + relayd. I want to use relayd for virtual hosts and "TLS acceleration". I have trouble with my Radicale CalDAV service. Radicale listens on localhost port 5232. relayd forwards the connection correctly until the client issues an http PROPFIND request. At that point relayd returns 500 Internal server error. It seems relayd is not happy with webdav requests. Is there a way to tell it to transparently forward unknown requests? Here's my old nginx config: % cat /etc/nginx/sites/radicale.conf server { listen 443; server_name radicale.my.domain; ssl on; ssl_certificate /etc/nginx/certs/radicale.crt; ssl_certificate_key /etc/nginx/certs/radicale.key; location / { proxy_passhttp://127.0.0.1:5232; } } Here's the replacement relayd config: % cat /etc/relayd.conf table { 127.0.0.1 } table { 127.0.0.1 } hostradicale="radicale.my.domain" log updates # Protocols http protocol "tlsvhosts" { return error pass match request header "Host" value $hostradicale forward to } # Relay rules relay tlsaccel { listen on egress port 443 tls protocol "tlsvhosts" forward to port 80 check tcp forward to port 5232 check tcp }
Re: thunderbird segfaults
> disklayout: > a: 5122.2M / > b: 1019.8M swap > d: 10244.6M /tmp > e: 15359.0M /var > f:30718.0M /usr > g: 914285.1M/home > > /usr is mounted read-only > /var is mounted no-exec So much space and no separate /usr/local ? why? If this is really the case, please make sure /usr is mounted wxallowed, see https://www.openbsd.org/faq/upgrade60.html > $ thunderbird > out of memory > Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 > Segmentation fault (core dumped) Known problem: https://marc.info/?t=14705703312&r=1&w=2 > thunderbird(30766): mmap W^X violation > soffice.bin(68962): mprotect W^X violation [..] > xpcshell(5887): mmap W^X violation A fix for thunderbird is being worked on: https://marc.info/?l=openbsd-ports&m=147066911817646&w=2 The others will follow as soon as someone finds the time.
Re: OpenBSD Songs - License
On 2016-08-05, <46rc1p+8qbgq1pcsq...@guerrillamail.com> <46rc1p+8qbgq1pcsq...@guerrillamail.com> wrote: > Hi all, > > I've just discovered the OpenBSD Songs, but unfortunately I can't > tell under which license they've been released. It would be really helpful if > you could update your website with this information See: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/telephony/asterisk-openbsd-moh/Makefile?rev=1.24&content-type=text/x-cvsweb-markup # Copyright held by Theo; ok for non-commercial-redistribution Best regards, Jona
Re: thunderbird segfaults
> Gesendet: Montag, 08. August 2016 um 16:40 Uhr > Von: "Edgar Pettijohn" > An: "Stefan Wollny" > Cc: Tinker , misc@openbsd.org > Betreff: Re: thunderbird segfaults > > I've had problems in the past trying to build a port that fails and then > install the binary version and it work. So if you haven't already maybe try > deleting it and reinstall the binary from a mirror. Hi Edgar, thank you for replying - unfortunately this didn't work out either. I just did a 'pkg_delete' and 'pkg_add' dance but not success. Still segfaults. Best, STEFAN > > Sent from my iPhone > > > On Aug 8, 2016, at 9:23 AM, Stefan Wollny wrote: > > > > Hi Tinker! > > > > Thank you for replying! My answers are in-line (sorry for the awful > formatting - the web-client is a PITA) > > > > Best, > > STEFAN > > > > > > Am 08.08.2016 15:02 schrieb Tinker: > > > >Please describe more, > > > > * Any idea of your memory situation (ulimit -a , RAM and swap > >available, actual memory consumption)? > > > > > > RAM as given in the dmesg: > > > >real mem = 17082359808 (16291MB) > >avail mem = 16560173056 (15793MB) > > > > > > As copy/paste is not possible the following is a transcript for 'ulimit > -a': > > time(cpu-seconds) unlimited > > file(blocks) unlimited > > coredump(blocks) unlimited > > data(kbytes) 1572864 > > stack(kbytes) 4096 > > lockedmem(kbytes) 5390336 > > memory(kbytes)16141956 > > nofiles(descriptors) 512 > > processes 256 > > > > > > disklayout: > > a: 5122.2M / > > b: 1019.8M swap > > d: 10244.6M /tmp > > e: 15359.0M /var > > f:30718.0M /usr > > g: 914285.1M/home > > > > /usr is mounted read-only > > /var is mounted no-exec > > > > > > > > * Also does it crash on start or can you use it for a while > > > > > > NO - it doesn't start at all as stated in my original post: > > > >$ thunderbird > >out of memory > >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. > cpp:1228 > >Segmentation fault (core dumped) > > > > > > > >The following is beyond my level of experience but are you sure that > >you run it in an isolated enough mode so no plugins or other config > >can interfere. > > > > > > Well ... thunderbird was doing fine until I got a fresh ~current-version > before last weekend. S.th. must have changed since then. I even recompiled the > system from a fresh checkout of cvs-src this morning and tried to do 'make > update' from ports - no success, sadly. > > > > > > > >On 2016-08-08 19:44, Stefan Wollny wrote: > > > >Hi there! > > > >My system: > >OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 > >(Full dmesg at the end.) > > > >I don't know if this is only with my system but since the last few > >days Mozilla's thunderbird segfaults. > > > >$ thunderbird > >out of memory > >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. > cpp:1228 > >Segmentation fault (core dumped) > > > >gdb -c thunderbird.core says > >Programm terminated with signal 11, Segmentation fault. > >#0 0x185a890c472a in ?? () > > > >Running 'doas make update' in /usr/ports/mozilla-thunderbird ends > with > >the following: > >[...] > >Executing > /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g > >/usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a > >/usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f > > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps > /installer/precompile_cache.js > >-e precompile_startupcache("resource://gre/"); > >out of memory > >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > > > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. > cpp:1228 > >Traceback (most recent call last): > >File > > > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp > s/installer/packager.py", > >line 406, in main() > >File > > > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp > s/installer/packager.py", > >line 400, in main args.source, gre_path, base) > >File > > > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp > s/installer/packager.py", > >line 161, in precompile_cache errors.fatal('Error while running > startup cache > >precompilation') > >File > > > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuil > d/mozpack/errors.py", > >line 103, in fatal self._handle(self.FATAL, msg) >
Re: thunderbird segfaults
I've had problems in the past trying to build a port that fails and then install the binary version and it work. So if you haven't already maybe try deleting it and reinstall the binary from a mirror. Sent from my iPhone > On Aug 8, 2016, at 9:23 AM, Stefan Wollny wrote: > > Hi Tinker! > > Thank you for replying! My answers are in-line (sorry for the awful formatting - the web-client is a PITA) > > Best, > STEFAN > > > Am 08.08.2016 15:02 schrieb Tinker: > >Please describe more, > > * Any idea of your memory situation (ulimit -a , RAM and swap >available, actual memory consumption)? > > > RAM as given in the dmesg: > >real mem = 17082359808 (16291MB) >avail mem = 16560173056 (15793MB) > > > As copy/paste is not possible the following is a transcript for 'ulimit -a': > time(cpu-seconds) unlimited > file(blocks) unlimited > coredump(blocks) unlimited > data(kbytes) 1572864 > stack(kbytes) 4096 > lockedmem(kbytes) 5390336 > memory(kbytes)16141956 > nofiles(descriptors) 512 > processes 256 > > > disklayout: > a: 5122.2M / > b: 1019.8M swap > d: 10244.6M /tmp > e: 15359.0M /var > f:30718.0M /usr > g: 914285.1M/home > > /usr is mounted read-only > /var is mounted no-exec > > > > * Also does it crash on start or can you use it for a while > > > NO - it doesn't start at all as stated in my original post: > >$ thunderbird >out of memory >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. cpp:1228 >Segmentation fault (core dumped) > > > >The following is beyond my level of experience but are you sure that >you run it in an isolated enough mode so no plugins or other config >can interfere. > > > Well ... thunderbird was doing fine until I got a fresh ~current-version before last weekend. S.th. must have changed since then. I even recompiled the system from a fresh checkout of cvs-src this morning and tried to do 'make update' from ports - no success, sadly. > > > >On 2016-08-08 19:44, Stefan Wollny wrote: > >Hi there! > >My system: >OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 >(Full dmesg at the end.) > >I don't know if this is only with my system but since the last few >days Mozilla's thunderbird segfaults. > >$ thunderbird >out of memory >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. cpp:1228 >Segmentation fault (core dumped) > >gdb -c thunderbird.core says >Programm terminated with signal 11, Segmentation fault. >#0 0x185a890c472a in ?? () > >Running 'doas make update' in /usr/ports/mozilla-thunderbird ends with >the following: >[...] >Executing /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g >/usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a >/usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps /installer/precompile_cache.js >-e precompile_startupcache("resource://gre/"); >out of memory >Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt. cpp:1228 >Traceback (most recent call last): >File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp s/installer/packager.py", >line 406, in main() >File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp s/installer/packager.py", >line 400, in main args.source, gre_path, base) >File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp s/installer/packager.py", >line 161, in precompile_cache errors.fatal('Error while running startup cache >precompilation') >File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuil d/mozpack/errors.py", >line 103, in fatal self._handle(self.FATAL, msg) >File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuil d/mozpack/errors.py", >line 98, in _handle raise ErrorMessage(msg) >mozpack.errors.ErrorMessage: Error: Error while running startup cache >precompilation >gmake[1]: *** > [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp s/installer/packager.mk:41: >stage-package] Error 1 >gmake[1]: Leaving directory >'/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer' >gmake: *** > [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail
Re: thunderbird segfaults
Hi Tinker! Thank you for replying! My answers are in-line (sorry for the awful formatting - the web-client is a PITA) Best, STEFAN Am 08.08.2016 15:02 schrieb Tinker: Please describe more, * Any idea of your memory situation (ulimit -a , RAM and swap available, actual memory consumption)? RAM as given in the dmesg: real mem = 17082359808 (16291MB) avail mem = 16560173056 (15793MB) As copy/paste is not possible the following is a transcript for 'ulimit -a': time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 1572864 stack(kbytes) 4096 lockedmem(kbytes) 5390336 memory(kbytes)16141956 nofiles(descriptors) 512 processes 256 disklayout: a: 5122.2M / b: 1019.8M swap d: 10244.6M /tmp e: 15359.0M /var f:30718.0M /usr g: 914285.1M/home /usr is mounted read-only /var is mounted no-exec * Also does it crash on start or can you use it for a while NO - it doesn't start at all as stated in my original post: $ thunderbird out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Segmentation fault (core dumped) The following is beyond my level of experience but are you sure that you run it in an isolated enough mode so no plugins or other config can interfere. Well ... thunderbird was doing fine until I got a fresh ~current-version before last weekend. S.th. must have changed since then. I even recompiled the system from a fresh checkout of cvs-src this morning and tried to do 'make update' from ports - no success, sadly. On 2016-08-08 19:44, Stefan Wollny wrote: Hi there! My system: OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 (Full dmesg at the end.) I don't know if this is only with my system but since the last few days Mozilla's thunderbird segfaults. $ thunderbird out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Segmentation fault (core dumped) gdb -c thunderbird.core says Programm terminated with signal 11, Segmentation fault. #0 0x185a890c472a in ?? () Running 'doas make update' in /usr/ports/mozilla-thunderbird ends with the following: [...] Executing /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Traceback (most recent call last): File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 406, in main() File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 400, in main args.source, gre_path, base) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache errors.fatal('Error while running startup cache precompilation') File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal self._handle(self.FATAL, msg) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation gmake[1]: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1 gmake[1]: Leaving directory '/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer' gmake: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail/build.mk:19: install] Error 2 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 '/usr/ports/pobj/thunderbird-45.2.0/fake-amd64/.fake-done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891 '/usr/ports/packages/amd64/all/thunderbird-45.2.0.tgz') ***
Re: github
On Mon, 08 Aug 2016 11:42 +0200, frantisek holop wrote: > [...] another low friction and low time investment approach could > have been to proactively take these usernames/urls and put > placeholders or links to the official project site. Why should the project do put up links on its site for any rando dood{,ette}'s repo/site? It doesn't make any sense.
Re: thunderbird segfaults
Please describe more, * Any idea of your memory situation (ulimit -a , RAM and swap available, actual memory consumption)? * Also does it crash on start or can you use it for a while The following is beyond my level of experience but are you sure that you run it in an isolated enough mode so no plugins or other config can interfere. On 2016-08-08 19:44, Stefan Wollny wrote: Hi there! My system: OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 (Full dmesg at the end.) I don't know if this is only with my system but since the last few days Mozilla's thunderbird segfaults. $ thunderbird out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Segmentation fault (core dumped) gdb -c thunderbird.core says Programm terminated with signal 11, Segmentation fault. #0 0x185a890c472a in ?? () Running 'doas make update' in /usr/ports/mozilla-thunderbird ends with the following: [...] Executing /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Traceback (most recent call last): File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 406, in main() File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 400, in main args.source, gre_path, base) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache errors.fatal('Error while running startup cache precompilation') File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal self._handle(self.FATAL, msg) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation gmake[1]: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1 gmake[1]: Leaving directory '/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer' gmake: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail/build.mk:19: install] Error 2 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 '/usr/ports/pobj/thunderbird-45.2.0/fake-amd64/.fake-done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891 '/usr/ports/packages/amd64/all/thunderbird-45.2.0.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2416: '_internal-package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1917 '/usr/ports/update/amd64/thunderbird-45.2.0') *** Error 1 in /usr/ports/mail/mozilla-thunderbird (/usr/ports/infrastructure/mk/bsd.port.mk:2396 'update') Anyone an idea what might go wrong here? I am lost... TIA. Best, STEFAN OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 7 20:50:41 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560173056 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(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) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.26 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: api
Re: thunderbird segfaults
I forgot to mention that '/usr' is mounted 'wxallowed'. > Gesendet: Montag, 08. August 2016 um 13:44 Uhr > Von: "Stefan Wollny" > An: misc@openbsd.org > Betreff: thunderbird segfaults > > Hi there! > > My system: > OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 > (Full dmesg at the end.) > > I don't know if this is only with my system but since the last few days > Mozilla's thunderbird segfaults. > > $ thunderbird > out of memory > Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 > Segmentation fault (core dumped) > > gdb -c thunderbird.core says > Programm terminated with signal 11, Segmentation fault. > #0 0x185a890c472a in ?? () > > Running 'doas make update' in /usr/ports/mozilla-thunderbird ends with the > following: > [...] > Executing /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g > /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a > /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js > -e precompile_startupcache("resource://gre/"); > out of memory > Assertion failure: [unhandlable oom] OOM in createJitRuntime, at > /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 > Traceback (most recent call last): > File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", > line 406, in main() > File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", > line 400, in main args.source, gre_path, base) > File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", > line 161, in precompile_cache errors.fatal('Error while running startup cache > precompilation') > File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", > line 103, in fatal self._handle(self.FATAL, msg) > File > "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", > line 98, in _handle raise ErrorMessage(msg) > mozpack.errors.ErrorMessage: Error: Error while running startup cache > precompilation > gmake[1]: *** > [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.mk:41: > stage-package] Error 1 > gmake[1]: Leaving directory > '/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer' > gmake: *** > [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail/build.mk:19: > install] Error 2 > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 > '/usr/ports/pobj/thunderbird-45.2.0/fake-amd64/.fake-done') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891 > '/usr/ports/packages/amd64/all/thunderbird-45.2.0.tgz') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2416: > '_internal-package') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1917 > '/usr/ports/update/amd64/thunderbird-45.2.0') > *** Error 1 in /usr/ports/mail/mozilla-thunderbird > (/usr/ports/infrastructure/mk/bsd.port.mk:2396 'update') > > > Anyone an idea what might go wrong here? I am lost... > > TIA. > > Best, > STEFAN > > > > OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 7 20:50:41 MDT 2016 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17082359808 (16291MB) > avail mem = 16560173056 (15793MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) > bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 > bios0: Notebook W65_67SZ > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT > SSDT DMAR > acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) > PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) > RP07(S4) PXSX(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) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.26 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE > cpu1 at mainbus0:
Copy-Paste not possible from a xterm
Hi there! My system: OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 (Full dmesg at the end.) For some time now I cannot copy-paste text from a xterm window by simultaneously pressing left and right mouse buttons. Anyone an idea? TIA. Best, STEFAN OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 7 20:50:41 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560173056 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(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) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.26 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz cpu2: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz cpu3: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC "INT3F0D" at acpi0 not configured "MSFT0001" at acpi0 not configured "ETD0403" at acpi0 not configured "PNPC000" at acpi0 not configured acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" "PNP0C14" at acpi0 not configured "INT340E" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080 wsdisplay0 at int
Re: Logging/backup .ksh_history
Le 2016-08-08 08:39, johnw a écrit : Hi, I use /bin/ksh as a console/terminal shell program, I want to log/backup all command, run on console/terminal/ksh, Any idea how to do this? Thanks. Hello, you could try this tool https://github.com/a2o/snoopy, it seems to be exactly what you need. I don't know if it works on OpenBSD, I don't see why it wouldn't work. Maybe I could port it if some people find it a use LOG example from their doc 2015-02-11T19:05:10+00:00 labrat-1 snoopy[896]: [uid:0 sid:11679 tty:/dev/pts/2 cwd:/root filename:/usr/bin/cat]: cat /etc/fstab.BAK 2015-02-11T19:05:15+00:00 labrat-1 snoopy[896]: [uid:0 sid:11679 tty:/dev/pts/2 cwd:/root filename:/usr/bin/rm]: rm -f /etc/fstab.BAK 2015-02-11T19:05:19+00:00 labrat-1 snoopy[896]: [uid:0 sid:11679 tty:/dev/pts/2 cwd:/root filename:/usr/bin/tail]: tail -f /var/log/messages
Re: Logging/backup .ksh_history
On 08/08/2016 04:33 PM, David Dahlberg wrote: > Am Montag, den 08.08.2016, 14:39 +0800 schrieb johnw: >> Hi, I use /bin/ksh as a console/terminal shell program, I want to >> log/backup all command, run on console/terminal/ksh, >> >> Any idea how to do this? > man 1 ksh, search for HISTFILE. > > Cheers > David Yes, I already set HISTFILE and HISTSIZE, but when I open two terminal at the same time, some command is not logged, and I also log-rotate. I want log all the command (but not the command stdout|stderr output), even I open two ksh terminal at the same time. Thank you -- Key ID: 0xCF2C80AC Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC signature.asc Description: OpenPGP digital signature
thunderbird segfaults
Hi there! My system: OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 20:50:41 MDT 2016 (Full dmesg at the end.) I don't know if this is only with my system but since the last few days Mozilla's thunderbird segfaults. $ thunderbird out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Segmentation fault (core dumped) gdb -c thunderbird.core says Programm terminated with signal 11, Segmentation fault. #0 0x185a890c472a in ?? () Running 'doas make update' in /usr/ports/mozilla-thunderbird ends with the following: [...] Executing /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); out of memory Assertion failure: [unhandlable oom] OOM in createJitRuntime, at /usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.cpp:1228 Traceback (most recent call last): File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 406, in main() File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 400, in main args.source, gre_path, base) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache errors.fatal('Error while running startup cache precompilation') File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal self._handle(self.FATAL, msg) File "/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation gmake[1]: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1 gmake[1]: Leaving directory '/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer' gmake: *** [/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail/build.mk:19: install] Error 2 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 '/usr/ports/pobj/thunderbird-45.2.0/fake-amd64/.fake-done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891 '/usr/ports/packages/amd64/all/thunderbird-45.2.0.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2416: '_internal-package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1917 '/usr/ports/update/amd64/thunderbird-45.2.0') *** Error 1 in /usr/ports/mail/mozilla-thunderbird (/usr/ports/infrastructure/mk/bsd.port.mk:2396 'update') Anyone an idea what might go wrong here? I am lost... TIA. Best, STEFAN OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug 7 20:50:41 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560173056 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(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) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.26 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSG
Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts
> > From: Michal Bozon > Sent: Mon Aug 08 11:32:57 CEST 2016 > To: > Subject: Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts > > > Hi, this also bugs me. But ksh is not bash. Try hitting ESC > before an arrow. (I'm not sure if it is a consistent keystroke > behavior of ksh or not) > > Here's one of older threads to this: > > https://marc.info/?t=12126533981&r=1&w=2 > > > regards, > Michal Bozon > > > Dave Cohen wrote: > > ... > > I'll try to describe an annoyance with my ksh setup. Web and man > > page searching has not provided a solution. I'm relatively new to > > both ksh and openbsd. I'm on version > > 5.9 release. > > > > Problem happens when I navigate command history with ctrl-r, then use > > left or right arrow. Hitting left arrow writes "[D", right inserts > > "[C". I'm hitting the arrow keys so I can edit my prior command. > > It's a habit I'm used to that works in bash. > > ... > can use set -o vi or ksh -o vi to get more shorcuts & efficiency. Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 fpussa...@contactoffice.fr
Re: github
Nick Holland, 07 Aug 2016 23:36: > > Is this http://[bullshit deleted]/openbsd the official OpenBSD github site? > > I find this part terrifying. > > Nowhere on the OpenBSD website mentions github as anything official. So > you just assumed that the seven letters, "openbsd", in that order, makes > it officially part of the project? No. Examples of this will be found > all over the Internet. i am confused about the shock and terror. i don't have code on github, but through ports we are all github users in one way or another. github is popular and everyone and his dog has either their official repo or a mirror on there. so while taking github links at face value is not correct, it happens all the time and until something else replaces it, it will get only worse. and that brings me to my second point. impersonating projects/persons on popular services (twitter, etc) is as old as domain squating and while it's ok for the openbsd project to totally ignore these filthy nasty new age services, another low friction and low time investment approach could have been to proactively take these usernames/urls and put placeholders or links to the official project site. -f -- the greatest hate springs from the greatest love.
Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts
Hi, this also bugs me. But ksh is not bash. Try hitting ESC before an arrow. (I'm not sure if it is a consistent keystroke behavior of ksh or not) Here's one of older threads to this: https://marc.info/?t=12126533981&r=1&w=2 regards, Michal Bozon Dave Cohen wrote: ... I'll try to describe an annoyance with my ksh setup. Web and man page searching has not provided a solution. I'm relatively new to both ksh and openbsd. I'm on version 5.9 release. Problem happens when I navigate command history with ctrl-r, then use left or right arrow. Hitting left arrow writes "[D", right inserts "[C". I'm hitting the arrow keys so I can edit my prior command. It's a habit I'm used to that works in bash. ...
Re: Logging/backup .ksh_history
On Mon, 08 Aug 2016, Francois Pussault wrote: >> >> From: Craig Skinner >> Sent: Mon Aug 08 09:49:11 CEST 2016 >> To: >> Subject: Re: Logging/backup .ksh_history >> >> >> Hi John, >> >> On 2016-08-08 Mon 14:39 PM |, johnw wrote: >> > Hi, I use /bin/ksh as a console/terminal shell program, I want to >> > log/backup all command, run on console/terminal/ksh, >> > >> > Any idea how to do this? >> > >> >> See HISTFILE and HISTSIZE in ksh(1). >> >> Cheers, >> -- >> It isn't easy being a Friday kind of person in a Monday kind of world. >> > > Using Ksh options is a good idea but that logs only the current user. > > a if you wanna get all actions even using successive multiples users with su, > you might use a screen session to log absolute console instead of logging > history. > > screen OPTIONS 2>&1 /var/log/screen.session.$$.$(date +%Y%m%d).log > > This is barbarian version but very usefull sometimes. Also try script(1). http://man.openbsd.org/OpenBSD-current/man1/script.1
Re: Logging/backup .ksh_history
> > From: Craig Skinner > Sent: Mon Aug 08 09:49:11 CEST 2016 > To: > Subject: Re: Logging/backup .ksh_history > > > Hi John, > > On 2016-08-08 Mon 14:39 PM |, johnw wrote: > > Hi, I use /bin/ksh as a console/terminal shell program, I want to > > log/backup all command, run on console/terminal/ksh, > > > > Any idea how to do this? > > > > See HISTFILE and HISTSIZE in ksh(1). > > Cheers, > -- > It isn't easy being a Friday kind of person in a Monday kind of world. > Using Ksh options is a good idea but that logs only the current user. a if you wanna get all actions even using successive multiples users with su, you might use a screen session to log absolute console instead of logging history. screen OPTIONS 2>&1 /var/log/screen.session.$$.$(date +%Y%m%d).log This is barbarian version but very usefull sometimes. Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 fpussa...@contactoffice.fr
hostname.if manpage enhancement: be clearer about #
Hi, I've had an issue connecting to a wireless network (by doas sh /etc/netstart $if). Its password contained '#' character(s). Even adding "debug" keyword did not assure me whether the problem is with my password definition: wpakey s3cur3-as-#311, for illustration (was not sure if the '#' has to be escaped somehow); or somewhere else. Finally, it was the latter, but it took me a while to realize that. Current hostname.if manpage is not absolutely clear: #Comments are allowed. Anything following a comment character is treated as a comment. It suggests that what is before '#' might have a meaning, while the broader context of the definition strongly suggests that comment it is when '#' "keyword" is at the beginning. Looking into /etc/netstart might also be confusing - just at the beginning, there's stripcom() function definition, which clearly strips the input line from '#' and following. However, this function is NOT applied to /etc/hostname.if, it is treated differently, entire line beginning with '#' is skipped (see # Skip comments and empty lines). I am therefore proposing following or similar change: --- /usr/src/share/man/man5/hostname.if.5 +++ /usr/src/share/man/man5/hostname.if.5 @@ -201,7 +201,7 @@ the interface, such as 64. .It Li # Comments are allowed. -Anything following a comment character is treated as a comment. +Line beginning with a comment character is treated as a comment. .It Li \&! Ns Ar command Arbitrary shell commands can be executed using this directive, as long as they are available in the single-user environment (for
Re: Logging/backup .ksh_history
Hi John, On 2016-08-08 Mon 14:39 PM |, johnw wrote: > Hi, I use /bin/ksh as a console/terminal shell program, I want to > log/backup all command, run on console/terminal/ksh, > > Any idea how to do this? > See HISTFILE and HISTSIZE in ksh(1). Cheers, -- It isn't easy being a Friday kind of person in a Monday kind of world.