. 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
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
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
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
and
symbol tables work.
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
, then check your PF rules to verify that the packets
are being let through in both directions.
Philip Guenther
with one child.
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
}'
Philip Guenther
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
or punctuation, or
all characters?
Philip Guenther
for the multicast address range with the experienced result.
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
reappears.
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
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
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
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
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
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
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
could fix it?
Step 1: learn to question your assumptions...
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
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
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
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
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
*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
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
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
in /var/empty won't be able to
log.
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
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
to work
the xmms GUI...)
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
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
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
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
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
.
Philip Guenther
to behave 'correctly' when optimization is
off.
Philip Guenther
tree.
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
. sigh
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
should prevent that.
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
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
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
?, $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
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
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
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
?
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
names in a portable way, as opposed to GNU tar's non-portable
extension for handling file names longer than 100 bytes.
Philip Guenther
of brute-force barrier on the reordering of
operations...
Philip Guenther
suppressing? pax can't save files with
names longer than 100 characters into 'ustar' or 'tar' format archives
either.
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
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
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
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
it from there would be the simplest way forward.
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
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
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
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
?
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
@@
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
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
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
, that's the way to accomplish your end goal.
Philip Guenther
locales is still,
IIRC, the recommended course.
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
/ttycom.ph
(So something running as root removed a file that it shouldn't have.)
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
to give readable images, and then typed it all in.
(Do not even _think_ of sending the images.)
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
.
Philip Guenther
, and SUS specs don't require such behavior.
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)
open on fd 3. How to
access fd 3 from the script is up to you...
Philip Guenther
done
Philip Guenther
:
masters int_masters {
10.0.0.1;
};
(The 'masters' statement was added in bind 9.4.0, IIRC)
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
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
(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
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
at which that happens...
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
by other users), and use 'su', the new, non-root
shell will be unable to determine what its current directory is.
Philip Guenther
it).
Philip Guenther
SYNOPSIS
vga0 at isa?
...
Don't have an isa video card, eh?
Philip Guenther
by a single period (`./').
So:
export PKG_PATH=ftp://ftp.some/:/usr/ports/packages/
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
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
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
://www.openbsd.org/faq/faq5.html#BldBinary
Philip Guenther
1 - 100 of 977 matches
Mail list logo