Re: dovecot 4.1 port won't fork

2007-07-07 Thread Philip Guenther
. If you want to see what the child is doing after the fork then you'll need to pass ktrace the -i option so that the child inherit the tracing. Philip Guenther

Re: mutt, getmail procmail

2007-07-13 Thread Philip Guenther
is that procmail is writing stuff to its stderr. That's occurring because you set VERBOSE to on before you set LOGFILE. Either remove the assignment to VERBOSE or move it to after the LOGFILE assignment (or move the LOGFILE assignment to before the VERBOSE assignement, of course). Philip

Re: mutt, getmail procmail

2007-07-14 Thread Philip Guenther
On 7/13/07, Woodchuck [EMAIL PROTECTED] wrote: On Fri, 13 Jul 2007, Philip Guenther wrote: ... Why do people think that hardcoding the paths to normal programs is a good thing? Why not just say formail and let the shell do the work? Sometimes users do nutty things with aliases

Re: modifying mfs configuration

2007-09-16 Thread Philip Guenther
corresponding file system. ... So, kill 9659 should work too, as that's the daemon's pid in the mfs:9659 that is reported as the device for the mount. Philip Guenther

Re: Saving memory on small machines

2007-03-23 Thread Philip Guenther
and symbol tables work. Philip Guenther

Re: waitpid() thread race

2007-04-07 Thread Philip Guenther
(); } } Your fork() code should call sigprocmask(SIG_SETMASK, orig_sigset, NULL); in the _child_, and if it isn't calling an exec-family function then it should also reset SIGCHLD to SIG_DFL to avoid possible conflicts with library calls. Make sense? Philip Guenther

Re: problem on setting up ntpd

2007-04-08 Thread Philip Guenther
, then check your PF rules to verify that the packets are being let through in both directions. Philip Guenther

Re: waitpid() thread race

2007-04-09 Thread Philip Guenther
with one child. Philip Guenther

Re: Excess arguments to dump:

2007-05-12 Thread Philip Guenther
}${dump_flags} ${device} | gzip -9' if [[ ! -z ${encryption} ]]; then cmd=${cmd}' | ${encryption} -pass file:${conf}.passwd -out' else cmd=${cmd} -o fi eval ${cmd} \${file} Philip Guenther

Re: Excess arguments to dump:

2007-05-12 Thread Philip Guenther
}' Philip Guenther

Re: Spamd default behaviour of accepting everything

2007-05-23 Thread Philip Guenther
Philip Guenther

Re: Spamd default behaviour of accepting everything

2007-05-24 Thread Philip Guenther
on the [EMAIL PROTECTED] mailing list; information on subscribing and the archive can be found at http://www.imc.org/ietf-smtp/ Philip Guenther

Re: french characters on imap server

2007-05-28 Thread Philip Guenther
or punctuation, or all characters? Philip Guenther

Re: Multicast sending error

2007-06-11 Thread Philip Guenther
for the multicast address range with the experienced result. Philip Guenther

Re: Multicast sending

2007-06-11 Thread Philip Guenther
using routing sockets. Indeed, an examination of sys_connect(), sys_bind(), and sys_sendto() show that they all use sockargs() to copy the supplied socket address into the kernel address space and that routine sets the sin_len member to the supplied length argument. Philip Guenther

Re: netstat question

2007-06-17 Thread Philip Guenther
reappears. Philip Guenther

Re: named X route monitor problem

2007-06-21 Thread Philip Guenther
. Indeed, that may completely solve your issue. Oh, and you should consider passing 'route monitor' the -n option to suppress address-name lookups. When you're looking at local routing info, the numbers usually are more helpful, in my experience. Philip Guenther

Re: LC_COLLATE and PostgreSQL

2007-06-24 Thread Philip Guenther
English Seemed fine to me: I had no problem understanding what you were doing and what wasn't working as you expected. Indeed, you provided better information than some native speakers posting queries here. Philip Guenther

Re: can not install binaries with pkg_add

2007-07-02 Thread Philip Guenther
ENV when in interactive mode. (The POSIX/SUS spec mandates the new behavior.) For now, I recommend placing the following at the top of your $ENV file: case $- in *i*) ;; *) return;; esac (I.e., if not in interactive mode, stop processing this file) Philip Guenther

Re: getopt(3) differences OpenBSD/GNU

2008-01-16 Thread Philip Guenther
on OpenBSD? Since make it work would involve violating the POSIX standard, the answer is you can't. The real solution is to generate portable command invocations by passing options before operands. Philip Guenther

Re: getopt(3) differences OpenBSD/GNU

2008-01-17 Thread Philip Guenther
to have them put the option before the operands? There's no good reason for a script or program to put options after operands. Indeed, the script or program will fail on Linux system too (if the user sets POSIXLY_CORRECT). Philip Guenther

Re: Error in softraid documentation?

2008-01-28 Thread Philip Guenther
On Jan 26, 2008 7:11 PM, Matthew Szudzik [EMAIL PROTECTED] wrote: ... Of course, not every version of echo interprets \n as a newline. In fact, /bin/echo treats \n as a literal backslash followed by a literal n. The version of echo that is built into csh also interprets it as a literal

Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-05 Thread Philip Guenther
over 4GB in size, but strace/ktrace show that it uses the Linux fstat64() call, etc. (Hmm, do the compat_linux versions of the 32bit-only syscalls return EOVERFLOW like the Linux ones would on files 2GB? I don't _see_ code to check that...) Philip Guenther

Re: Java : Cafe Babe...

2008-02-10 Thread Philip Guenther
could fix it? Step 1: learn to question your assumptions... Philip Guenther

Re: Compile bind on 4.2 fails - no acceptable grep in path

2008-03-07 Thread Philip Guenther
suppose you could try inserting a set -x into the configure script right before where it does the grep testing, but that's secondary to the above. Philip Guenther

Re: Problems with socket created before fork() in multi-threaded application

2008-03-20 Thread Philip Guenther
found that calling non-async-signal-safe functions after fork() can cause problems on FreeBSD [2], is the situation the same on OpenBSD? Yes. The program is non-conformant. Philip Guenther

Re: Problems with socket created before fork() in multi-threaded application

2008-03-21 Thread Philip Guenther
On Fri, Mar 21, 2008 at 1:44 AM, Tvrvk Edwin [EMAIL PROTECTED] wrote: Philip Guenther wrote: On Thu, Mar 20, 2008 at 3:01 PM, Tvrvk Edwin [EMAIL PROTECTED] wrote: ClamAV has changed to call fork() after creating its local socket. This causes weird behaviours when communicating

Re: Problems with socket created before fork() in multi-threaded application

2008-03-22 Thread Philip Guenther
On Fri, Mar 21, 2008 at 8:57 AM, Kurt Miller [EMAIL PROTECTED] wrote: On Friday 21 March 2008 10:47:27 am Kurt Miller wrote: On Friday 21 March 2008 6:25:59 am Philip Guenther wrote: ... As a gross kludge, I think things would work if you added the following to the code called

Re: Sendmail on hosts without a real Internet hostname?

2008-05-01 Thread Philip Guenther
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to openbsd-localhost.mc and the following line to /etc/mail/genericstable [EMAIL PROTECTED][EMAIL PROTECTED] You probably also need GENERICS_DOMAIN(`alicia.himmet')dnl Philip Guenther

Re: -current and rthreads

2008-05-02 Thread Philip Guenther
*exactly* did you name the librthread symlink? What version of OpenBSD were the threaded programs built against? Philip Guenther (I use rthreads myself for a few programs, though I had to patch a number of bugs in the kernel support and librthread to make it stable and there are still issues when

Re: -current and rthreads

2008-05-02 Thread Philip Guenther
the feedback on the patch has petered out, I suppose I should break it into logical chunks and send them to the tech list for piece-wise consideration.) Philip Guenther

Re: patch validation

2006-05-02 Thread Philip Guenther
that the binary you build might not have the same hash as one built on another system; the path of your build tree is included in the ELF bits of the binary, as may other pieces of information... Philip Guenther

Re: Double entries from syslog in 3.9?

2006-05-06 Thread Philip Guenther
in /var/empty won't be able to log. Philip Guenther

Re: bash vs. ksh

2006-05-10 Thread Philip Guenther
the sentence before it describes it as doing. Just because you _usually_ want the 21 after the doesn't mean you _always_ do. Philip Guenther

Re: vlan router problems

2006-05-16 Thread Philip Guenther
such a configuration option, but man was it frustrating trying to figure out why it wasn't working. The doubly-connected device would only be able to see the first VLAN that it sent out on...) Philip Guenther

Re: xmms does not run smoothly

2006-05-18 Thread Philip Guenther
to work the xmms GUI...) Philip Guenther

Re: ld relocation error R_X86_64_32 from libc.a on amd64 building eclipse

2006-06-23 Thread Philip Guenther
somewhere in the build notes and/or Makefile. If it isn't documented but you find such a reason, be sure to write it down so that those who follow you don't scratch their heads like you are now... Philip Guenther

Re: binding ftpd

2006-07-03 Thread Philip Guenther
way, Jerry Rig it if you will. Run it from inetd using the IP:service syntax for the first field in the inetd.conf, ala: 10.0.0.1:ftpstream tcp nowait root /usr/libexec/ftpd ftpd -US c.f. inetd.conf(5) for details. Philip Guenther

Re: MD5

2006-07-06 Thread Philip Guenther
for the same file. Finding collisions for both MD5 and SHA-1 together is actually NP-complete and not just NP? That's an significant result that would affect the design of protocols using hashes. Do you have a citation for that? Philip Guenther

Re: X Windows freeze on reboot

2006-07-15 Thread Philip Guenther
contradictory. Also, you didn't say what changes you made to which config file. (It _sounds_ like it was the xorg.conf, but...) Did the same problem exist before you changed the config file? Philip Guenther

Re: sh and process management

2006-07-16 Thread Philip Guenther
cases. As is, my current guess is that you're misreading the 'ps' output and confusing the concepts of process-group leader and session leader. Philip Guenther

Re: sh and process management

2006-07-16 Thread Philip Guenther
. Philip Guenther

Re: OpenBSD's own compiler

2006-07-31 Thread Philip Guenther
to behave 'correctly' when optimization is off. Philip Guenther

Re: Compiler error during porting exercise

2006-08-15 Thread Philip Guenther
tree. Philip Guenther

Re: Why no compiler on prod system [Was: Re: How to update httpd without a compiller]

2006-08-24 Thread Philip Guenther
it mean they can't create spl01t and thereby exploit the machine? Of course not: removing the compiler does not prevent the creation of binary executables. So, does that count as mattering? Philip Guenther

Re: postgrey 1.27

2006-08-29 Thread Philip Guenther
. sigh Philip Guenther

Re: Low priority or real coders

2006-09-15 Thread Philip Guenther
a manager more interested in buzzwords than results. 'scuse me while I use 20 year old technology to get something done. Philip Guenther The trouble with doing something right the first time is that nobody appreciates how difficult it was. -- Walt West

Re: a question about errno

2006-09-30 Thread Philip Guenther
should prevent that. Philip Guenther

Re: Intel's Open Source Policy Doesn't Make Sense

2006-10-04 Thread Philip Guenther
happening, gives this pithy thought: This may or may not be what's going on: life is too short to spend debugging Intel parts so I really don't care to investigate further. That was 18 years ago and things don't seem to have changed... Philip Guenther

Re: the cvs repository doesn't obey the attic criterion

2006-10-12 Thread Philip Guenther
isn't dead on the trunk: cvs may skip it when checking out the trunk. However, it looks like that file (src/sbin/swapon/Attic/swapon.8,v) _should_ be dead and that the last commit shouldn't have been made at all. I suppose that's fixable with cvs admin -s. shrug Philip Guenther

Re: figuring out the local IP address of an interface

2006-10-24 Thread Philip Guenther
at getifaddrs() Btw, I strongly suggest you pick up a copy of UNIX Network Programming, volume 1 by Stevens. You should ignore the XTI stuff in the back, but the rest is Good Stuff. Philip Guenther

Re: OpenBSD AJAX

2006-10-25 Thread Philip Guenther
?, $hello, \, $hello, /a ...and if the answer is a href=/cgi/foo?%3CHello%32World%3Elt;Hello Worldgt;/a then try this: echo a href=\/cgi/foo?, $hello, \http://server/cgi/foo?;, $hello, /a and think about what the goal of that is... Philip Guenther

Re: Is there a deluser equivalent in OpenBSD?

2006-10-28 Thread Philip Guenther
in usermod: when run with the -G option it should set the user's secondary group list to include exactly the indicated groups. That's how usermod operates under Solaris and Linux and is the obvious way to provide the functionality, though it _is_ kind of klunky. Philip Guenther

Re: kern.nprocs not (closely) matching ps -ax |wc -l ??

2006-10-30 Thread Philip Guenther
On 10/30/06, Bill Marquette [EMAIL PROTECTED] wrote: I understand that the ps -ax would have spawned at least one more process (and a header) than the sysctl count, but I'm not seeing why sysctl is showing 11 more processes than ps does: Check out the -k option to ps. Philip Guenther

Re: % stdout?

2006-11-09 Thread Philip Guenther
of %s or switch to fputs()/puts(). (...though you have to reverse the order of the arguments when going from fprintf() to fputs()...) Philip Guenther

dlopen + LD_BIND_NOW [was: Re: ktrace interpretation]

2006-11-22 Thread Philip Guenther
? Philip Guenther

Re: NFS mounts in /etc/fstab

2006-12-02 Thread Philip Guenther
. As far as I can tell, if changing the mount point on the server to not include a space (or tab) isn't an option, then you'll have to mount it manually from /etc/rc.local. Philip Guenther

Re: Bug in ksh // Improvement for tar ?

2006-12-04 Thread Philip Guenther
names in a portable way, as opposed to GNU tar's non-portable extension for handling file names longer than 100 bytes. Philip Guenther

Re: rapidly rewriting a file causes filesystem to become full

2006-12-05 Thread Philip Guenther
of brute-force barrier on the reordering of operations... Philip Guenther

Re: Bug in ksh // Improvement for tar ?

2006-12-05 Thread Philip Guenther
suppressing? pax can't save files with names longer than 100 characters into 'ustar' or 'tar' format archives either. Philip Guenther

Re: Bug in ksh // Improvement for tar ?

2006-12-06 Thread Philip Guenther
On 12/6/06, Uwe Dippel [EMAIL PROTECTED] wrote: On Wed, 06 Dec 2006 00:40:15 -0700, Philip Guenther wrote: ... https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=show_archive.tplsource=Llistname=austin-group-lid=9010 Oh, thanks for an enlightening read, really. And what is the second

Re: mknod Invalid argument after upgrade.

2008-05-07 Thread Philip Guenther
you see with ls, all the way down to inode numbers and most timestamps? If any of those answer no, then you've been hacked. If not, however, you still don't know.) Philip Guenther

Re: Trouble with OpenBSD 4.2 DNS server setup

2008-05-07 Thread Philip Guenther
and tell them the names of your authoritative servers and their IP addresses so that they can add the necessary NS records to their zone, pointing at your servers. (The above contains some gross simplifications; go read the DNS nutshell book from O'Reilly for the full details.) Philip Guenther

Re: Trouble with OpenBSD 4.2 DNS server setup

2008-05-08 Thread Philip Guenther
at large in order to send and receive email. That is, your servers can and should refuse to answer a DNS query that asked for, for example, the address of www.openbsd.org. If you think otherwise, please cite references. Philip Guenther

Re: gmake error, please help :)

2008-05-08 Thread Philip Guenther
it from there would be the simplest way forward. Philip Guenther

Re: Decipering Understanding IP addressing

2008-05-21 Thread Philip Guenther
the network administrator will need to round up to 24 (or 16). 23 or 8 what? Bits? What are 23 and 8 alternatives of? 24 or 16 looks like alternative prefix lengths for class A or B networks, but I don't get 23 or 8. 2^3 = 8 2^4 = 16 Philip Guenther

Re: taskjuggler problems

2008-05-23 Thread Philip Guenther
mention libpthread.so.9.0 then the qt library wasn't built correctly. If this is indeed the case, I suppose it would be possible to work around by creating a stub libqt-mt.so.31.1 shared library that just has two dependencies: the real libqt-mt.so and libpthread.so... Philip Guenther

Re: taskjuggler problems

2008-05-23 Thread Philip Guenther
On Fri, May 23, 2008 at 12:54 AM, Philip Guenther [EMAIL PROTECTED] wrote: ... If this is indeed the case, I suppose it would be possible to work around by creating a stub libqt-mt.so.31.1 shared library that just has two dependencies: the real libqt-mt.so and libpthread.so... Duh

Re: taskjuggler problems

2008-05-23 Thread Philip Guenther
for suggesting they didn't build libqt-mt correctly. The long-term fix is for the taskjuggler port to patch its linking to include -pthread. Philip Guenther

Re: 4.3: netstat question

2008-06-13 Thread Philip Guenther
? The code will need to be changed to a) add a fudge factor to the size that was returned, and b) retry the pair of calls if the second returns ENOMEM I'll try to send you a patch this weekend. Philip Guenther

Re: 4.3: netstat question

2008-06-13 Thread Philip Guenther
@@ The length pointed to by .Fa oldlenp is too short to hold the requested value. +.It Bq Er ENOMEM +There isn't enough real memory available to pin the buffers specified by +.Fa oldp +and +.Fa newp +in the kernel. .It Bq Er ENOTDIR The .Fa name Philip Guenther

Re: pf.conf comment lines

2008-06-13 Thread Philip Guenther
occurs before backslash-newline removal: sh csh perl python awk /etc/sudoers /etc/ipsec.conf Languages and file-formats where backslash-newline removal occurs before comment removal: tcl C C++ getcap(3)-style files /etc/pf.conf Philip Guenther

Re: pf.conf comment lines

2008-06-14 Thread Philip Guenther
On Sat, Jun 14, 2008 at 8:58 AM, Sunnz [EMAIL PROTECTED] wrote: 2008/6/14 Philip Guenther [EMAIL PROTECTED]: Sadly, this varies among languages and file-formats. You just have to know how the one you're working in behaves. So, when in doubt, comment every line that needs to be comment out

Re: ssh-keygen not reading stdin as expected

2008-06-15 Thread Philip Guenther
, that's the way to accomplish your end goal. Philip Guenther

Re: [Perl/locales] Warning about locales

2008-06-15 Thread Philip Guenther
locales is still, IIRC, the recommended course. Philip Guenther

Re: [Perl/locales] Warning about locales

2008-06-16 Thread Philip Guenther
On Mon, Jun 16, 2008 at 7:00 AM, Hannah Schroeter [EMAIL PROTECTED] wrote: On Sun, Jun 15, 2008 at 03:26:05PM -0600, Philip Guenther wrote: ... I found a workaround: # ln -s /usr/share/locale/en_GB.ISO8859-1 /usr/share/locale/en_US.UTF-8 That seems like a really bad idea to me. UTF-8

Re: [Perl] can't delete packages with pkg_delete

2008-06-16 Thread Philip Guenther
/ttycom.ph (So something running as root removed a file that it shouldn't have.) Philip Guenther

Re: OpenBSD syslogd

2008-06-19 Thread Philip Guenther
On Thu, Jun 19, 2008 at 1:24 PM, Beavis [EMAIL PROTECTED] wrote: ... I did put a -u on my /etc/rc.conf syslogd_flags= -u -a /logserver If you have pf enabled, does your pf.conf let through UDP port 514 from the cisco? Philip Guenther

Re: Problem with booting

2008-06-20 Thread Philip Guenther
to give readable images, and then typed it all in. (Do not even _think_ of sending the images.) Philip Guenther

Re: default value for MALLOC_OPTIONS?

2008-06-28 Thread Philip Guenther
23 21:49 /etc/malloc.conf - FGJP $ If a program I don't have the time to debug has problems with that then I set MALLOC_OPTIONS=fgjp (or whatever is sufficient) for just that program. Philip Guenther

Re: Named and reverse zones help

2008-06-28 Thread Philip Guenther
. Philip Guenther

Re: default value for MALLOC_OPTIONS?

2008-06-28 Thread Philip Guenther
, and SUS specs don't require such behavior. Philip Guenther

Re: Squid - Privoxy - Tor

2008-06-28 Thread Philip Guenther
apparently ignored that. If you don't listen to what people say, they'll stop trying to talk to you... Anyway, you're probably better off asking your question in the forums for those specific packages. Philip Guenther (Not a privoxy or tor user)

Re: trouble talking to serial port

2008-07-07 Thread Philip Guenther
open on fd 3. How to access fd 3 from the script is up to you... Philip Guenther

Re: How to create more pseudo terminal ?

2008-07-07 Thread Philip Guenther
done Philip Guenther

Re: 4.2 and 4.3 BIND: masters_list does not work with masters option

2008-07-08 Thread Philip Guenther
: masters int_masters { 10.0.0.1; }; (The 'masters' statement was added in bind 9.4.0, IIRC) Philip Guenther

Re: sendmail STARTTLS

2008-07-10 Thread Philip Guenther
email. Indeed, you should be seeing this error at boot time: WARNING: Ignoring submission mode -B option (not in submission mode) What docs suggested that you add that? (For the topic of this thread, you did eyeball /var/log/maillog after restarting, right?) Philip Guenther

sendmail -B option

2008-07-10 Thread Philip Guenther
no effect? I've already noted that the -B option only affects submission and is ignored when running sendmail as a daemon, making GVG's usage of it incorrect. If you aren't feeding the sendmail command an email message on stdin, then the -B option isn't for you. Philip Guenther

Re: stunnel won't start with zlib compression

2008-07-22 Thread Philip Guenther
(and presumably earlier, I haven't checked) does not include the zlib compression method: $ nm /usr/lib/libcrypto.so.13.0 | grep zlib_method 2001cda0 d zlib_method_nozlib $ If zlib compression was included, it wouldn't have the _nozlib suffix. Philip Guenther

Re: assembler noob question

2008-07-24 Thread Philip Guenther
need to include assembly directives that tell 'as' that your code belongs in the text segment, otherwise it won't be marked as executable when loaded into memory. Philip Guenther

Re: touch -h ?

2008-07-25 Thread Philip Guenther
at which that happens... Philip Guenther

Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Philip Guenther
.bashrc is not the name the file should have anyway 'cos only root will read it in regular xterm sessions, not the regular user... Uh, what? What does being root have to do with this? You aren't logging into X as root, are you?!?! Philip Guenther

Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Philip Guenther
by other users), and use 'su', the new, non-root shell will be unable to determine what its current directory is. Philip Guenther

Re: Odd linking message (please relink your binary)

2008-07-28 Thread Philip Guenther
it). Philip Guenther

Re: 3D Hardware Accerlation

2008-07-30 Thread Philip Guenther
SYNOPSIS vga0 at isa? ... Don't have an isa video card, eh? Philip Guenther

Re: PKG_PATH question !

2008-08-02 Thread Philip Guenther
by a single period (`./'). So: export PKG_PATH=ftp://ftp.some/:/usr/ports/packages/ Philip Guenther

Re: tftpd as a standalone server - Cant be done?

2008-08-04 Thread Philip Guenther
On Mon, Aug 4, 2008 at 2:55 PM, Edd Barrett [EMAIL PROTECTED] wrote: Is it possible to run tftpd independant of inetd? No. Just run inetd with a one-line inetd.conf if that's all you want. Philip Guenther

Re: tftpd as a standalone server - Cant be done?

2008-08-04 Thread Philip Guenther
On Mon, Aug 4, 2008 at 4:01 PM, Edd Barrett [EMAIL PROTECTED] wrote: On Mon, Aug 4, 2008 at 10:10 PM, Philip Guenther [EMAIL PROTECTED] wrote: On Mon, Aug 4, 2008 at 2:55 PM, Edd Barrett [EMAIL PROTECTED] wrote: Is it possible to run tftpd independant of inetd? No. Just run inetd with a one

Re: drm at vga1?

2008-08-11 Thread Philip Guenther
no, as there's an entire directory named drm full of drm* files: /usr/src/sys/dev/pci/drm/. The drm.h file in that directory has a pile of information about what this driver is supposed to do. If you're wondering what something new and not-yet-supported is, READ THE SOURCE. Philip Guenther

Re: compile 4.3 source tree on a 4.2 system

2008-08-11 Thread Philip Guenther
://www.openbsd.org/faq/faq5.html#BldBinary Philip Guenther

  1   2   3   4   5   6   7   8   9   10   >