Re: OpenBSD is just an OS, not a firewall...

2012-06-10 Thread Ted Unangst
On Sun, Jun 10, 2012 at 09:44, Chris Smith wrote: On Sat, Jun 9, 2012 at 11:52 PM, Lars Hansson romaby...@gmail.com wrote: Hmm..I get This post could not be found. Apparently the original post has been deleted by its author. His prerogative, but I think it's in bad taste to create such

Re: llround(), round() broken?

2012-06-04 Thread Ted Unangst
On Mon, Jun 04, 2012 at 20:40, Theo de Raadt wrote: This seems to come up most often regarding the math functions. Which Unix system doesn't require -lm for those math functions? I think these people have no experience writing any C and OpenBSD is the first place they've tried it. Trying to

ddb prompt on formerly stable system (4.9)

2012-06-03 Thread ted . m . w
to work), I noticed the system wasn't responding.B I went to the basement, got out my really old laptop as a serial console, and noticed the system was giving a ddb prompt. Just for kicks, I reboo ted, and at some point after the networking comes up, the system paniced and gave the ddb prompt again

Re: (Kinda O.T.) Digital Millennium Copyright Act used to censor hardware specifications

2012-05-31 Thread Ted Unangst
On Thu, May 31, 2012 at 11:11, Brett wrote: Pursuant to a rights owner notice under the Digital Millennium Copyright Act (DMCA), the Wikimedia Foundation acted under the law and took down and restricted the content in question. A copy of the received notice can be Reverse engineering

Re: Idea for apmd

2012-05-31 Thread Ted Unangst
On Thu, May 31, 2012 at 08:28, Tomas Bodzar wrote: On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado i...@juanfra.info wrote: This is important because when I open a web page with a lot of javascript, the browser is very slow. Also when I compile something with make -j1, apmd

Re: Upgrading OpenBSD

2012-05-21 Thread Ted Unangst
On Mon, May 21, 2012 at 19:20, Richards, Toby wrote: Will pkg_add -ui upgrade between major releases, such as php 5.2.x = 5.3.x? When I upgraded OpenBSD 4.9 = 5.0, there was a huge issue because it supported both PHP 5.2.x AND 5.3.x. I'd have loved to seamlessly upgraded to 5.3.x, but the

Re: Disk not configured after VM crash

2012-05-20 Thread Ted Unangst
On Sun, May 20, 2012 at 20:47, Joaquin Herrero wrote: Hi, An OpenBSD 4.3 GENERIC Virtual Machine I have on VMware ESXi 3.5 crashed and after rebooting it complains that one of the disks is not configured: No traces of the a partition in the disklabel! I accessed the hypervisor via ssh and

Re: release failing to build. hardware related?

2012-05-15 Thread Ted Unangst
On Tue, May 15, 2012 at 17:03, Marc Peters wrote: Hi list, i am trying to built a 5.1 release which fails at disklabel -w vnd0 floppy576 disklabel: unknown disk type: floppy576 Your /etc/disklabel is missing something.

Re: Error while copying data from another disk

2012-05-14 Thread Ted Unangst
On Mon, May 14, 2012 at 10:19, Jan Stary wrote: On May 14 08:11:43, Mik J wrote: My first question is that I don't understand the term fsbn. http://lmgtfy.com/?q=openbsd+fsbn The results for that aren't particularly helpful in explaining the term. file system block number.

Re: fw_update

2012-05-09 Thread Ted Unangst
On Wed, May 09, 2012 at 21:33, mark sullivan wrote: I was coming to OpenBSD 5.1 looking for reasonable privacy and when I install it (amd64 flavour), I see that fw_update automatically installs propietary firmware without my permission. Actually even worse, it updates it automatically from the

Re: fw_update

2012-05-09 Thread Ted Unangst
On Thu, May 10, 2012 at 10:34, Brett wrote: You can use pf to block those network devices that have firmware you don't trust Way too late at that point. It's already copied your top zecret data to the NSA.

Re: acer aspire one D270

2012-05-04 Thread Ted Unangst
On Fri, May 04, 2012 at 12:33, Weldon Goree wrote: On Fri, 2012-05-04 at 07:37 +0100, Laurence Rochfort wrote: I wouldn't recommend the iwn(4) devices. I've had a bad experience even with those in the man page. YMMV; I've had good results with the 4965 AGN. Of note: NetBSD 6 (in beta) has a

Re: File descriptor - name?

2012-05-04 Thread Ted Unangst
On Sat, May 05, 2012 at 00:14, Alan Corey wrote: Is there a way to get the name of a file that's open when all you've got is a file descriptor? I'm working on porting something, that I didn't write. with directories full of source. I'm seeing a problem with an ioctl being the wrong type,

Re: Security Patch Announcements

2012-05-02 Thread Ted Unangst
On Wed, May 02, 2012 at 11:44, Martin SchrC6der wrote: 2012/5/2 Sebastian Reitenbach sebas...@l00-bugdead-prods.de: On Tuesday, May 1, 2012 18:36 CEST, Martin SchrC6der mar...@oneiros.de wrote: But citing the 5.1 Announce E-Mail: ... Security patch announcements are sent to the

Re: Sandybridge will not poweroff

2012-04-28 Thread Ted Unangst
On Sat, Apr 28, 2012 at 12:35, patrick keshishian wrote: right. i suppose, what I really meant was, based on the dmesg from OP, how does one determine sandybridge-ness? (my eyeballs didn't catch any obvious references). Or does one need to read the manufacturer's marketing docs to know?

Re: Why does the ports system delete distfiles?

2012-04-26 Thread Ted Unangst
On Thu, Apr 26, 2012 at 07:33, Alexander Hall wrote: Alan Corey ab...@devio.us wrote: I've seen this before, I wonder if there's some environment variable I can set to stop it? I try make fetch on a port, it fails due to a bad site. I hit Ctrl-C to stop it, it goes to the next site and

Re: SETUID perl script leaves backdoor open after dropping privileges

2012-04-25 Thread Ted Unangst
On Wed, Apr 25, 2012 at 07:15, Christopher Zimmermann wrote: As requested, here's the same test case a little more readable: This leaves a backdoor open (possibly in the saved UID): Yes, if you don't clear the saved uid, you can still switch back to it. You should use setresuid if it's

Re: ksh and # in the command line

2012-04-24 Thread Ted Unangst
On Tue, Apr 24, 2012 at 14:25, frantisek holop wrote: hi there, how can i make ksh leave the '#' alone in the url i am passing as a parameter? Put it in quotes. $ echo url#anchor url#anchor $ curl -v http://example.com/test#1; GET /test HTTP/1.1 ^

Re: ksh and # in the command line

2012-04-24 Thread Ted Unangst
On Tue, Apr 24, 2012 at 16:07, Louis V. Lambrecht wrote: Be cautious when citing examples on a list :-) louis@athlon ~ $ whois example.com What's your point? RFC 2606 specifically reserves example.com for example purposes.

Re: all freezes when I move windows in twm

2012-04-18 Thread Ted Unangst
On Wed, Apr 18, 2012 at 12:07, Gleydson Soares wrote: On Wed, Apr 18, 2012 at 06:29:46PM +0400, Alexei Malinin wrote: At a time when I listen to music on the xmms and simultaneously begin to move any X window, the sound stops. The sound resumes after finishing of moving of the window . try

Re: OpenBSD 5.1 SSD

2012-04-14 Thread Ted Unangst
On Sat, Apr 14, 2012, Laurence Rochfort wrote: Hi, I'm considering purchasing a domestic SSD for my laptop. Does OpenBSD 5.1 support SSDs and the TRIM command if needed? It supports SSD drives like any other drive, but no special features. Specifically, there's no TRIM support.

Re: rfork(2) considered harmful? [Re: CVS: cvs.openbsd.org: src]

2012-04-12 Thread Ted Unangst
On Thu, Apr 12, 2012, Mo Libden wrote: Wow. If memory serves, rfork() availability was a feature. Now it is gone... Any reasons to share please? It allowed creation of interesting types of processes, awesome flexibility regarding share of memory space and/or file handle tables. rthreads

Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated

2012-04-09 Thread Ted Unangst
On Mon, Apr 09, 2012, Andres Perera wrote: if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you there are no

Re: sending hex string to /dev/ttyU1

2012-04-08 Thread Ted Unangst
On Sun, Apr 08, 2012, edasky wrote: rs232 -d /dev/ttyUSB1-s'\h 2A 61 00 06 88 01 20 87 3E \r -r8 -hex Now I need to achieve the same result under OpenBSD (5.0) Anybody got an idea how to send such a hex string in /dev/ttyU1 ? Maybe something like perl -e 'print \x2a\x61\x00\x88' /dev/ttyU1

Re: Havege entropy gathering

2012-04-06 Thread Ted Unangst
On Fri, Apr 06, 2012, Kevin Chadwick wrote: I was looking at this entropy gatherer (havege) and was wondering if OpenBSD uses any similar techniques? www.irisa.fr/caps/projects/hipsor/ No. We don't think limiting entropy to being used as a seed for a random number generator is a limitation.

Re: Is nginx to complement or replace apache?

2012-04-03 Thread Ted Unangst
On Tue, Apr 03, 2012, C)C CC C;C CC CC C wrote: nginx is great piece of software, but it doesn't do CGI, how users will run bgplg, for example ? There's about a dozen different ways to make cgi scripts work with nginx.

Re: openbsd / ipsec / hardware

2012-04-02 Thread Ted Unangst
On Mon, Apr 02, 2012, Stuart Henderson wrote: i'm using a simple scp of a 100MB file. scp reports its transmission speed. and i'm comparing the same transmission of the same file between the same two hosts with and without vpn encryption. it may not be the best or most accurate measurement,

Re: Is nginx to complement or replace apache?

2012-03-29 Thread Ted Unangst
On Thu, Mar 29, 2012, Andres Perera wrote: Maybe you could also close some of those 999 keep-alive sessions and pre-load sessions you have open and retry. Seriously why does a webbrowser need 1024 file descriptors to be open at the same time? Are you concurrently reading 500 homepages? you

Re: udevadm equivalent

2012-03-28 Thread Ted Unangst
On Wed, Mar 28, 2012, Beavis wrote: hi, is there an equivalent to udevadm in OpenBSD or BSD in particular? hotplugd maybe.

Re: Performance issues

2012-03-25 Thread Ted Unangst
On Sun, Mar 25, 2012, Jay Hart wrote: 1. Unless I disable acpi (see dmesg), box freezes at 'acpiec0 at acpi0' What about just disabling acpiec?

Re: Performance issues

2012-03-25 Thread Ted Unangst
On Sun, Mar 25, 2012, Jay Hart wrote: On Sun, Mar 25, 2012, Jay Hart wrote: 1. Unless I disable acpi (see dmesg), box freezes at 'acpiec0 at acpi0' What about just disabling acpiec? You're a GENIUS, that was it! ;') How do I make that stick reboot to reboot? Assume I need to

Re: ctrl+alt+backspace bypasses xlock and allows terminal access

2012-03-23 Thread Ted Unangst
On Sat, Mar 24, 2012, Brett wrote: On Sat, 24 Mar 2012 02:43:53 +0100 Henning Brauer lists-open...@bsws.de wrote: how exactly is preventing yourself from killing your own X server increasing security again? By stopping anyone wandering by my desk (or the cat) from pressing a few buttons

Re: using access(2)

2012-03-23 Thread Ted Unangst
On Fri, Mar 23, 2012, Jan Stary wrote: However, access() is used in test(1): Is this a problem? It is not possible to close the race between when test sees a file and when the parent process sees test's exit code. Write your shell scripts with caution.

Re: ramdisk overflow during make release with -current on amd64

2012-03-15 Thread Ted Unangst
On Thu, Mar 15, 2012, Olivier Cochard-LabbC) wrote: I can't do a make release with up-to-date -current code (just synchronized) with default value (no personnal hack/patch). amd64/ramdiskA kernel seems too big for the floppy image, here is an extract of my log file: It should be fixed now.

Re: Strange sshd + /etc/nologin behaviour

2012-03-14 Thread Ted Unangst
On Sun, Mar 11, 2012, AndrC) S. wrote: why are the /etc/nologin contents not printed (neither to root nor to test) when PermitRootLogin is no? this is a bug. pr6641 to be exact.

Re: posix_spawn(3)

2012-03-12 Thread Ted Unangst
On Mon, Mar 12, 2012, Mo Libden wrote: 10 PP0QQP0 2012, 06:28 PQ Ted Unangst t...@tedunangst.com: On Fri, Mar 09, 2012, Frank Denis wrote: Hi Matthew, Good catch. I'm going to fix that. On Mar 9, 2012, at 10:54 AM, Matthew Dempsky matt...@dempsky.org wrote: I briefly looked over

Re: Which automake and autoconfig versions to compile NTOP v4?

2012-03-11 Thread Ted Unangst
On Sun, Mar 11, 2012, Kaya Saman wrote: try: automake --version autoconf --version The messages should be self-explanatory if you didn't define certain environment variables, e.g., I have this in my environment: automake --version autoconf --version come up with this #

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-08 Thread Ted Unangst
On Thu, Mar 08, 2012, Kenneth R Westerback wrote: On Thu, Mar 08, 2012 at 04:40:47PM -0700, Barry Grumbine wrote: Available disks are: sd0 sd1 sd2 Which one is the root disk? (or 'done') [sd0] At this point I usually say oh crap, hit ^c, and go read the dmesg or `disklabel sd1` to make sure

Re: openbsd 5.0 lifebook p1110 kernal panic on suspend/standby

2012-03-07 Thread Ted Unangst
As a short term workaround, type -c at the boot prompt, then disable cbb at the next prompt, then quit, and see what happens. On Wed, Mar 07, 2012, Kendall Shaw wrote: Kendall Shaw ks...@kendallshaw.com writes: Hi, I have a lifebook p1110 which causes a kernel panic related to APM, I

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-07 Thread Ted Unangst
On Wed, Mar 07, 2012, Nick Holland wrote: On 03/07/12 18:32, Marc Espie wrote: On Wed, Mar 07, 2012 at 10:10:12AM -0500, Nick Holland wrote: yes, scrollback is something that was sacrificed on the installer to keep it able to fit on a floppy (contrary to another contribution to this thread).

Re: pgt firmware ...

2012-02-26 Thread Ted Unangst
On Sun, Feb 26, 2012, David Walker wrote: Hi. I'm trying to do: pkg_add http://firmware.openbsd.olg/firmware/pgt-firmware-1.2.tgz The correct url is openbsd.ORG.

Re: 5.0 Stable (amd64) build appears broken.

2012-02-20 Thread Ted Unangst
you are running config from a different version than the source you are trying to compile. On Mon, Feb 20, 2012, Duncan Patton a Campbell wrote: arrrgh. hit the send b4 that was finished, anyways I install 5.0 AMD64 base.. # uname -a OpenBSD jimg.indx.ca 5.0 GENERIC.MP#63 amd64 then

Re: 5.0 Stable (amd64) build appears broken.

2012-02-20 Thread Ted Unangst
On Mon, Feb 20, 2012, Duncan Patton a Campbell wrote: On Mon, 20 Feb 2012 10:05:19 -0500 Ted Unangst t...@tedunangst.com wrote: you are running config from a different version than the source you are trying to compile. Ok, but if I've started with 5.0 Release, how do I get 5.0 Stable's

Re: ALIX segfaulting on current/i386

2012-02-19 Thread Ted Unangst
On Sun, Feb 19, 2012, Jan Stary wrote: If it so happens that there is not enough memory for some running process (a situaion I cannot rule out now), and there is no swap to deal with this, is that a reason for a process to be coredumped? (I think that I have seen processes just die with

Re: xlock segfault only with certain users

2012-02-19 Thread Ted Unangst
On Sun, Feb 19, 2012, Chris Bennett wrote: I am running snapshot from right before ports unlock on i386. I can use xlock just fine, however when another user logs in, it segfaults saying need to relink program. Actually, it says you need to relink it, then it segfaults some time after. The

L2TP/IPSEC with 4.9 and Ipad - fails to complete

2012-02-10 Thread Ted Wynnychenko
anything that may be of use. It seems to me the problem lies in the L2TP exchange; but I have no idea how to approach this. I have searched on the web for the last few days, and have avoided being hit by the clue stick. Thanks for any suggestions. Bye - ted

Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Ted Unangst
On Tue, Feb 07, 2012, Alan Cheng wrote: 2. what is the disadvantage of using a disklabel partition without fdisk partition in above mentioned scenario? your disk is now unlike 99.9% of the disks everybody else uses.

Re: FR: Make it possible to turn off untrusted users ability to read cmdline arguments of processes they don't own

2012-02-02 Thread Ted Unangst
On Thu, Feb 02, 2012, Paul Dejean wrote: I'll start working on a patch (even though it'll take me forever) if I can be confident it wouldn't be vetoed because people don't like the concept. It shouldn't take long at all. You are looking for the sysctl_proc_args function in

Re: mg name origin

2012-01-16 Thread Ted Unangst
I don't think the name of the program ever changed. (Who would want to type MircoGNUEmacs every time you edit a file?) mg used to be an acronym, now it officially means nothing. On Mon, Jan 16, 2012, Mark Lumsden wrote: Anyone know the history behind mg being called mg? THis in the mg

Scannedonly (for samba vfs) make fails - pthread_spinlock_t definition missing(?) in libpthread

2012-01-15 Thread Ted Wynnychenko
in advance for any advice. Bye - ted

Re: claimed 5.0 problems on sparc64 (was Re: Upgrading AMD64 4.9-stable to 5.0)

2012-01-13 Thread Ted Unangst
Incorrect. On Fri, Jan 13, 2012, Richard Thornton wrote: keeps looking for library c.60.1 which does not exist in a vanilla 5.0 install. On Mon, Dec 19, 2011 at 10:38 PM, Nick Holland n...@holland-consulting.netwrote: On 12/19/11 14:39, Stuart Henderson wrote: On 2011-12-19,

Re: Disk blocking and unacceptable wait times with Areca ARC 1210

2012-01-11 Thread Ted Unangst
On Wed, Jan 11, 2012, Chris Cappuccio wrote: If only one disk is affected at a time, 5.0 is the fastest, and has the most trouble with responsiveness while being fast, this is likely to be improved by a fair I/O scheduler. There is a generic framework in place now for schedulers to get

Re: locate weirdness

2012-01-11 Thread Ted Unangst
On Wed, Jan 11, 2012, L. V. Lammert wrote: At 01:30 PM 1/11/2012, Jeremy O'Brien wrote: 4.3 was released May 1, 2008. That's almost 4 years old software. What are you expecting here? Someone to check out the code from that version and deeply inspect what may be causing your problem, that is

Re: Ted Unangst Static Source Code Analysis

2012-01-08 Thread Ted Unangst
On Sat, Jan 07, 2012, Lars wrote: What tools are used in OpenBSD for static source code analysis? I guess Lint is considered one tool? Do you, Ted, use other tools than Lint? This post is not just meant to be sent for Ted, of course anyone else could reply if they know about source code

Re: bc4318

2012-01-05 Thread Ted Unangst
On Fri, Jan 06, 2012, Tomas Bodzar wrote: On Thu, Jan 5, 2012 at 10:00 PM, Nikolas Slivka damagec...@freemail.hu wrote: Welcome! Where i can find information about BC4318 wifi card is working under OpenBSD 5.0? Read first (last) log on this page

Re: Where to buy Lemote FuLoong MIPS boxes?

2011-12-15 Thread Ted Unangst
On Thu, Dec 15, 2011, Richard Thornton wrote: Fritz Wuehler wrote: Am I missing something here? fucking(blowjob(*p)) ? not really, fritz's past constributions haven't been particularly worthwhile either.

Re: Mounting big FAT filesystems

2011-11-28 Thread Ted Unangst
On Mon, Nov 28, 2011, sc...@web.de wrote: Well, after reading Trouble with large files in current snapshot, I would like to ask something different: it is true that FAT filesystems of more than 120GB cannot be mounted? Will this change? Not that I'm aware of.

Re: Mounting big FAT filesystems

2011-11-28 Thread Ted Unangst
I remember when microsoft released windows 2000 and said that 32GB was the limit and to move to ntfs. I was already using an 80GB drive and the windows 95 manual also contradicted the claims. Windows will not create FAT filesystems larger than 32GB, so in that sense that is the limit. It will

Re: Trouble with large files in current snapshot

2011-11-27 Thread Ted Unangst
On Sun, Nov 27, 2011, Pieter Verberne wrote: On Sun, 27 Nov 2011 12:21:49 +0100, pet...@schwertfisch.de wrote: After upgrading to current (snapshot from Nov. 25) OpenBSD seems to be choking on large (2GB) files (tested with GENERIC.MP and GENERIC): Was it this change?

Re: Single Stepping Process in Kernel

2011-11-26 Thread Ted Unangst
On Sat, Nov 26, 2011, Luis Useche wrote: For a project I need to single step a user space process while executing the fault handler. I was thinking that probably ddb single stepping can be reused but this is probably for kernel single stepping only. How about ptrace? I am officially confused

Re: makewhatis on /usr

2011-11-19 Thread Ted Unangst
On Sat, Nov 19, 2011, Carson Chittom wrote: Thomas de Grivel tho...@lowh.net writes: Hi, From weekly output : Rebuilding whatis databases: /usr/libexec/makewhatis: Can't create /usr/share/man/whatis.db: Read-only file system Should not whatis.db be in /var/... ? From hier(7) : /usr/

snort and pf - pflog vs if

2011-11-13 Thread Ted Wynnychenko
will need to check my pf.conf, although when I scan myself the only port open to the internet is ssh, everything else is silently dropped (which is as it should be). Thanks for any clarification. Bye - ted

Re: systat colors?

2011-11-10 Thread Ted Unangst
On Thu, Nov 10, 2011, Joe wrote: Has anyone already modified systat to support colored text? No, nor will they. colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.)

Re: C question

2011-11-09 Thread Ted Unangst
On Thu, Nov 10, 2011, Doug Brewer wrote: I have the following lines in C: struct foo *bar[10]; If I want to clear out that structure, should I use memset(bar, 0, sizeof(bar)); or memset(bar, 0, sizeof(*bar)); Your question is quite ambiguous as to that structure. There are

Re: libc/regcomp vulnerable?

2011-11-04 Thread Ted Unangst
On Fri, Nov 04, 2011, Johan Ryberg wrote: Hi Just read this: http://securityreason.com/achievement_securityalert/102 Claiming that OpenBSD 5.0 is affected Is it? Red Hat does not consider crash of client application, using regcomp() or regexec() routines on untrusted input without

Re: man page sources?

2011-10-23 Thread Ted Unangst
On Mon, Oct 24, 2011, Douglas Ray wrote: If I get anywhere useful, might there be any interest in posting a manman49.tgz on ftp.openbsd.org? ... a small addendum, for those of us bitten by OpenBSD 4.9's little excursion from BSD habit? No, the man sources are already in the source tree. Is

Re: Building ramdisk (was trees, 3rd time's a charm (ok+tests) )

2011-10-20 Thread Ted Unangst
On Thu, Oct 20, 2011, Brett wrote: vnconfig -v -c vnd0 mr.fs vnconfig: VNDIOCSET: Device busy *** Error code 1 Stop in /usr/src/distrib/macppc/ramdisk (line 77 of /usr/src/distrib/macppc/ramd isk/Makefile). Is there some more recent instructions floating around I could try? Did you

Re: Building ramdisk (was trees, 3rd time's a charm (ok+tests) )

2011-10-20 Thread Ted Unangst
On Fri, Oct 21, 2011, Brett wrote: Ted Unangst asked if I was using vnd0 (which shows in the error message). As far as I know I am not, it does not show up in the boot dmesg and I did not configure it myself. I assumed this was something used in the ramdisk compiling process. Well, it's busy

Re: The OpenBSD user community needs to shake things up

2011-10-10 Thread Ted Unangst
On Mon, Oct 10, 2011, Alexey E. Suslikov wrote: Marc Espie espie at nerim.net writes: Don't blame the tools. Blame the *people* who don't test. I wonder why jasper@ went to github if mailing lists are good enough. ports and base are different enough I don't think we should immediately

Re: Apache Killer - Does it affect OpenBSD's patched version of Apache?

2011-08-30 Thread Ted Unangst
On Tue, Aug 30, 2011, frantisek holop wrote: it's not like there are no reasonable alternatives. nginx for example has a nice security record and a 2 clause bsd license. but as it's in the ports i personally dont care if it's in base or ports. sendmail and apache are really the only

Re: Group ownership of files at creation time

2011-08-16 Thread Ted Unangst
On Tue, Aug 16, 2011, Stefan Johnson wrote: On most of the unix / unix-like systems I support, this behavior would be different. The file would be created with user_a:group_a (since group_a is the primary group.) This is true on AIX, Solaris, Linux, and HP-UX per my testing earlier today.

Re: Utility to decompress gz files, when gunzip says unrecognized file format

2011-08-10 Thread Ted Unangst
On Wed, Aug 10, 2011, Brett wrote: Hi, Occasionally when I download a file with gz extension, it fails to extract when I run: gunzip filename. eg I just downloaded a compressed gz document about make: ftp://ftp.netbsd.org/pub/NetBSD/misc/lite2-docs/psd/12.make.ps.gz $ gunzip

Re: hibernation with APM

2011-08-07 Thread Ted Unangst
On Sun, Aug 07, 2011, David Vasek wrote: Hi Marco. Thanks, but I'm not asking about suspend. apmd -z starts suspend, at least with my Thinkpad and Compaq, both with Phoenix APM BIOSes. Hibernation is sometimes called save to disk suspend, while suspend is then called save to RAM suspend.

Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-07 Thread Ted Unangst
On Mon, Aug 08, 2011, Michael Treibton wrote: is there a cleverer way of doing this? i just do not have the infrastructure here to attempt a serial capture, despite the well-documented instructions in the OBSD docs. i can get the output you want, although because the installer doesn't have

Re: fat32 interoperatibility issue

2011-08-01 Thread Ted Unangst
On Mon, Aug 01, 2011, Daniel Gracia wrote: Hit an interoperatibility issue today: fat32 stack on OBSD would allow to create illegal file entries for Micro$oft machines, like: CON Is this on purpose, or do you feel like applying a patch to throw an error on these cases? The special

Re: very slow writes with softdep enabled on mpi(4)

2011-07-29 Thread Ted Unangst
On Fri, Jul 29, 2011, Mattieu Baptiste wrote: After digging around this problem with help from Pedro, I noticed that a 4.9-release kernel works ok, whereas a 5.0-beta does not. So I tried to identify which commit was responsible and found out this one is responsible of *very* slow writes with

Re: uvm_mapent_alloc: out of static map entries (on a notebook)

2011-07-27 Thread Ted Unangst
On Wed, Jul 27, 2011, frantisek holop wrote: hi there, i have just noticed in /var/log/messages: Jul 26 21:57:59 hatvan /bsd: uvm_mapent_alloc: out of static map entries Jul 26 22:14:26 hatvan /bsd: uvm_mapent_alloc: out of static map entries Jul 26 22:26:38 hatvan /bsd: uvm_mapent_alloc:

Re: Debugging an app running in compat_linux

2011-07-26 Thread Ted Unangst
On Tue, Jul 26, 2011, jirib wrote: I'm trying to make running ATTclient (basically it is some programs for authentication, the network [vpn] setup is similar to vpnc). After I start one of its daemon the system is completelly blocked - stucked. No error, no kernel panic, nothing happens

Re: Bug Tracking system does not work

2011-07-19 Thread Ted Unangst
On Tue, Jul 19, 2011, Paul Suh wrote: On Jul 18, 2011, at 6:24 PM, Ted Unangst wrote: On Mon, Jul 18, 2011, Sergey Bronnikov wrote: may be proper link is http://www.openbsd.org/query-pr.html The bug tracker is down and will still that way for some time. Ted, Is there something that we

Re: Bug Tracking system does not work

2011-07-19 Thread Ted Unangst
On Tue, Jul 19, 2011, STeve Andre' wrote: On 07/19/11 12:27, Ted Unangst wrote: On Tue, Jul 19, 2011, Paul Suh wrote: On Jul 18, 2011, at 6:24 PM, Ted Unangst wrote: On Mon, Jul 18, 2011, Sergey Bronnikov wrote: may be proper link is http://www.openbsd.org/query-pr.html The bug tracker

Re: Bug Tracking system does not work

2011-07-18 Thread Ted Unangst
On Mon, Jul 18, 2011, Sergey Bronnikov wrote: may be proper link is http://www.openbsd.org/query-pr.html The bug tracker is down and will still that way for some time. On 17:28 Mon 18 Jul , ciscoad...@mail.ru wrote: Hello. Today I tried to search in the Bug Tracking system but got: Not

new rc.d scripts

2011-07-15 Thread Ted Unangst
When upgrading to a new snapshot with the rc.d system, how is the rc.d directory supposed to be populated? I ran sysmerge and got an /etc/rc that called these scripts, but no actual scripts. Is sysmerge supposed to install them? It didn't.

Re: Panic On 29 May 2011 and 10 July 2011 i386 bsd.mp -current

2011-07-12 Thread Ted Unangst
On Tue, Jul 12, 2011, k...@servihoo.net wrote: For what good reason should ipmi be disabled? is not working a good reason?

Re: Raid configuration question

2011-07-07 Thread Ted Unangst
On Thu, Jul 07, 2011, Zeb Packard wrote: So, i've setup a file server with softraid rather than the older raidframe, however on the new system I tried setting my sd*b partitions to a raid 0 configuration so the swap space runs a little faster. After getting the swap space setup, though dmesg

Re: pf ALTQ bandwidth limited to a 32bit value (4294Mb)

2011-07-06 Thread Ted Unangst
On Wed, Jul 06, 2011, Peter N. M. Hansteen wrote: Calomel Org infallibilismindefeasibil...@calomel.org writes: more scarce. In the slightly longer term, I'm sure a verified bug report (with patches against -current code if feasible) would be much appreciated. I would postpone making any

Re: adding Journaled File System (JFS)

2011-07-04 Thread Ted Unangst
On Mon, Jul 04, 2011, joshua stein wrote: ok, so... how can do it in such a way it can go into the tree? should I re-implement JFS? maybe look into SU+J? http://www.mckusick.com/BSDCan/bsdcan2010.pdf http://www.youtube.com/watch?v=_NuhRkiInvA

Re: em0: watchdog timeout with -current

2011-07-03 Thread Ted Unangst
On Sun, Jul 03, 2011, Chris Smith wrote: On Sun, Jul 3, 2011 at 8:41 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: Then tell us which it is. B You've got the hardware. A bit above my current skill set. But I'll see what docs I can find to assist in the task. You can't backout one change

Re: splassert: assertwaitok: want -1 have 1 (bnx)

2011-06-30 Thread Ted Unangst
On Thu, Jun 30, 2011, Tom Murphy wrote: With the above patch, the splasserts go away. However, the device still goes into a weird stats where it says it's active but no interrupts are generated. When I run ifconfig bnx0 down; ifconfig bnx0 up, it comes back fine for a while, but goes down

Re: Audio stutters badly on IBM Thinkpad T22 (CS4280, clcs(4) driver) with OpenBSD 4.9-stable

2011-06-29 Thread Ted Unangst
On Wed, 29 Jun 2011, Rares Aioanei wrote: I have an audio biggie with my old laptop, which can't seem to play audio (mp3,ogg) or video (the sound part) (flv) with mplayer , mpg321 , xmms or mp3blaster. The sound is choppy, all I get is noise. From what I've read (google) there were some

Re: splassert: assertwaitok: want -1 have 1 (bnx)

2011-06-29 Thread Ted Unangst
On Wed, 29 Jun 2011, Tom Murphy wrote: /bsd: bnx0: Watchdog timeout occurred, resetting! /bsd: splassert: assertwaitok: want -1 have 1 /bsd: Starting stack trace... /bsd: assertwaitok() at assertwaitok+0x1c /bsd: pool_get() at pool_get+0x95 /bsd: bnx_alloc_pkts() at bnx_alloc_pkts+0x31

Re: splassert: assertwaitok: want -1 have 1 (bnx)

2011-06-29 Thread Ted Unangst
On Thu, 30 Jun 2011, David Gwynne wrote: This driver is filled with bad juju. This changes all the waitoks to not ok, so they are interrupt safe. It already appears to handle the failure case. The rwlock is also totally unsafe and unnecessary. the issue is that bnx_init is called

Re: Dan King invited you to join him on Google+

2011-06-29 Thread Ted Unangst
On Thu, 30 Jun 2011, Google+ wrote: Dan King is using Google+ and invited you to join. well that didn't take long...

Re: parameter scope in bourne vs ksh functions

2011-06-27 Thread Ted Unangst
On Mon, Jun 27, 2011 at 11:00 AM, Christopher Zimmermann madro...@zakweb.de wrote: Hi, ksh(1) states this: Functions defined with the function reserved word are treated differently in the following ways from functions defined with the () notation: [...] o Parameter assignments

Re: parameter scope in bourne vs ksh functions

2011-06-27 Thread Ted Unangst
On Mon, Jun 27, 2011 at 2:44 PM, Christopher Zimmermann madro...@zakweb.de wrote: Ok, I got it. But wtf? Thats creepy! Is there any rationale behind this strange bourne behaviour?!? I would guess historical accident or some quirk of the implementation. Then once it was discovered, it became

Re: OpenBSD's choosing of a boot device -- scd

2011-06-26 Thread Ted Unangst
2011/6/26 Fridiric Perrin f...@resel.fr: I'm currently toying with OpenBSD's boot process. I see in arch/i386/stand//libsa/dev_i386.c:bdevs that one can boot from a an scd device. However, `apropos scd' doesn't tell me anything --I would have expected an scd(4), similar to wd(4) or sd(4).

Re: nroff

2011-06-22 Thread Ted Unangst
pkg_add groff On Wed, Jun 22, 2011 at 10:52 AM, Friedrich Locke friedrich.lo...@gmail.com wrote: Hi folks, i have installed openbsd 4.9 and i am trying to compile ucspi-tcp-0.88 with a ssl patch, but the compilation process fails due to not finding a program called nroff. Previous version

Re: Can command-line options be specified in any place?

2011-06-22 Thread Ted Unangst
On Wed, Jun 22, 2011 at 7:49 AM, Tobias Ulmer tobi...@tmux.org wrote: tl;dr: In my opinion, these anti Linux rants do harm to OpenBSD by condemning everything Linux does instead of allowing us to pick out just the good parts. Don't worry, the ranters and the pickers aren't the same people.

Re: USB disks softraid bioctl auto mounting Q

2011-06-21 Thread Ted Unangst
On Tue, Jun 21, 2011 at 5:39 AM, keith ke...@scott-land.net wrote: Disk works fine. But if I reboot we need to issue the 'bioctl' line again and I am not sure how to do this. Same command as the first time. Put it in /etc/rc or /etc/rc.local or somewhere convenient.

Re: current: high interrupts on a macbook

2011-06-18 Thread Ted Roby
On Sat, Jun 18, 2011 at 12:00 AM, Amit Kulkarni amitk...@gmail.com wrote: Try a more recent snap, various things related to interrupt handling have been volatile these days. compile from source and report back to list then, or wait for a ...new snapshot. I can verify high interrupts

Re: cdio(1) ejecting a mounted device

2011-06-18 Thread Ted Unangst
On Sat, Jun 18, 2011 at 8:56 AM, Jan Stary h...@stare.cz wrote: However, somebody somehow remembers the pending eject, and once the device is unmounted, the CD ejects. # umount /mnt # CD ejects Is this expected? Is it documented? The manpage doesn't mention this (cool) behaviour, and

<    3   4   5   6   7   8   9   10   11   12   >