syspatch on diskless fails (stat -qf %Sd / issue)

2017-05-03 Thread Andreas Kusalananda Kähäri
Hi, syspatch seems to work fine for keeping my ordinary server and router on -stable, thanks! However, on my diskless workstation it doesn't work so well: Get/Verify syspatch61-001_dhcpd.tgz 100% |*| 71733 00:00 Installing patch 001_dhcpd /usr/sbin/syspatch: ??=1147776: not

What is "activity" on a relayed SSH connection? (Re: (solved) relayd splice timeout)

2017-05-02 Thread Andreas Kusalananda Kähäri
On Tue, May 02, 2017 at 12:35:22PM +0200, Markus Rosjat wrote: > Hi Hiltjo, > > just to let you know seesion timeout did the try and works like a charm On a related note: What constitutes "activity" on a relayed SSH connection? I'm also using relayd on a router to relay SSH connections to an i

/usr on NFS, id(1) not found by netstart (diskless client)

2017-05-01 Thread Andreas Kusalananda Kähäri
Hi, I configured a diskless client which mounts /usr from a file server (both running OpenBSD 6.1 -release). The client say, as it is running /etc/rc, pf enabled starting network /etc/netstart[189]: id: not found /etc/netstart[189]: != 0: unexpected `!=' The problem, I assume, is that id(1) li

Re: obsd 6.1

2017-04-27 Thread Andreas Kusalananda Kähäri
On Thu, Apr 27, 2017 at 11:28:33AM -0300, Friedrich Locke wrote: > Hi folks, > > i wonder if there is an obsd 6.1 cd set to order ? > If not, when will it be released ? > > Thanks. > Related: https://marc.info/?l=openbsd-misc&m=149232307018311&w=2

Re: Load average changed in 6.1?

2017-04-24 Thread Andreas Kusalananda Kähäri
On Mon, Apr 24, 2017 at 10:42:16AM +0200, Christoph Borsbach wrote: > Hello everyone, > first off: I know that the topic of "load" has been discussed numerous > times, and been a topic on undeadly [1]. I know that this number is not that > important. > > However: > After upgrading 3 of my systems

Re: Performance Clang

2017-04-21 Thread Andreas Kusalananda Kähäri
On Thu, Apr 20, 2017 at 07:31:47PM +, Christian Weisgerber wrote: > On 2017-04-19, Heiko wrote: > > > I'm using current on amd64 (Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, > > 3411.91 MHz) > > > > I noticed that with clang it needs 109 minutes for "make build" and > > before with gcc 32 minute

Re: Unable to connect to ftp.openbsd.org

2017-04-15 Thread Andreas Kusalananda Kähäri
On Sat, Apr 15, 2017 at 09:58:00AM +0200, Alessandro Baggi wrote: > Hi there, > this morning I'm upgrading my obsd firewall 5.8 to 5.9. > > All processes gone fine but when running pkg_add -u I get that "unable to > connect or login to ftp.openbsd.org". This is on $PKG_PATH. > > When I try to con

Re: tar and pax issue with pledge arguments. in -current

2017-03-24 Thread Andreas Kusalananda Kähäri
On Fri, Mar 24, 2017 at 04:07:54PM -0500, mitchell wodach wrote: > Is anyone else having issues with tar or pax complaining about invalid > pledge arguments? > When i try to decompress a tarball i get this output: > > $ tar xvzf Downloads/xmem.tar > tar: pledge: Invalid argument It may be related

Re: tmux, option allow-rename off allows renaming

2017-03-17 Thread Andreas Kusalananda Kähäri
On Fri, Mar 17, 2017 at 12:12:52PM +0100, Andreas Kusalananda Kähäri wrote: > Hi, > > I'm doing some development on a Linux machine over SSH from a tmux shell > session. > > Whenever I log into the Linux host, it renames the current tmux window > (what's displayed

tmux, option allow-rename off allows renaming

2017-03-17 Thread Andreas Kusalananda Kähäri
Hi, I'm doing some development on a Linux machine over SSH from a tmux shell session. Whenever I log into the Linux host, it renames the current tmux window (what's displayed to the right at the bottom) to "user@host /path" (with those words replaced by the actual user etc.). This window name st

Re: Issue with pax

2017-03-11 Thread Andreas Kusalananda Kähäri
On Sat, Mar 11, 2017 at 12:33:10PM -0700, Theo de Raadt wrote: > Yeah, a transition was handled poorly because we thought all the > stragglers were gone. Upgrade to the snap, and you'll be ok. Thanks Theo, I'll do that. K > > > Today (an hour ago) I updated the sources for current to rebuild t

Issue with pax

2017-03-11 Thread Andreas Kusalananda Kähäri
Hi, Today (an hour ago) I updated the sources for current to rebuild the base system on my amd64 machine. I recompiled the kernel and rebooted. Upon trying to build userland, I get the following error: $ cd /usr/src $ make obj && make build [...] preparing in /usr/src/include/../gnu/usr.bin/cc/

Re: Problem with "xargs -0"

2017-01-16 Thread Andreas Kusalananda Kähäri
On Mon, Jan 16, 2017 at 03:33:00PM +0100, Martin Ziemer wrote: > On Mon, Jan 16, 2017 at 12:19:31PM +0100, Andreas Kusalananda Kähäri wrote: > > I've found an issue with xargs. > > > > This works as expected: > > > > $ printf 'hello\nworld\n' | xargs -I arg printf '>%s<\n' "arg" > > >hell

Problem with "xargs -0"

2017-01-16 Thread Andreas Kusalananda Kähäri
Hi, I've found an issue with xargs. This works as expected: $ printf 'hello\nworld\n' | xargs -I arg printf '>%s<\n' "arg" >hello< >world< However, when I use nul-termination instead: $ printf 'hello\00world\00' | xargs -0 -I arg printf '>%s<\n' "arg" >hello world< This is

Re: Possible bug/wierdness in head utility?

2017-01-14 Thread Andreas Kusalananda Kähäri
On Sat, Jan 14, 2017 at 02:10:06PM +0100, Andreas Kusalananda Kähäri wrote: > Hi, > > I've just noticed a somewhat strange behaviour with head(1): [cut] I totally forgot to say that this is with OpenBSD-current with yesterday's sources on amd64. Tested with both /bin/ksh and

Possible bug/wierdness in head utility?

2017-01-14 Thread Andreas Kusalananda Kähäri
Hi, I've just noticed a somewhat strange behaviour with head(1): I'm expecting the following to give me the first line of the regular file "file.in" followed by the rest of the contents sorted. "file.in" is a short file with three lines of text. (head -n 1; sort)

Re: NET_LOCK on current

2017-01-09 Thread Andreas Kusalananda Kähäri
On Mon, Jan 09, 2017 at 11:22:37AM +0200, Kapetanakis Giannis wrote: > Hi, > > I'd like to ask if the NET_LOCK patches have been committed in the current tree or a separate tree? > > best regards, > > G > This was on current. mpi@ made the introductory NET_LOCK commits on the 19th of December and

Re: Why isn't "sort -R" random?

2016-11-05 Thread Andreas Kusalananda Kähäri
On Sat, Nov 05, 2016 at 10:47:07AM +0100, minek van wrote: > It is sad to see that something is stated "RANDOM" and it is in reality not > random and still in OpenBSD. This misleads people. As other's have said, the manual states exactly what's happening. With a bit of imagination, it's easy to

Re: ntpd terminates after a few seconds of running

2016-10-22 Thread Andreas Kusalananda Kähäri
On Thu, Oct 20, 2016 at 03:46:42PM +0200, Andreas Kusalananda Kähäri wrote: > On Thu, Oct 20, 2016 at 02:44:56PM +0200, Rafael Zalamena wrote: > > On Thu, Oct 20, 2016 at 02:18:27PM +0200, Andreas Kusalananda K?h?ri wrote: > > > Hi, > > > > > > Running -curre

Re: ntpd terminates after a few seconds of running

2016-10-20 Thread Andreas Kusalananda Kähäri
using sources from the 15th (last Saturday). I will rebuild when I get time to do so (probably during the weekend). Thanks for the response! I'll get back to you if this is still an issue later. Andreas -- Andreas Kusalananda Kähäri Bioinformatics Developer NBIS, Uppsala University http://www.nbis.se/ [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

ntpd terminates after a few seconds of running

2016-10-20 Thread Andreas Kusalananda Kähäri
xhostweight 2 server ntp1.uu.se weight 1 server ntp2.uu.se weight 1 server ntp3.uu.se weight 1 #serverspool.ntp.orgweight 1 sensor * constraints from "https://www.google.com"; Cheers, Andreas -- Andreas Kusalananda Kähäri Bioinformatics Developer NBIS, Upp

Re: W^X issues running valgrind

2016-10-07 Thread Andreas Kusalananda Kähäri
On Thu, Oct 06, 2016 at 03:42:54PM +0200, Andreas Kusalananda Kähäri wrote: > On Thu, Oct 06, 2016 at 12:57:43PM +0100, Stuart Henderson wrote: > > On 2016/10/06 13:23, David Coppa wrote: > > > On Thu, Oct 6, 2016 at 12:50 PM, Andreas Kusalananda Kähäri > &

Re: W^X issues running valgrind

2016-10-06 Thread Andreas Kusalananda Kähäri
On Thu, Oct 06, 2016 at 12:57:43PM +0100, Stuart Henderson wrote: > On 2016/10/06 13:23, David Coppa wrote: > > On Thu, Oct 6, 2016 at 12:50 PM, Andreas Kusalananda Kähäri > > wrote: > > > Hi, > > > > > > Let me know if this should be on ports rather th

W^X issues running valgrind

2016-10-06 Thread Andreas Kusalananda Kähäri
wd0b memcheck-amd64-o(80678): mmap W^X violation memcheck-amd64-o(85292): mmap W^X violation memcheck-amd64-o(46575): mmap W^X violation memcheck-amd64-o(27486): mmap W^X violation memcheck-amd64-o(80065): mmap W^X violation memcheck-amd64-o(83826): mmap W^X violation -- Andreas Kusalananda Kähäri Bioinformatics Developer NBIS, Uppsala University http://www.nbis.se/ [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

Re: OpenBSD 6.0 release and errata60.html

2016-09-02 Thread Andreas Kusalananda Kähäri
t" with the meaning "I have a question/issue/problem". This is different from "I'm doubting" which means "I have no confidence in" or "I'm questioning". > > > > > I am sure they would appreciate that more... > > > > Best, > > > > Daniel > -- Andreas Kusalananda Kähäri Bioinformatics Developer NBIS, Uppsala University http://www.nbis.se/ [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

Re: tmux vs UTF8

2016-05-02 Thread Andreas Kusalananda Kähäri
Solved. Summary: I started tmux in my ~/.profile before setting LANG and LC_ALL. Changing to starting tmux from $ENV, after setting & exporting LANG and LC_ALL solved the display issue with accented characters. This, however made the panel layout go really wonky (bad line-drawing characters). I

Re: tmux vs UTF8

2016-05-01 Thread Andreas Kusalananda Kähäri
On Sun, May 01, 2016 at 07:32:09PM +0100, Nicholas Marriott wrote: > Underscores means tmux does not know that your terminal supports UTF-8 > which probably means LANG or LC_ALL are not exported correctly. LANG and LC_ALL are exportded with value "en_US.UTF-8". Exporting the other LC_* variables

Re: tmux vs UTF8

2016-05-01 Thread Andreas Kusalananda Kähäri
On Sun, May 01, 2016 at 07:10:03PM +0200, Ingo Schwarze wrote: > Hi Jan, > > hans wrote on Sat, Apr 30, 2016 at 01:08:12PM +0200: > > > In the last snapshot, it seems, tmux does not do UTF8 input correctly, > > while xterm is fine. This used to work with the ~/.xsession below. > > > > When typing n

Re: help with kshrc

2016-04-18 Thread Andreas Kusalananda Kähäri
On Mon, Apr 18, 2016 at 04:42:56PM +0200, Marko Cupa? wrote: > Hi, > > in tcsh on FreeBSD, I use the following line in .tcshrc in order to > start xfce when looging on ttyv3: > > if ($tty == ttyv3) then > startxfce4 --with-ck-launch > logout > endif > > How can I achieve the same with OpenBSD'

Re: OT: True hardware UNIX terminal

2016-03-29 Thread Andreas Kusalananda Kähäri
tired of the long compile times of the machines and the slow serial line to the terminal. But I still regret dumping the terminal, it was kinda neat. I might be trying to find another one eventually, or something like it, but I have nothing to connect it to at the moment... -- Andreas Kusalananda K

Re: libc issues on last snapshot

2016-03-23 Thread Andreas Kusalananda Kähäri
ting system. And thank you for responding to my question, too. Boot-strapping a machine from a snapshot is really easy, and now that I know you are hand rolling those tar balls yourself, I know what I may expect, or not expect as it may be. Keep up the good work! Thanks, Andreas -- Andreas Kusalan

Re: libc issues on last snapshot

2016-03-22 Thread Andreas Kusalananda Kähäri
ppened to me once before too, in November I believe. Is there any verification of the contents of the tar balls being done? -- Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF ---

Re: How to close some services

2016-02-10 Thread Andreas Kusalananda Kähäri
ain dnsmasq 2.71 > > | dns-nsid: > > |_ bind.version: dnsmasq-2.71 > > 513/tcp filtered login > > 514/tcp filtered shell > > > > Could you tell how to close these services on 53, 513, and 514? > > Or a http link so that I can learn? > > > > Thank you for your help. And for your awesome work. > > > > Best regards, > > Romain > -- Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF

Re: Can not get DPB to use _pbuild user

2016-02-09 Thread Andreas Kusalananda Kähäri
On Tue, Feb 09, 2016 at 04:25:53PM +0100, Marc Espie wrote: > On Tue, Feb 09, 2016 at 12:01:19PM +0100, Andreas Kusalananda Kähäri wrote: > > (I realized this thread should possible been sent to ports@, sorry) > > > > > > On Mon, Feb 08, 2016 at 09:42:47PM +,

Re: Can not get DPB to use _pbuild user

2016-02-09 Thread Andreas Kusalananda Kähäri
(I realized this thread should possible been sent to ports@, sorry) On Mon, Feb 08, 2016 at 09:42:47PM +, Christian Weisgerber wrote: > On 2016-02-08, Andreas Kusalananda Kähäri wrote: > > > I'm trying to get DPB to use the _pbuild user, but I'm failing. I > >

Can not get DPB to use _pbuild user

2016-02-08 Thread Andreas Kusalananda Kähäri
ost:LISTING)) called at /usr/ports/infrastructure/bin/dpb line 251 Invocation of DPB: doas dpb -c -u -U -s \ -b "%f/build-stats/%a" \ -S "%L/size.log" \ -D BUILD_USER=_pbuild \ -D FETCH_USER=_pfetch \ -D COLOR \ -P subdirlist.txt \ -p 3 \ -J 0

Quoting ${CC} expansion in libiberty Makefile

2016-01-18 Thread Andreas Kusalananda Kähäri
CC}" needed-list config.status: Makefile.in configure PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ -- Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF -

"rcctl start anacron" fails when no jobs to run

2016-01-09 Thread Andreas Kusalananda Kähäri
anacron_timeout=30 anacron_user=root $ doas anacron -s -d Anacron 2.4.3 started on 2016-01-09 Normal exit (0 jobs run) $ doas rcctl start anacron anacron(failed) I'm not sure how to fix this. It doesn't break anything, but it delays the boot process. Cheers, -- Andreas Kusalananda Kähäri, Bioi

Re: Missing files in etc

2016-01-08 Thread Andreas Kusalananda Kähäri
7;ve done in the past is to follow the FAQ for "Building a Release" (http://www.openbsd.org/faq/faq5.html#Release). It will leave DESTDIR with a base system that you can move to the correct location and modify for your diskless host. It's an alternative at least, if you are ok with

Re: tmux scrollback from OSX terminal on macbooks

2015-12-25 Thread Andreas Kusalananda Kähäri
or > > iTerm2 done. > > > > When you say "desired effect", you mean "scrolling up and down", right? > > > > > > Andreas > > > > -- > > Andreas Kusalananda K??h??ri, Bioinformatics Developer, Uppsala, Sweden > > OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF > >

Re: tmux scrollback from OSX terminal on macbooks

2015-12-24 Thread Andreas Kusalananda Kähäri
t OpenBSD). I'm also on iTerm2, on a MacBook Air. No special configuration of tmux or iTerm2 done. When you say "desired effect", you mean "scrolling up and down", right? Andreas -- Andreas Kusalananda Kähäri, Bioinformatics Devel

Re: variable LOCATE_PATH not used by locate

2015-11-25 Thread Andreas Kusalananda Kähäri
2) set -o allexport ... at the top of $ENV. Sets the shell option 'allexport' which means all new variables are automatically exported. This may have unwanted side-effects. 3) env LOCATE_PATH="$LOCATE_PATH" locate ... each time you execute locate. 4) Write a shor

Rebooting hangs when /home NFS mounted locally

2015-11-17 Thread Andreas Kusalananda Kähäri
ltra-DMA mode 5 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on wd0a (c6815a37518dd0cb.a) swap on wd0b dump on wd0b Thanks, -- :: Andreas Kusalananda Kähäri :: Bioinformatics Developer :: Uppsala, Sweden ::--

[OT] Re: The OpenBSD developers approve ???optimizing assembler??? and compilers?

2015-10-30 Thread Andreas Kusalananda Kähäri
ason for any individual to have a computer in his home." The point is, time moves on. -- :: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS, :: Uppsala University, Sweden ::-- :: My other car is a cdr.

Re: Problem with g command in ed

2015-05-16 Thread Andreas Kusalananda Kähäri
one in command-list is equivalent to a p command"). So, it prints all lines matching /a/ and then deletes them. Cheers, -- :: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS, :: Uppsala University, Sweden ::--

<    1   2