Re: Userspace reproducibly hangs for a few minutes

2017-03-20 Thread Ted Unangst
Filippo Valsorda wrote: > Sometimes the hang lasts seconds, sometimes minutes. During the hang > everything is unresponsive except the kernel: network traffic drops, > serial console is stuck, ssh is stuck and eventually times out, > sometimes other applications running on the machine notice that "

Re: grep -E -F

2017-03-15 Thread Ted Unangst
Ingo Schwarze wrote: > Hi Philip, > > oops, our mails crossed. > > > Standardese: POSIX doesn't specify that they are exclusive options > > It does: > > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html > > section 12.1, clause 8 That also says: The use of c

Re: where are antialiased fonts now documented?

2017-03-14 Thread Ted Unangst
Jonathan Thornburg wrote: > What Fine Manual(s) should I be reading for up-to-date information > on antialiased fonts? I can't find anything relevant in xterm(1) or > any of the X server man pages. Interestingly, the example from the > 5.8-stable FAQ, > xterm -fa 'Mono' -fs 14 > *does* work on

Re: doas(1) adjustable timeout length

2017-03-14 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > I'm not saying "you must do everything my way or else", but rather I > am trying to understand the reasoning behind making this hardcoded and > fixed, as opposed to being admin-settable; maybe something is planned > here I am unaware of? We're trying to keep the

Re: pkg_create ignores flags obsd 6.0

2017-03-14 Thread Ted Unangst
Panagiotis Atmatzidis wrote: > I'm trying to use "pkg_create" under OpenBSD to distribute a precompiled > binary along with linked libraries. > > I have a python script which I inherited, that creates a "+CONTENTS" > file containing the list of files + sha. > > The problem is that "pkg_create" do

Re: doas(1) adjustable timeout length

2017-03-12 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > On one box I test configuration edits and backups, I find myself using > doas around once every 7-9 minutes, exceeding the 5 minute limit. > Another box is basically a gateway, so I don't exceed 2 minutes between > doas runs. The timeout was originally 10 minutes

Re: better way to detect new display

2017-03-01 Thread Ted Unangst
David Coppa wrote: > On Wed, Mar 1, 2017 at 11:49 AM, Raf Czlonka wrote: > > A while ago, Keith Packard wrote small display configuration tool > > called x-on-resize[0] which might be exactly what you are looking > > for but I have no idea how much effort would it be to get it > > working/ported o

Re: Limits for bcrypt_pbkdf(3) vs bcrypt(3)

2017-02-07 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > 1. Does the 72-character limit also apply to bcrypt_pbkdf() [presumably >this will mean softraid(4) crypto won't accept passwords >72 chars >anymore]? No. There is no limit. (The inputs can also contain 0 bytes.) > 2. What is the recommended buffer size

Re: IPPORT_RESERVED 'security' check in nfsd obsolete?

2017-01-18 Thread Ted Unangst
Nicolas Schmidt wrote: > Currently (at least on 5.8, I haven't upgraded yet), the nfs daemon refuses to > accept a mount request if it comes from a non-privileged port (>= > IPPORT_RESERVED). As I understand, this was once a 'security feature' in the > time of mainframes, when access to computer wa

Re: a typo for MS Scult Ergonomy set usb receiver in dmesg?

2017-01-18 Thread Ted Unangst
Jiri B wrote: > Hi, > > not sure if it's a typo or correct but there's strange '\M-' > in dmesg for $subject hw. usb devices print the name that the device says its name is. microsoft probably added a (r) to the string.

Re: Is privilege separated TLS protocol handling of interest ?

2017-01-09 Thread Ted Unangst
Remco wrote: > The idea is to run the TLS protocol in different processes (tls_client, > kex helper) by impersonal users. > > All TLS/crypto code lives in those processes, the user's application > doesn't know about TLS/crypto and does not need to be linked against it. This doesn't sound very d

Re: Why can I waitpid() but can't EVFILT_PROC under pledge("proc")

2017-01-05 Thread Ted Unangst
Theo de Raadt wrote: > > Luke Small wrote: > > > What if I want to prevent a process from forking while I want to create > > > new > > > EVFILT_PROC events? Say, to accept the pid of a sibling fork from a pipe > > > and load it into a kqueue. Is there a reason why waitpid() isn't beholden > > > to

Re: Why can I waitpid() but can't EVFILT_PROC under pledge("proc")

2017-01-05 Thread Ted Unangst
Luke Small wrote: > What if I want to prevent a process from forking while I want to create new > EVFILT_PROC events? Say, to accept the pid of a sibling fork from a pipe > and load it into a kqueue. Is there a reason why waitpid() isn't beholden > to this, or is there a reason that EVFILT_PROC is?

Re: nslookup and dig output when using rebound

2017-01-04 Thread Ted Unangst
Glenn Faustino wrote: > Hi, > > The output of nslookup and dig when using rebound are like these: this finally annoyed me enough the other day i made a patch. Index: bin/dig/dighost.c === RCS file: /cvs/src/usr.sbin/bind/bin/dig/di

Re: The right way to delete elements from ohash

2017-01-04 Thread Ted Unangst
Maciej Adamczyk wrote: > The task is simple: remove all elements that satisfy some property. > * add another layer of looping and keep iterating as long as a pass over > the map deleted at least one element. this should be fast enough. even with looping and resizing, it's asymptotically linear.

Re: Gigabyte-range /dev, for whatever reason

2016-11-17 Thread Ted Unangst
Peter N. M. Hansteen wrote: > This is probably a one-off (actually two, but more about that later) that > will only ever bite me and never be heard of againg, but I have to ask: > > What could cause your /dev/, which is normally in the kilobytes in size, to > swell to *gigabyte* range? i think

Re: Flaw resides in BTB helps bypass ASLR

2016-10-20 Thread Ted Unangst
Peter Janos wrote: > Hello, > > http://news.softpedia.com/news/researchers-bypass-aslr-protection-on-intel-ha > swell-cpu-509460.shtml >   > paper: > http://www.cs.ucr.edu/~nael/pubs/micro16.pdf[http://www.cs.ucr.edu/~nael/pubs > /micro16.pdf] >   > could we somehow prevent this attack on OpenBSD?

Re: Large datasize - how to limit physical memory?

2016-10-07 Thread Ted Unangst
Raimo Niskanen wrote: > And the manual page is wrong in claiming that ulimit -m takes effect when > the system gets low on memory? > > So the only memory limit that is enforced is ulimit -d? yeah. i'll fix the manual. thanks for noticing. > Bummer. > > What I guess we (VM tricksters) would real

Re: Large datasize - how to limit physical memory?

2016-10-06 Thread Ted Unangst
Raimo Niskanen wrote: > On Wed, Oct 05, 2016 at 12:34:42PM -0400, Ted Unangst wrote: > > If somebody writes a C program that demonstrates the problem, I'm happy to > > take a look. I'm not installing erlang. > > It has been ages since I wrote a C program from scratc

Re: Large datasize - how to limit physical memory?

2016-10-05 Thread Ted Unangst
If somebody writes a C program that demonstrates the problem, I'm happy to take a look. I'm not installing erlang.

Re: signify: write to stdout: Broken pipe

2016-10-03 Thread Ted Unangst
lvdd wrote: > Hi, > > with some help from Alex Greif offlist helping me reproducing the > issue, I decided to reinstall the system using a different mirror and > different approaches. pkg_add was switched to a new file format, and there are some bugs that result in bad error messages when working

Re: usb disk dirty after every reboot

2016-09-20 Thread Ted Unangst
Craig Skinner wrote: > Hi Jan, > > On Mon, 19 Sep 2016 18:22:37 +0200 Jan Stary wrote: > > > > 9d24108772d1158c.a /backup ffs rw,softdep,noatime,nodev,noexec > > > > With softdep everywhere, would this help in /etc/rc.shutdown? > > for i in 4 3 2 1

Re: cwm crashes when launching soffice

2016-09-14 Thread Ted Unangst
Jan Stary wrote: > On current/amd64, cwm crashes if I launch `soffice' from an xterm. > The other window managers (fvwm and twm) don't crash with this. > Other X clients don't crash cwm (firefox etc launch OK). probably fixed about one minute ago.

Re: acpithinkpad(4): mute speaker on boot

2016-09-13 Thread Ted Unangst
Anton Lindqvist wrote: > I'm trying to fix a minor annoyance on my x240: the speaker mute key > LED-state is not respected at boot. Pressing the mute key will mute the > speaker while the expected behavior is to unmute. The LED-state will > remain out-of-sync until I run `mixerctl -t outputs.master

Re: Building OpenBSD 6.0 -stable - Error

2016-09-03 Thread Ted Unangst
Teno Deuter wrote: > installed a fresh 6.0 AMD64 and tried to build 'stable' from source. > > Here is what I did as 'root' (as described in: > http://www.openbsd.org/stable.html): > > export CVSROOT=anon...@anoncvs1.ca.openbsd.org:/cvs > cd /usr; cvs checkout -P -rOPENBSD_6_0 src there's some re

Re: route outside subnet

2016-08-25 Thread Ted Unangst
ds wrote: > i'm trying to do the following: > > i have a /64 ipv6 address block. the gateway is on a /56. so i can't > reach the gateway by default. how can i tell route to reach the gateway? route add 'gateway-addr' -iface 'local-addr' I think.

Re: openfiles limit

2016-08-23 Thread Ted Unangst
Bambero wrote: > # sysctl kern.nfiles ; fstat | wc -l > kern.nfiles=2470 > 3594 > > What's the difference between kern.nfiles and fstat? fstat includes the program executable itself and its working directories, which don't count as open files. > # getcap -f /etc/login.conf mysqld > mysqld: :

Re: fsdb pledge

2016-08-20 Thread Ted Unangst
Theo Buehler wrote: > On Sat, Aug 20, 2016 at 01:28:23PM +0200, Jan Stary wrote: > > On current/amd64, fsdb(8) fails like this: > > > > # fsdb -f /dev/rsd0l > > ** /dev/rsd0l > > Editing file system `/dev/rsd0l' > > Last Mounted on /usr/xenocara > > current inode: directory > >

Re: Overloaded machine kernel death

2016-08-20 Thread Ted Unangst
sven falempin wrote: > Yes i just leave it in Misc , because i think the problem is acutally not > openBSD related. misc@ is not the "not openbsd related" mailing list.

Re: graphics acceleration, DRI2, DRM problem

2016-08-19 Thread Ted Unangst
Lampshade wrote: > This is totally fucked up code, but if you like hazard... > I mean that I really just called some random ACPI (aml) methods > not knowing what they should do. > +#Acer Optimus nvdsbl disable nvidia gpu PCI > +device nvdsbl > +attach nvdsbl at pci > +filedev/pci/nvdsbl.c

Re: LibreSSL on old OpenBSD

2016-08-12 Thread Ted Unangst
Roderick wrote: > BSD is one of the oldest OS with IP support, and still now / few years > ago was not clear from where to take MAXHOSTNAMELEN? > > OK, sysconf(_SC_HOST_NAME_MAX) may have a theoretical advantage > when compiling one program for different systems. Is it a standard? > Why was it not

Re: Solved: Copy-Paste not possible from a xterm

2016-08-08 Thread Ted Unangst
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

Re: write all files in /mnt to usb using dd

2016-08-03 Thread Ted Unangst
Teng Zhang wrote: > hi, i want to write all files in /mnt to usb,so i issued the command: > > doas dd if=/mnt of=/dev/rsd1c bs=5M > > but it failed. I'm not pretty understand the way to operate dd, so > could you please tell me how can i operate it to write the files to > usb? The tool you

Re: Question on Theo's dotSecurity paper

2016-07-21 Thread Ted Unangst
patrick keshishian wrote: > Hi, > > Quick question about Theo de Raadt's "Presentations: dotSecurity > 2016"[1]. Slide 11 says "Most violations result in process being killed", > not all violations? > > Just wanted clarification here. If you look at kern_pledge.c, you'll see a couple instances w

Re: jot(1) changed behavior

2016-07-15 Thread Ted Unangst
Philippe Meunier wrote: > jot -r 10 1 3 | sort -n | uniq -c > > which the man page clearly indicates should produce something like: > > 24950 1 > 50038 2 > 25012 3 > > which is also more in line with the "generate random floating point > number and truncate to even" mod

Re: jot(1) changed behavior

2016-07-14 Thread Ted Unangst
Philippe Meunier wrote: > Looking at the cvs log for jot.c, this seems to be a known change: > > "revision 1.27 [...] Internally, jot -r now uses arc4random_uniform() > whenever this is clearly possible. In particular `jot -r 1 10 20' > yields an unbiased random number between 10 and 20 (both end

Re: shm_mkstemp(3) without the file name

2016-07-14 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > I see where you are coming from, but what I am getting at is, where in > the POSIX standard does it say that it needs to be anywhere in the file > system at all? If it is shared memory, then surely this doesn't require > backing up. Oh. It doesn't have to be a

Re: making OpenBSD 5.9 live system on USB key

2016-07-13 Thread Ted Unangst
Matthias Apitz wrote: > # egrep 'imt|ihi' cyapa-openbsd-dmesg-debug-DIHIDEV_DEBUG.txt > Jul 13 09:12:19 openbsd /bsd: >>> probing for ihidev* > Jul 13 09:12:19 openbsd /bsd: >>> ihidev probe returned 0 > > The existing device is not found :-( > On FreeBSD on the same netbook it is seen as: > > $

Re: Overide NGROUPS_MAX

2016-07-12 Thread Ted Unangst
Sébastien Morand wrote: > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any > way to increase this value? > > For instance recompiling kernel with /usr/src/sys/sys/syslimits.h modified > (NGROUPS_MAX

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > When I use ftruncate(2) to actually allocate the segment, the file is as > long as the segment that is allocated. > > Even if the file is unlinked before ftruncate(2) is called, enough free > space in the /tmp *file system* is required for the shared memory seg

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > Yes, it seems to create files with long names (that have nothing to do > with the template I provide) in the /tmp root. > > If it doesn't respect the path or template, what is the point of having > this argument there in the first place, and what is the point o

Re: Missing artwork link in OpenBSD site

2016-07-08 Thread Ted Unangst
li...@wrant.com wrote: > On a totally tangential track, still artwork related, from time to time > I want to visit in cvsweb the hackathons page. In dillo, randomly some > artwork is missing here and there, each time different, please check it: > > [http://cvsweb.openbsd.org/cgi-bin/cvsweb/~check

Re: ipad as an USB disk

2016-07-08 Thread Ted Unangst
Jan Stary wrote: > What is your favorite way to get files > from an ipad onto an OpenBSD machine? webdav or dropbox

Re: making OpenBSD 5.9 live system on USB key

2016-07-08 Thread Ted Unangst
Matthias Apitz wrote: > I'd like to make some bootable USB key which contains an OpenBSD live > system, if possible even with X11 included. > > Can someone please be so kind and point me to some guide about how to > make such live system? Just follow the regular install procedure, but install to

Re: overshooting limits set in login.conf

2016-07-07 Thread Ted Unangst
Etienne wrote: > My browser is behaving strangely, and I suspect it's hitting the limits > set in login.conf. Is there a way to log when a limit has been hit, what > the PID was, and more? I would happily spend the time to tweak them to > match my usage of the browser, but I'm a little bit blind

Re: Issue with numbers of pty

2016-07-01 Thread Ted Unangst
Todd C. Miller wrote: > On Fri, 01 Jul 2016 10:50:24 -0400, "Ted Unangst" wrote: > > > Stuart Henderson wrote: > > > On 2016-06-30, Oriol Demaria wrote: > > > > Trying tmuxinator here I have noticed that I ran out of pty, according > > > >

Re: Issue with numbers of pty

2016-07-01 Thread Ted Unangst
Stuart Henderson wrote: > On 2016-06-30, Oriol Demaria wrote: > > Trying tmuxinator here I have noticed that I ran out of pty, according > > to man pty(4) there is a kernel parameter specifiying the max > > number. I'm running a snapshot from last Friday, and I don't seem to > > have kern.tty.maxp

Re: Issue with numbers of pty

2016-06-30 Thread Ted Unangst
Oriol Demaria wrote: > Trying tmuxinator here I have noticed that I ran out of pty, according > to man pty(4) there is a kernel parameter specifiying the max > number. I'm running a snapshot from last Friday, and I don't seem to > have kern.tty.maxptys. > > Is this a documentation error? Or that s

Re: How to analyse dlopen() failure?

2016-06-29 Thread Ted Unangst
Federico Giannici wrote: > Jun 29 17:18:37 eowyn2 openser: ERROR: load_module: could not open > module : Cannot load specified > object > > I repeat that: > 1) The same source had no problem under OpenBSD 5.3. > 2) All other modules are correctly loaded, only this one give error. > > Now, what

Re: pkg_info

2016-06-28 Thread Ted Unangst
Edgar Pettijohn wrote: > I would like pkg_info to tell me where to find a package in > the ports tree. For example: > > If I go to /usr/ports and do make search key=wget I can find > the following. > > Port: wget-1.16.3p0 > Path: net/wget > Info: retrieve files from the web via HTTP, HTT

Re: where is the image of openbsd arm ?

2016-06-24 Thread Ted Unangst
Jacob L. Leifman wrote: > Is it possible to add more wired NICs to the APU? Alternatively, is > there a comparably robust and OpenBSD supported low-wattage platform > with at least 4 (and preferrably 5-6) NICs? Walking on the wild side, I suppose something could be done with a switch and vlans.

Re: Booting encrypted drive from another device

2016-06-22 Thread Ted Unangst
Theodoros wrote: > Fair point! > It would make it more complicated for an adversary, but not impossible. If an adversary gains possession of your hard drive and gives it back to you, throw it away.

Re: A patch for cal

2016-06-21 Thread Ted Unangst
Abu Unaysah wrote: > Peace, > > This patch does away with the sixth week-row of each calendar month, > using the empty space in the first row in stead, as is conventional > in most printed calendars. One of the benefits of software is that it is not necessarily limited by physical constraints, li

Re: Is it possible and not unadvisable to make /src with the -O3 option?...

2016-06-16 Thread Ted Unangst
Luke Small wrote: > Would it make it slower, more buggy or make the kernel not fit in the root > partition? Yes.

Re: make optional servers insttall

2016-06-14 Thread Ted Unangst
Marc Espie wrote: > > Everybody keeps talking about how new hardware has so much space, just > > buy this or buy that. How about telling that to the genius 9 year old > > who has no allowance but there is some old crappy hardware sitting > > around. > > That's nice as a thought experiment. If he t

heads up about doas.conf change

2016-06-06 Thread Ted Unangst
A recent change to doas allowed using SETENV blocks in the config file. This had a side effect of making = a special character. If your doas.conf file contains = characters (such as for command args) they'll need to be quoted.

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Ted Unangst
Carlin Bingham wrote: > On Tue, May 31, 2016 at 01:45:23PM -0400, Ted Unangst wrote: > > Jeremie Courreges-Anglas wrote: > > > ntpd(8) doesn't use getaddrinfo+AI_ADDRCONFIG, which is supposed to skip > > > DNS requests for IPv6 if the machine doesn't

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Ted Unangst
Jeremie Courreges-Anglas wrote: > ntpd(8) doesn't use getaddrinfo+AI_ADDRCONFIG, which is supposed to skip > DNS requests for IPv6 if the machine doesn't have IPv6 addresses > configured. reyk added a comment to that effect, but I don't know why. /* ntpd MUST NOT use AI_ADDRCONFIG here */

Re: mfs and wxallowed

2016-05-30 Thread Ted Unangst
Gerald Hanuer wrote: > Hello misc@, > > Christian wrote: > > Well, the ports infrastructure for building those official binaries > has support for putting pobj on MFS... > > WRKOBJDIR_MFS > Alternate location for the port working directory. The intent > is > to us

Re: syslogd on 6.0-beta

2016-05-25 Thread Ted Unangst
Jeff Ross wrote: > jross@fw:/home/jross $ tail -10 /var/log/messages > May 21 04:00:01 fw syslogd: restart > May 25 15:53:58 fw syslogd: exiting on signal 15 > May 25 15:53:58 fw syslogd: start > May 25 15:53:58 fw syslogd: recvfrom unix: Connection reset by peer > May 25 15:56:00 fw syslogd: exiti

Re: encrypted disk image

2016-05-20 Thread Ted Unangst
Peter Wens wrote: > On a encrypted (sd1) OpenBSD 5.9 install (amd64, (qemu, virtio)): > > I created a diskimage (dd if=/dev/urandom of=disk.img bs=1m count=100 > vnconfig vnd0 disk.img > fdisk -iy vnd0 > disklabel -E vnd0 ( a a RAID) > > bioctl -c C -l /dev/vnd0a softraid0 > creates sd2newfs /d

Re: Alternate Puffy Logo Design

2016-05-19 Thread Ted Unangst
Mihai Popescu wrote: > First, the webpage design change suggestion, then the logo alternative ... > I guess a project name change suggestion will follow, I'm curious if > this will be till weekend. We're changing version scheme instead. OpenBSD 6.0 will actually be OpenBSD 60.

Re: Secure PKG_PATH for doas

2016-05-18 Thread Ted Unangst
Igor Mironov wrote: > The packages and ports' FAQ mentions that those using doas need to pass > keepenv { PKG_PATH } in the config file. Is there a way to instruct doas to > take PKG_PATH (or another variable) from the target account's environment > (~/.profile)? No, but you can easily write a

Re: Suggestion: new webpage for openbsd.org

2016-05-17 Thread Ted Unangst
Joakim Frostegård wrote: > The idea is to replace index.html but for all other pages just > replace the stylesheets. In so far, I’ve included a few other > pages, including plat.html, goals.html and alpha.html. > > I’ve tried to keep the page without bells and whistles, that is: > * Just static HT

Re: portmap, nfs_server entries in rc.conf

2016-05-16 Thread Ted Unangst
Robert Campbell wrote: > In Absolute OpenBSD, 2nd edition, the following comment is made: > which works fine. What's the status of the entries used in the book? Are > they deprecated? Always refer to current documentation. In this case, rc.conf contains the correct settings you wish to override i

Re: APM vs. kernel frequency scaling

2016-05-16 Thread Ted Unangst
Robert Campbell wrote: > The release notes for 5.7 included under the assorted improvements this > line item: > > "Frequency scaling has been moved from apmd(8) to the kernel with an > improved algorithm." > > Does this mean my CPU's frequency is being scaled automatically? Is there > any reason

Re: bioctl: unable to read passphrase

2016-05-13 Thread Ted Unangst
Theo Buehler wrote: > On Fri, May 13, 2016 at 07:28:51PM +0200, Leo Unglaub wrote: > > Hey friends, > > i have two identical ssd drives in my laptop. sd0 and sd1. I created a Raid > > 1 (mirroring) on them resulting in sd3. I used the following command: > > > > > bioctl -c 1 -l sd0a,sd1a softraid0

Re: bioctl: unable to read passphrase

2016-05-13 Thread Ted Unangst
Leo Unglaub wrote: > > bioctl -c C -l sd3a softraid0 > > But i get the following error message: bioctl: unable to read passphrase. > > Do you have any ideas why this is happening? you might try ktrace, since bioctl is not being very helpful here.

Re: Subpixel / RGB antialiasing

2016-05-13 Thread Ted Unangst
Simon McFarlane wrote: > On 04/14/16 12:23, Matej Nanut wrote: > > Hello, > > > > OpenBSD's freetype library is built without the feature. > > > > If you have your source trees set up, you can rebuild it after > > uncommenting FT_CONFIG_OPTION_SUBPIXEL_RENDERING in > > /usr/xenocara/lib/freetype/

Re: malloc.conf on BeagleBone Black

2016-05-10 Thread Ted Unangst
hans wrote: > On May 10 18:02:12, o...@drijf.net wrote: > > hans schreef op 10 mei 2016 17:12:23 CEST: > > >I started using the wonderfull malloc.conf, > > >setting it to CFGJPRSU. This works on amd64 and macppc and i386, > > >but on a freshly upgraded current/armv7 (a BeagleBone Black), > > >some

Re: non-wintel hardware choices

2016-05-05 Thread Ted Unangst
Gregory Edigarov wrote: > if I want to build a non-wintel system with commodity running OpenBSD > without problems, what are my options? If you install openbsd, then it won't be wintel. :)

Re: Short maximum interpreter length

2016-05-03 Thread Ted Unangst
Aioi Yuuko wrote: > Why is MAXINTERP in only 128? I can think of a few: > > 1. It's been that way a while and nobody's complained > 2. If someone's shebangs are longer than that, they're probably doing > whatever they're doing horribly, horribly wrong > 3. Historical compatibility > > Is it one

Re: Odd (incorrect?) zsh output

2016-04-16 Thread Ted Unangst
Geoff Wozniak wrote: > > # zsh -c 'x=$(false); echo $?' > 0 > > This seemed odd to me; I expect the result to be '1'. In fact, > '1' is what both ksh and bash produce on the same system. On > other systems I have access to (Linux variants, FreeBSD, other > OpenBSD installs), ksh, bash, a

Re: rebound suffers a segfault if sent packets by rdr-to or divert-to

2016-04-15 Thread Ted Unangst
Kevin Chadwick wrote: > It seemed to work for one or a few requests but crash with "child died > without HUP" and under debug mode I got a segfault line. I tried with a > recent snapshot too in case it may have been the pledge bug and it > crashed then too though I didn't try it in debug mode. the

Re: xbacklight / screen brightness

2016-04-07 Thread Ted Unangst
Riccardo Mottola wrote: > "xbacklight" tells me however "100". > if I lower it with "-set 90" I actually notice it gets brighter, setting > it to "-set 100" .. it goes to full brightness. > > It looks as if initially the value is read back incorrect from a status > register? There are a few ins

Re: Pledge: quota syscall

2016-04-06 Thread Ted Unangst
Héctor Luis Gimbatti wrote: > Greetings, > Ive found that the call at line 536 of quota.c (current) causes abort when > pledge is required: > > if(quotactl(fs->fs_file, qcmd, id, (char *)&qup->dqblk) != 0) > > Is it necessary to include quotactl (SYS_quotactl) in pledge in order to > support base

Re: Should random.seed on shutdown be saved a little later?

2016-04-02 Thread Ted Unangst
Kevin Chadwick wrote: > Whilst likely not a major issue. I also started to wonder whilst > reading man rc.shutdown, if a daemon or other process could potentially > use /dev/urandom between saving the seed and shutdown so could/should > the random.seed be saved a little later after /etc/rc.shutdown

Re: VAX - are we dropping support in 5.9?

2016-01-25 Thread Ted Unangst
Christoph R. Murauer wrote: > Let's say someone will build releases and packages, would the project > accept this builds or is there the need to host them self (security / > trust and so on) ? It takes more than just someone willing to type a few commands. You have investigate and understand the f

Re: VAX - are we dropping support in 5.9?

2016-01-23 Thread Ted Unangst
biggran...@tds.net wrote: > Back in late 2013 or early 2014 a Vax 4000/96 died. I brought up using > emulators to build with, but Theo didn't feel it was a good idea (and I > agree with his reasons). Here is his quote "We do not wish to use a vax > emulator. That will use even more power than th

Re: doas(1) and $PATH

2016-01-13 Thread Ted Unangst
Philippe Meunier wrote: > The same thing happens if I first move foo to / and add / at the > beginning of $PATH, so it's not a permission problem with > /home/meunier/bin, and foo itself has permissions 777. > If I first move foo to /bin then doas(1) finds foo without problem. 5.8 was a little too

Re: Missing files in etc

2016-01-07 Thread Ted Unangst
Philip Guenther wrote: > On Thu, Jan 7, 2016 at 1:53 PM, Roderich wrote: > > I see, there is no set etc58.tgz, many of the files of the etc set are > > now in the base set, but I miss some files (login.conf, passwd, pwd.db, > > ssh/sshd_config, ...). > > > > Unpacking base58.tgz with "tar xvzpf" i

Re: 5.8: Cannot communicate with iDrac6 once OpenBSD boots (Broadcom BCM5709 via bnx)

2015-12-30 Thread Ted Unangst
Stuart Henderson wrote: > > > I am hoping this might avoid whatever is happening to the iDrac > > configuration once OpenBSD launches. > > > > It would be great if I could keep bnx1, bnx2 and bnx3 accessible to OpenBSD. > > You'd need to hack the driver to do this, probably by checking the MAC >

Re: High interrupt load using 5.8 Release GENERIC i386 on Acer Aspire 3630 laptop

2015-12-29 Thread Ted Unangst
peter.foster.li...@gmail.com wrote: > On Sun, Dec 27, 2015 at 2:25 PM, Tati Chevron wrote: > > > > I have an Acer Aspire 3610, which has run every -release since at least > > 5.0 without problems. Certainly, I've not seen this high interrupt load. > > > > On the other hand, looking at your dmesg,

Re: drops to ddb when disconnecting from serial line

2015-12-27 Thread Ted Unangst
LÉVAI Dániel wrote: > So I guess it didn't panic, but just dropped to ddb from console, > because ddb.console was set to 1. Is there something sent via the serial > console that induces this? If I set ddb.console to 0 this doesn't > happen, but I'm curious as to what is happening and if I can avoid

Re: if I were to make a pkg-add diff

2015-12-24 Thread Ted Unangst
Luke Small wrote: > Assuming i could do it: If I were to make a sloppy perl-based pkg-add > program that used c and the installer code to (re)set the PKG-PATH > environment variable using the "http" settings that are available for > installing the modules from mirrors, if I made changes to it to >

Re: text-mode gui

2015-12-23 Thread Ted Unangst
Luke Small wrote: > In my worthless opinion though, I guess having folks getting an initial > foothold and not having to read the man-pages and openbsd.org pages on a > second computer, rather than say even lynx in the freshly installed system > before figuring it out is asking too much. I have a

Re: text-mode gui

2015-12-22 Thread Ted Unangst
Tati Chevron wrote: > I have never understood exactly why people have so much difficulty installing > a recent OpenBSD system on an encrypted partition. > > Assuming amd64 or i386: > > Basically, you boot bsd.rd as normal, and drop to a shell. Which nobody does for an otherwise normal install.

Re: resize crypto raid

2015-12-21 Thread Ted Unangst
Uwe Werler wrote: > Hello list, > > is it currently possible to resize/increase a crypto raid anyhow? I tested it > with a virtual disk image via vnconfig - created an image file, attached it > via vnconfig, created a raid partition and configured a raid with crypto > discipline. Later I increased

Re: BIOS call fallback

2015-12-21 Thread Ted Unangst
Read, James C wrote: > >Also, BIOS functions are traditionally coded only powerful enough bootup > style operation. > > I'm not sure what you mean by 'powerful enough'. Somebody who installs OpenBSD > and cannot access the internet now has a double problem 1) he can't access the > internet 2) he t

Re: dmesg: notebook hp pavilion dm3 1110eg 13.3"

2015-12-17 Thread Ted Unangst
Marcus MERIGHI wrote: > mlar...@azathoth.net (Mike Larkin), 2015.12.15 (Tue) 23:25 (CET): > > On Tue, Dec 15, 2015 at 10:14:23AM +0100, Marcus MERIGHI wrote: > > > CCing misc@ because there's no public access to dmesg@. > > > > > > BIOS: older machine, nothing fancy > > > Xwin: works, incl. touchp

Re: "cp -p" does not preserve the mtime of symlinks

2015-12-17 Thread Ted Unangst
Carsten Kunze wrote: > Ted Unangst wrote: > > > Probably not intended. Just an artifact left over from the era before you > > could set times on symlinks. (not likely that many people care, either.) > > I do care--I have a sync software (similar to rsync) which comp

Re: "cp -p" does not preserve the mtime of symlinks

2015-12-17 Thread Ted Unangst
Carsten Kunze wrote: > Hello, > > "cp -p" seems to not preserve the modification time of symlinks. This is not > mentioned in the man page. Other systems I tested (others BSDs and Linux) do > preserve the mtime of symlinks with e.g. "cp -a". The OpenBSD kernel also > does support to set it w

Re: Memory exhaustion

2015-12-16 Thread Ted Unangst
Steve Shockley wrote: > I would have preferred to have the sa-learn process just crash instead > of bringing the system down. I don't know that I necessarily want to > put a specific memory limit on the process, I just don't want a process > to be able to crowd out the kernel. Is there a sane

Re: OpenBSD, software and hardware all free

2015-12-14 Thread Ted Unangst
français wrote: > I do not want to program and use bullshit. > > Theo de Raadt, Bitrig still is bullshit? reference: > http://marc.info/?l=openbsd-misc&m=133988170001415&w=2 > > Also are bullshits the followings operating systems? > > MenuetOS: http://www.menuetos.net/ > > KolibriOS: http://ko

Re: syscall 5 "cpath" continues with octeon

2015-12-13 Thread Ted Unangst
jungle Boogie wrote: > Hello All, > > Despite the very helpful reply from Daniel on this thread: > http://marc.info/?l=openbsd-misc&m=14493626054&w=2 > > I'm faced with the same message upon accepting the default partition > and disk layout: > disklabel(19593): syscall 5 "cpath" > Abort trap

Re: /dev/full

2015-12-10 Thread Ted Unangst
Jan Stary wrote: > Porting libsndfile, I see that the Debian developers use /dev/full, > which apparently is what I think it is (Debian manpage below). > Would it be useful to have something like that in OpenBSD, > to test out-of-space behaviour of software? I think not.

Re: Empty MFS on root

2015-12-09 Thread Ted Unangst
Alexander Hall wrote: > > I've been thinking about having mount_mfs mounting the new mfs in some > temporary place prior to /bin/pax the lot into it, and then unmount it > and mount it into its final destination. I guess I just have not had > any use for that yet. :-) This would be beneficial for

Re: letsencrypt && https && openbsd.org = https://www.openbsd.org/

2015-12-08 Thread Ted Unangst
Michael McConville wrote: > Yes, but it is certainly "Websense" difficult, "Verizon traffic > monetization dept." difficult, "nosy VPN/exit node operator" difficult, > and "guy in cafe with Wireshark" difficult. But we don't care about any of those people anymore. The NSA is the only bad guy worth

Re: letsencrypt && https && openbsd.org = https://www.openbsd.org/

2015-12-08 Thread Ted Unangst
Michael McConville wrote: > Jason Barbier wrote: > > szs wrote: > > > Not for security. > > > For privacy. > > > > It is a read only site, the privacy you seek is breached as soon as > > you make a DNS call to openbsd.org > > There are still some privacy benefits to using HTTPS. It will confound

Re: letsencrypt && https && openbsd.org = https://www.openbsd.org/

2015-12-08 Thread Ted Unangst
Stuart Henderson wrote: > > Besides, who is going to agree to the Subscriber Agreement and indemnify ISRG? Huh? You don't trust robots to perform surgery correctly? oh, wrong ISRG.

<    1   2   3   4   5   6   7   8   9   10   >