csup permissions issue + truss core dump

2009-02-16 Thread Galen Sampson

All,

I am running 7.1-RELEASE-p2.  I use csup to update my base source tree 
and my ports tree.  I want to be able to update my sources while running 
as a user that doesn't own the files being updated.  I have /usr/ports 
set as a symlink to /home/port_builder/ports.  The files there are owned 
by the user "port_builder" and group "port_builder".  I then add my user 
to the "port_builder" group.  When I run csup I see the following output 
when a file is changed:


Updater failed: Cannot install 
"/home/port_builder/ports/audio/last.fm/#cvs.csup-14913.1" to 
"/home/port_builder/ports/audio/last.fm/Makefile": Operation not permitted


However if I mv the #cvs.csup-14913.1 to Makefile as the same user this 
works just fine.


To debug the problem I tried to run csup under truss.  This did not work 
as expected as truss dumps core when the permission denied occurs and 
generates no output to help.


To debug the truss core dump I tried the following:

cd /usr/src/usr.bin/truss;
make CFLAGS="-g -pipe" depend
make CFLAGS="-g -pipe"
gdb -core ~/truss.core truss

Unfortunately the backtrace is garbled:
> gdb -core ~/truss.core truss
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

warning: exec file is newer than core file.
Core was generated by `truss'.
Program terminated with signal 11, Segmentation fault.
#0  0x28113199 in ?? ()
(gdb) bt
#0  0x28113199 in ?? ()
#1  0x000c in ?? ()
#2  0x3989 in ?? ()
#3  0xbfbfe7b8 in ?? ()
#4  0x in ?? ()
#5  0x28202000 in ?? ()
#6  0x in ?? ()
#7  0x0001 in ?? ()
#8  0x in ?? ()
#9  0xbf4fa000 in ?? ()
#10 0x37382332 in ?? ()
#11 0xbfbfeac8 in ?? ()
#12 0x08049ea5 in get_string (pid=0, offset=0x37382332, max=-1085300736)
   at syscalls.c:475
Previous frame identical to this frame (corrupt stack?)
(gdb)

Can anyone else reproduce the problem with truss?  Is what I am trying 
to do supported by csup?


Regards,
Galen
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Possibility of backporting of Heimdal 1.1

2008-10-06 Thread Galen Sampson
I would like to second that.  The heimdal in 7.0 is quite old.  It is in 
fact inoperable with an mit kerberos realm when using ssh.  The byte 
order is incorrect such that you get MIC checksum failures.  After much 
googling (not documented in the krb5.conf man page or handbook) I found 
that a fix was added in the heimdal in 7.0, but defaults to the old 
incompatible byte order.  The heimdal in current uses the correct byte 
order by default.  For those having the this issue with freebsd 7.0 the 
fix is adding the following lines to /etc/krb5.conf:


[gssapi]
correct_des3_mic = host/[EMAIL PROTECTED]

Gunnar Flygt wrote:

Is there any possibility that heimdal 1.1 that works beautifully in
Current will be backported to FreeBSD-7.x?

Gunnar Flygt
Sveriges Radio Teknik/IT
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


KDE init [was RE: DCOP server problem...]

2001-11-09 Thread Galen Sampson

Hello all,
   I have seen quite a few posts in here about problems with KDE.  I personally
still have the problem that KDE will show its splash screen, get to
"initializing peripherals" and just sit there.  I have noticed a few PR's,
etc., and KDE's bug database had at least on message claiming this to be a
problem with FreeBSD's threads.  I have gone so far as to remove every port
that KDE depends on (except X) and rebuilt through the ports, but I just
haven't had any luck.  I am running Xfree86 3.3.6 (built from ports) over a
year ago, and KDE2 cvsuped many times, but the latest has been 7 days ago.  Any
known workarounds/fixes would be most appreciated.

regards,
Galen Sampson

--- Holger Weiss <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> On 09.11.2001 13:05:14, Vidor Demeter wrote:
> > I have some problems when I try to start Xwindows as a user:
> > I get an error message as: "DCOP-server is not running"
> > After a few trying to start Xwindows it starts, baut when I close it
> > it shows some error messages.
> 
> This is a problem of starting KDE, not X (at least on my box). The
> "solution" I found in some newsgroup is to do a 
> 
>rm -rf /tmp/.ICE-unix/
> 
> before starting up KDE. Works fine for me (I'm actually not yet running
> STABLE but 4.4-RELEASE)...
> 
> Regards, Holger
> 
> -- 
> [EMAIL PROTECTED]
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message


__
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



re: netstat

2001-04-05 Thread Galen Sampson

Hello,
   Fixed my problem.  I was indeed not using a kernel that was built with the
updated source.  I compiled my new kernel with 'make -kernel=sampson' and
installed with 'make install -kernel=sampson' but did not set up boot.conf to
boot that kernel =P. Thanks to all that replied.

Couple of questions:
1) Is there any good reason why you would want to use the '-kernel=foo' other
   than customization?

2) I've noticed in the handbook that you can 'make all install' certain
   portions of the source tree and update your system.  This seems appealing
   since you don't have to build anything and can update only certain parts
   (ntpd for instance).  The question is should you go to single user mode
   (because of chflags being set or what not)?  When is it ok to not go to
   single user mode and how can you tell?

Galen Sampson

>On Tuesday 03 April 2001 02:13, you wrote:
>> Hi all,
>>I have been experiencing some strange behavior with netstat.  It only
>> displays UDP sockets for the inet family.  TCP sockets do not show up.  I
>> know it is listening on TCP sockets because I can ssh/telnet/ftp/etc to
>> the machine. Netstat has been exhibiting this behavior from a make world
>> 2 weeks ago. After updating my source tree today from cvsup10.freebsd.org
>> and rebuilding the world I am getting the same symptoms.  I'd love to put
>> up some debug info for someone to figure this out, but I have know idea
>> what to put.  Is this problem just me?
>>
>> pointers/tips welcome
>>
>> Galen Sampson
>>
>
>Hi Galen,
>
>Must be only you, I certainly don't have that problem.
>4.3-RC2 from the CD.  Sources have been upgraded, but haven't built world 
>yet.

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: netstat

2001-04-03 Thread Galen Sampson

Did that unfortunately...built and installed the new kernel while still in
single user mode after I installed the new world.

--- Gregory Bond <[EMAIL PROTECTED]> wrote:
> >I have been experiencing some strange behavior with netstat. 
> 
> First check: are you sure that your installed userland and running kernel are
> 
> built from the same set of sources?  IE you have built and installed a kernel
> 
> and rebooted when you last diod a make world?
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



netstat

2001-04-02 Thread Galen Sampson

Hi all,
   I have been experiencing some strange behavior with netstat.  It only
displays UDP sockets for the inet family.  TCP sockets do not show up.  I know
it is listening on TCP sockets because I can ssh/telnet/ftp/etc to the machine.
 Netstat has been exhibiting this behavior from a make world 2 weeks ago. 
After updating my source tree today from cvsup10.freebsd.org and rebuilding the
world I am getting the same symptoms.  I'd love to put up some debug info for
someone to figure this out, but I have know idea what to put.  Is this problem
just me?

pointers/tips welcome

Galen Sampson

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message