to
look at struct kinfo_proc2 field p_cpticks of libkvm, but this field
gives me some odd values, which I'm unable to interpret. Could you
please comment on the following code?
No, you don't want p_cpticks, as that's zeroed every time schedcpu() runs.
Philip Guenther
because, on reflection, that's a good question in this
case. As is, I don't understand how your message helps the original
poster. Could you clarify it?
Philip Guenther
. I'm quite comfortable
with sendmail myself** and have other things I'm more interested in
hacking on in OpenBSD so I haven't gotten around to checking OpenSMTPD
over closely and can give neither positive *nor* negative feedback on
its reliability.)
Philip Guenther
** Disclaimer: I've
command-line?
(I suspect this is resolved in -current for 4.7 with espie's pkg work.)
Philip Guenther
dependencies automatically. pkg_delete
appears to still have some issues, but perhaps there's time before
release to get those ironed out...
Philip Guenther
that multiple addresses are
permitted and gives an example that does that _and_ passes the mail
through to user's local mailbox, so it is possible to both forward the
mail and have root get a copy. Does that not work for you?
Philip Guenther
not dumping an entire filesystem, then you always get a
full (level 0) dump.
(Why? At least part of the reason is that if you're not doing the
full filesystem, inode ctime isn't sufficient to determine whether a
file would be new to the dump.)
Philip Guenther
, you perhaps should feel guilty about other things, but not
that: Anthony's test program dumps core in /var/crash/ Just Fine with
kern.nosuidcoredump=2 and -current, and that code hasn't change in
quite a while.
Philip Guenther
On Tue, Feb 23, 2010 at 12:04 PM, Anthony Howe ach...@snert.com wrote:
On 23/02/2010 20:56, Philip Guenther whispered from the shadows...:
...
Look Ted, you perhaps should feel guilty about other things, but not
that: Anthony's test program dumps core in /var/crash/ Just Fine
in other stats, the false positive rates would make using
them uneconomical. Or something like that. If you're concerned about
this disk failure then you should hunt up and read the actual
paper...and continue your research beyond that.
Philip Guenther
$
Philip Guenther
in the box. Try removing or
replacing the memory.
Philip Guenther
information about your system or the samba you're running. What
version of OpenBSD? Did you install the samba package from the ftp
site, or did you build the port yourself, or did you download the
source and build it yourself without using the ports framework?
Philip Guenther
On Sun, Mar 7, 2010 at 3:42 PM, Ron McDowell r...@fuzzwad.org wrote:
...
mtree -def /usr/src/distrib/i386/ramdisk_cd/../../miniroot/mtree.conf -p
/mnt/ -u
.: gid (0, 1000, modified)
It appears that you changed root's primary/default gid from 0 to 1000.
Don't do that.
Philip Guenther
'?
The rest of your message gave several requirements but don't actually
say *what problem you're trying to solve*, so any answers you get to
your question are just reflections of what the responder guesses you
to be aiming for.
Philip Guenther
) groups=0(wheel), 2(kmem), 3(sys), 4(tty),
5(operator), 20(staff), 31(guest)
#
You're using the normal OpenBSD /usr/bin/su, right?
Philip Guenther
this? i haven't been able to check this disk.
Hmm, I wonder if anyone else has hit this...
http://marc.info/?l=openbsd-miscw=2r=1s=fsck+memoryq=b
Philip Guenther
p *pwd
p/x flags
c
and capture the output from the two 'p' commands.
When it reports Program received signal SIGTRAP, Trace/breakpoint
trap., just do
kill
q
9) post the captured output (mung _only_ the pw_passwd value!)
Philip Guenther
extended (egrep-style) regexps, then the most portable
solution is a chunk of awk (left as an exercise for the student); the
less-portable-but-works-in-4.7 solution is to use -E option to sed:
sed -n -E 's/.*(PATTERN).*/\1/p'
Philip Guenther
On Wed, Mar 24, 2010 at 1:06 PM, Philip Guenther guent...@gmail.com wrote:
...
Hmm, missing quote, and the expressions can be combined, but as a
portable solution this is indeed the right answer.
sed -n -e 's/.*\(PATTERN\).*/\1/p'
Actually, there are two bug in that, an obvious one
: use vmstat or systat to view vm.vmmeter information
sysctl: use vmstat or systat to view vm.uvmexp information
$
Make sense?
Philip Guenther
out patches, then post them to
the tech list, like Igor Zinovik has been doing with memory and fd
leaks recently (Good stuff; I think most of them have already been
committed to the tree).
Philip Guenther
that IP?. The answer
is because, in general, such a restriction is *not* correct behavior
for MTAs, and therefore is not the default for postfix.)
Philip Guenther
problem are you trying to
solve?
Philip Guenther
This is generally caused by mismatched kernel and userland. How
confident are you that yours were built from the same/matching
sources?
Philip Guenther
-endian platforms
but doing the Wrong Thing on big-endian platforms.
Philip Guenther
and source code cut is made. The people that handle that have
been doing so for years and many releases. If you suffer anxiety over
the ability of open source projects to deliver then you should be
talking to your doctor or therapist.
Philip Guenther
these fixes because *you* care about
them. It isn't about making yourself a better programmer, but about
making the code better.
Philip Guenther
to see
each
individual 8-bit byte that composes the character. I don't want unicode
on the command line.
Those that are wedded to plain ASCII can continue to have that
experience by using LC_ALL=C. Oops, never mind, OpenBSD hasn't
actually implemented plain ASCII only for years.
Philip Guenther
On Thu, Aug 5, 2010 at 12:50 PM, Matthew Szudzik
mszud...@andrew.cmu.edu wrote:
On Thu, Aug 05, 2010 at 11:33:23AM -0700, Philip Guenther wrote:
...
experience by using LC_ALL=C. Oops, never mind, OpenBSD hasn't
actually implemented plain ASCII only for years.
The fact that OpenBSD doesn't
you give dlopen()
doesn't contain a slash, then it will _not_ normally search the
current directory. Perhaps you should pass dlopen() an absolute path?
Philip Guenther
, not OpenBSD's own make. If you're
going to install GNU make, install it under the name 'gmake' or some
such (that's what the port and package do).
So, track down the bogus GNU make install you have, remove it, then try
again.
Philip Guenther
On 10/4/10, David Gwynne l...@animata.net wrote:
...
this restores the visibility of network livelocks to systat.
anyone object? if not i'll commit it tomorrow morning around 10am
in a GMT+10 timezeon.
I like it, with one micro suggestion:
...
--- sbin/sysctl/sysctl.c 19 Aug 2010
driver may be
the most natural way. Otherwise, a busy loop in userspace watching
the CPU's performance counter might be an option.
Philip Guenther
, IMO, can and should be fixed.
Philip Guenther
,
the getitimer function in Linux uses hpet.
The problem of using busy loop is that the CPU should be free for the
benchmark I want to run.
I still can't figure out what you're trying to do or, more
importantly, what problem you're going to this effort to try to solve.
Good luck!
Philip
is the simplest way to meet that
requirement and solve both the PR and the request in this thread without
breaking software that doesn't insist on slamming its face into the POSIX
wall.
Philip Guenther
Index: tcp.h
===
RCS file: /cvs/src
On Fri, 22 Oct 2010, Philip Guenther wrote:
Instead, how about making netinet/tcp.h comply with SUS/POSIX, which
says that in a conforming environment this header file shall define
TCP_NODELAY and may declare additional TCP_* macros, but shall not
otherwise intrude on the applicatiojn
The union of Ted and my diffs has been committed, so this is fixed for -current.
Philip Guenther
a snapshot and install it. If you're in a
hurry you could _try_ pulling down and installing just comp48.tgz from
snapshots, but be prepared to install the rest of the sets if that
doesn't work...
Philip Guenther
sendmail, you should just
need to update /etc/mail/genericstable and follow the directions in
the comment at the top of the file to rebuild it.
Philip Guenther
messages generated for them, just as
no messages generated for imports.
I assume that my src tree (after
syncing with CVS and therefore with all the 'new' files in
gnu/usr.bin/perl) is still suitable for building 4.8-stable. Is this
assumption correct?
Yep, it's good.
Philip Guenther
On Sunday, October 31, 2010, LEVAI Daniel l...@ecentrum.hu wrote:
My Lenovo ThinkPad won't resume after suspend. When suspending, the
little moon led lights up, and when resuming it blinks, but that's all.
...
Problem commit has been backed out. Update sys/ and rebuild.
Philip Guenther
On Mon, Nov 1, 2010 at 4:38 AM, LEVAI Daniel l...@ecentrum.hu wrote:
On Sun, Oct 31, 2010 at 15:06:29 -0700, Philip Guenther wrote:
On Sunday, October 31, 2010, LEVAI Daniel l...@ecentrum.hu wrote:
My Lenovo ThinkPad won't resume after suspend. When suspending, the
little moon led lights up
On 11/1/10, Philip Guenther guent...@gmail.com wrote:
...
I mean, come on, worked before, stopped working, still doesn't work
gives us nothing to go on for what broke your box. That last commit
was what broke resume on _my_ thinkpad...
...or not. Further testing on my T60 (running i386
until the completion of the vote on switching from
decimal to hex. It appears the 'hex' vote is being split by the
uppercase-vs-lowercase issue...
Seriously: did anything extra special happen at 2.0? at 3.0? at 4.0?
How many data points does it take to indicate a trend?
Philip Guenther
, ldap.conf(5) describes it for the OpenLDAP
libldap and clients, etc.
Philip Guenther
is in lower case.
The output is sorted alphabetically.
So, aliases2_lookup is local to libiconv.so and can't be accessed
externally. To put it another way, the program is peeking where it
shouldn't. Bad Programmer, no cookie! Go yell at the that project...
Philip Guenther
/lib/libcrypto.so.18.0: /usr/lib/libcrypto.so.19.0 :
WARNING: symbol(v3_alt) size mismatch, relink your program
Wild guess: do you use apache modules that are not part of base that
link against libcrypto and that you haven't recompiled since the
libcrypto update?
Philip Guenther
in the inetd.conf. Contrawise,
if this host shouldn't be seeing so many pop3 connections, then that
host may be under a dictionary attack. Check the logs for your pop3
server to see what it's saying.
Philip Guenther
to continue using it instead of upgrading, so supporting it is
your problem. Good luck! I suggest you check the log file for cron
(read the cron(8) manpage for details).
Philip Guenther
in.
Without details, I don't see any way to help you other than guessing,
so here's my random guess: it's obviously a bug in your virtualization
setup. (You didn't say it _isn't_ such a setup, so I could be right.)
Philip Guenther
in OpenBSD.
You can get the RSS value reported by ps (and top, etc) by using
kvm_getproc2(), presumably with the KERN_PROC_PID op to request just
the process you care about; the RSS value is is in the p_vm_rssize
member.
Philip Guenther
not to disclose. A submission
from them would have been interesting...)
Care to make an estimate for how long it will take you to evaluate the
student submissions, *PER OS*?
Philip Guenther
dmesg output
means you don't really want an answer.
Philip Guenther
might
show you enough to guess the real source of those packets.
Philip Guenther
a base build finished and when the following
xenocara build did.
As for other claimed mismatches: insufficient data.
Philip Guenther
as specifying the -d option to the update command
described below.
Philip Guenther
; what's your reason for doing so instead of simply deleting
this email or
replying saying you weren't interested in discussing it off-list?
2) you don't see at least one real bug worth reporting and fixing in
the original
post? Not even the Volume number invalid: none bit? Really?
Philip
On Tue, Mar 15, 2011 at 1:26 PM, Andres Perera andre...@zoho.com wrote:
which one is at fault? should the man page be corrected or should the
header not pull nl_types.h?
Header is correct per the standard, so I've deleted the extra #include
from the manpage. Thanks!
Philip Guenther
it is destroyed? Basically, like
http://www.suse.de/~krahmer/exec-notify.c but for OpenBSD.
ktrace -i and kdump|grep?
Philip Guenther
/update was from between when that file was changed and
the corresponding change to sys/sys/disklabel.h was committed. (Or
you didn't follow the build process.) Update and try again.
Philip Guenther
that you built yourself.
Philip Guenther
a plain make build with DESTDIR set is not supported. It used
to--by coincidence--work, but with the move to gcc4 it broke and we're
not interested in fixing it. The supported path is described in the
release(8) manpage.
Philip Guenther
in an increase in the size of
the donation, then contact the OpenBSD Foundation (and review your
relevant tax laws and regulations). The Foundation exists, in part,
so that these issues and concerns don't become an undue burden on
people.
Philip Guenther
counters'
pctr (1) - display CPU performance counters
pctr (4/AMD64) - driver for CPU performance counters
pctr (4/i386) - driver for CPU performance counters
$
Philip Guenther
On Wed, Apr 27, 2011 at 12:28 PM, David Steiner
davidsteiner2...@gmail.com wrote:
thank you philip guenther. just what i was looking for. are there more
examples how to use pctr? not so easy to interpret what's going on.
I don't know of anything relevant that isn't already referenced from
on the spot. Instead,
they're still irksome because the solution isn't completely obvious.
(Maybe my definition for janitor issue doesn't match yours...)
Philip Guenther
it
didn't though.)
Philip Guenther
' PCMCIA card before booting.
Philip Guenther
whose name contained a
quote?)
Philip Guenther
!
2.102.202.in-addr.arpa. 3600IN SOA nmc1.ptt.js.cn.
postmaster.nmc1.ptt.js.cn. 2006110800 86400 7200 2592000 3600
If you aren't in China, then I would *strongly* suggest scrubbing and
reinstalling your system.
...and then tracking down how you got hacked.
Philip Guenther
, etc) and not your sendmail setup at all.
If that telnet does work, well, you _did_ remember to restart sendmail
after changing the sendmail.cf, right?
Philip Guenther
On Dec 1, 2007 4:52 AM, Toni Mueller [EMAIL PROTECTED] wrote:
On Sat, 01.12.2007 at 01:32:07 -0700, Philip Guenther [EMAIL PROTECTED]
wrote:
Not only that, but something is broken in your MUA that resulted in
the log entries you included that showed the above being cut off and
lost.
I'm
TIME_WAIT period of 2 minutes means that a single OpenBSD
machine connecting to a single port on a server is limited to 136
connections per second on average.
Philip Guenther
that it can't use that
address, what do you expect it to do other than restart discovery?
(For the full details, check out RFC 2131
http://www.rfc-editor.org/rfc/rfc2131.txt)
Philip Guenther
. Once it returns zero, any
code that assumes the buffer contains something useful is *NOT
PORTABLE*. Fix your code to
1) pass the same size value to malloc() and strftime(), and
2) check the strftime() return value and *NOT* use the buffer if it
returns zero.
Philip Guenther
On Jan 10, 2008 12:41 AM, Duncan Patton a Campbell [EMAIL PROTECTED] wrote:
On Wed, 9 Jan 2008 21:51:01 -0700
Philip Guenther [EMAIL PROTECTED] wrote:
1) pass the same size value to malloc() and strftime(), and
Ya, this is it. Needs to be the sizeof the input buffer + 2.
Why? Since
when starting a process from shell?
The command you're looking for is 'newgrp'...which OpenBSD doesn't
currently have. sudo is probably the most direct workaround for now.
Philip Guenther
On Fri, Jan 30, 2009 at 3:53 PM, Brian Keefer ch...@smtps.net wrote:
I'm probably ignorant, but I can't seem to find a way to increase the window
scaling multiplier on an OpenBSD client. It's always zero.
What problem are you trying to solve?
The scale factor is *ONLY* a means to increase the
'sm-mta\[23903\]' /var/log/maillog.old
Philip Guenther
combos that
it supports for the root page. (In openssl, the cipher suites for TLS
are the same as for SSLv3, so that script only reports SSLv3 for
both.)
Philip Guenther
(dmesg? full atactl identify output?) that would indicate a problem
with the device driver, the only suggestion anyone is likely to make
is that you should take it up with the disk manufacturer.
Philip Guenther
will effectively convert itself to cvs update -d. So,
if there have been files changed since the previous checkout then they
*will* be updated.
Philip Guenther
, but someone
else will need to glue it together; the few Linux binaries I need work
just fine with the existing support and I have much more interesting
and (IMO) important things to work on than keeping up with Linux.
Philip Guenther
; reading the cvs logs is probably the place to
start if you care.)
Philip Guenther
the background, or, well, some other
weird condition...)
Philip Guenther
) and then build and install the updated
zone files:
make cleandir make sudo make install
Philip Guenther
that a user wants to use
and also decide to rebuild OpenBSD from source, would that be possible?
What makes you or them think that using a different compiler requires
building the entire system with that compiler?
Philip Guenther
seen traffic like this? Should I be
worried?
Those are Appletalk (Ethertalk) packets. 107.6.96.0 and such are
Appletalk phase II addresses (with DDP protocol) and *not* IP
addresses. Seems you have old Macs or Apple hardware on your net
still doing the old stuff...
Philip Guenther
of these users look like?
2) when you say they get a standard shell, what *EXACTLY* do you mean?
(If you mean they get a /bin/sh prompt and it runs their
.profile, then please say that)
3) what does the top of the shell script look like?
Philip Guenther
() and execve()
calls.
Good luck!
Philip Guenther
day with multiple recipients, then who cares
that they require a process per user to deliver? Verify that it's an
issue before making it a deciding factor in your selection of delivery
agent.
Philip Guenther
(Disclaimer: I maintained procmail for several years and wrote the
LMTP support and now
if you don't want to have that route. (If you're trying
to have 10/8 on both ends of a tunnel then you need to back up and
rethink what you're trying to do.)
Philip Guenther
2012/3/22 f5b f...@163.com:
1. www.openbsd.org is UTC
http://www.openbsd.org/51.html
$OpenBSD: 51.html,v 1.17 2012/03/23 02:04:39 henning Exp $
man rcs
Read the description of $Id$ (which is what $OpenBSD$ is a version of).
(or the cat) from pressing a few
buttons and getting into a console.
Can't they do that by typing crtl+alt+F1 too?
Philip Guenther
On Wed, Mar 28, 2012 at 8:15 PM, Beavis pfu...@gmail.com wrote:
is there an equivalent to udevadm in OpenBSD or BSD in particular?
What problem are you trying to solve?
Philip Guenther
.
is it possible to use patterns with newsyslog ?
No.
Philip Guenther
than the supported option of
reloading your system from scratch, do not expect assistance from the
OpenBSD development team.
--
Philip Guenther
On Wed, Apr 11, 2012 at 12:28 AM, Mo Libden m0lib...@mail.ru wrote:
Tue, 10 Apr 2012 11:10:09 -0700 PQ Philip Guenther guent...@gmail.com:
...
Running -current with userland threads is not supported. If you need
userland threads, you need to run 5.1 or earlier.
That was what I really needed
301 - 400 of 967 matches
Mail list logo