Re: HEADS UP: Capsicum overhaul.

2013-03-03 Thread Pawel Jakub Dawidek
On Sun, Mar 03, 2013 at 10:18:02PM +0300, Jan Beich wrote:
> Pawel Jakub Dawidek  writes:
> 
> > I just committed pretty large change that affects not only Capsicum, but
> > also descriptor handling code in the kernel. If you will find some
> > strange problems after r243611 (like panics, unexpected application
> > errors, etc.) I may be at fault. I'll be looking at current@ mailing
> > list closly, so report here if you find problems that look related to my
> > change.
> 
> tmux started to behave weirdly, sometimes failing to attach:

I committed a work-around in r247740, but the root of the problem is yet
to be found.

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl


pgp7tAe7RGpg5.pgp
Description: PGP signature


Re: HEADS UP: Capsicum overhaul.

2013-03-03 Thread Pawel Jakub Dawidek
On Sun, Mar 03, 2013 at 10:18:02PM +0300, Jan Beich wrote:
> Pawel Jakub Dawidek  writes:
> 
> > I just committed pretty large change that affects not only Capsicum, but
> > also descriptor handling code in the kernel. If you will find some
> > strange problems after r243611 (like panics, unexpected application
> > errors, etc.) I may be at fault. I'll be looking at current@ mailing
> > list closly, so report here if you find problems that look related to my
> > change.
> 
> tmux started to behave weirdly, sometimes failing to attach:
> 
>   $ printenv
>   PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
>   OLDPWD=/
>   DISPLAY=:0
>   PWD=/home/foo
>   TERM=xterm
>   USER=foo
>   HOME=/home/foo
>   SHELL=/bin/sh
> 
>   $ ktrace -i tmux -L test -f /dev/null
>   $ echo $?
>   1
>   $ kdump -r | pastebinit -a 'tmux fails to attach'
>   http://pastebin.com/U3nCPrFY
> 
>   $ env -i TERM=$TERM ktrace -i /usr/local/bin/tmux -L test -f /dev/null
>   $ ^D
>   [exited]
>   $ kdump -r | pastebinit -a 'tmux fails to attach (workaround)'
>   http://pastebin.com/w1dsUAU4
> 
> I've tried so far:
> 
>   * booting allbsd.org snapshot -> no joy
>   * enabling capsicum options -> no joy
>   * reverting recent capsicum commits -> works fine

Yes, it was already reported to me and I'm investigating the problem.
Thanks.

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl


pgpg0QzEgXbEG.pgp
Description: PGP signature


Re: HEADS UP: Capsicum overhaul.

2013-03-03 Thread Jan Beich
Pawel Jakub Dawidek  writes:

> I just committed pretty large change that affects not only Capsicum, but
> also descriptor handling code in the kernel. If you will find some
> strange problems after r243611 (like panics, unexpected application
> errors, etc.) I may be at fault. I'll be looking at current@ mailing
> list closly, so report here if you find problems that look related to my
> change.

tmux started to behave weirdly, sometimes failing to attach:

  $ printenv
  PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
  OLDPWD=/
  DISPLAY=:0
  PWD=/home/foo
  TERM=xterm
  USER=foo
  HOME=/home/foo
  SHELL=/bin/sh

  $ ktrace -i tmux -L test -f /dev/null
  $ echo $?
  1
  $ kdump -r | pastebinit -a 'tmux fails to attach'
  http://pastebin.com/U3nCPrFY

  $ env -i TERM=$TERM ktrace -i /usr/local/bin/tmux -L test -f /dev/null
  $ ^D
  [exited]
  $ kdump -r | pastebinit -a 'tmux fails to attach (workaround)'
  http://pastebin.com/w1dsUAU4

I've tried so far:

  * booting allbsd.org snapshot -> no joy
  * enabling capsicum options -> no joy
  * reverting recent capsicum commits -> works fine
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HEADS UP: Capsicum overhaul.

2013-03-02 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/02/13 05:01, Pawel Jakub Dawidek wrote:
> 
> I've fixed the rename problem in r247616. Not sure if this will fix X.
> Could you give it a try?

That fixes X as well - thanks!

imb


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (FreeBSD)

iEYEARECAAYFAlEyEvAACgkQQv9rrgRC1JJM3wCfT2sg9yMRzrx/zU0DSz3ABhnT
GW0AoMTwBTNoNuULkWIJIkXRhFWEuWtY
=LTSA
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HEADS UP: Capsicum overhaul.

2013-03-02 Thread Pawel Jakub Dawidek
On Fri, Mar 01, 2013 at 09:45:02PM -0600, Larry Rosenman wrote:
> On Sat, 2 Mar 2013, Pawel Jakub Dawidek wrote:
> 
> > I just committed pretty large change that affects not only Capsicum, but
> > also descriptor handling code in the kernel. If you will find some
> > strange problems after r243611 (like panics, unexpected application
> > errors, etc.) I may be at fault. I'll be looking at current@ mailing
> > list closly, so report here if you find problems that look related to my
> > change.
> >
> >
> 
> Similar to another post:
> vn up
> Updating '.':
> Udatabases/py-sqlite3/Makefile
> Udatabases/py-sqlite3/files/setup.py
> Udatabases/py-sqlite3/files/setup3.py
> svn: E93: Can't move '/usr/ports/.svn/tmp/svn-X6U5KQ' to 
> '/usr/ports/databases/py-sqlite3/Makefile': Capabilities insufficient
> # svn up
> svn: E155037: Previous operation has not finished; run 'cleanup' if it was 
> interrupted
> # svn cleanup
> svn: E93: Can't move '/usr/ports/.svn/tmp/svn-Bb1iSM' to 
> '/usr/ports/databases/py-sqlite3/Makefile': Capabilities insufficient

This should be now fixed in r247616.

Thank you for the report!

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl


pgpRi27mevghK.pgp
Description: PGP signature


Re: HEADS UP: Capsicum overhaul.

2013-03-02 Thread Pawel Jakub Dawidek
On Fri, Mar 01, 2013 at 10:24:01PM -0500, Michael Butler wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 03/01/13 21:05, Pawel Jakub Dawidek wrote:
> > I just committed pretty large change that affects not only Capsicum, but
> > also descriptor handling code in the kernel. If you will find some
> > strange problems after r243611 (like panics, unexpected application
> > errors, etc.) I may be at fault. I'll be looking at current@ mailing
> > list closly, so report here if you find problems that look related to my
> > change.
> > 
> 
> Two things I noted with a kernel @ SVN r247608:
> 
> On reboot ..
> 
> newsyslog: can't mv /var/log/debug.log.zGwQSBb to /var/log/debug.log:
> Capabilities insufficient
> 
>  .. and X/intel/KMS fails to start
> 
> reverting to SVN r247497 (my previous compilation) performs as expected,

I've fixed the rename problem in r247616. Not sure if this will fix X.
Could you give it a try?

Thank you for the report!

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl


pgpNcW5DpTt_W.pgp
Description: PGP signature


Re: HEADS UP: Capsicum overhaul.

2013-03-01 Thread Larry Rosenman

On Sat, 2 Mar 2013, Pawel Jakub Dawidek wrote:


I just committed pretty large change that affects not only Capsicum, but
also descriptor handling code in the kernel. If you will find some
strange problems after r243611 (like panics, unexpected application
errors, etc.) I may be at fault. I'll be looking at current@ mailing
list closly, so report here if you find problems that look related to my
change.




Similar to another post:
vn up
Updating '.':
Udatabases/py-sqlite3/Makefile
Udatabases/py-sqlite3/files/setup.py
Udatabases/py-sqlite3/files/setup3.py
svn: E93: Can't move '/usr/ports/.svn/tmp/svn-X6U5KQ' to 
'/usr/ports/databases/py-sqlite3/Makefile': Capabilities insufficient
# svn up
svn: E155037: Previous operation has not finished; run 'cleanup' if it was 
interrupted
# svn cleanup
svn: E93: Can't move '/usr/ports/.svn/tmp/svn-Bb1iSM' to 
'/usr/ports/databases/py-sqlite3/Makefile': Capabilities insufficient
#


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: l...@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HEADS UP: Capsicum overhaul.

2013-03-01 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/13 21:05, Pawel Jakub Dawidek wrote:
> I just committed pretty large change that affects not only Capsicum, but
> also descriptor handling code in the kernel. If you will find some
> strange problems after r243611 (like panics, unexpected application
> errors, etc.) I may be at fault. I'll be looking at current@ mailing
> list closly, so report here if you find problems that look related to my
> change.
> 

Two things I noted with a kernel @ SVN r247608:

On reboot ..

newsyslog: can't mv /var/log/debug.log.zGwQSBb to /var/log/debug.log:
Capabilities insufficient

 .. and X/intel/KMS fails to start

reverting to SVN r247497 (my previous compilation) performs as expected,

imb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (FreeBSD)

iEYEARECAAYFAlExcNEACgkQQv9rrgRC1JIJNgCfR6QOCb/lFDqh4yRfmGEoDJ4l
y3wAoIc1unEGPyUADUQmf5pkVR8b1V16
=fMvc
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


HEADS UP: Capsicum overhaul.

2013-03-01 Thread Pawel Jakub Dawidek
I just committed pretty large change that affects not only Capsicum, but
also descriptor handling code in the kernel. If you will find some
strange problems after r243611 (like panics, unexpected application
errors, etc.) I may be at fault. I'll be looking at current@ mailing
list closly, so report here if you find problems that look related to my
change.

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl


pgpD8eAHegq2k.pgp
Description: PGP signature