[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2012-01-03 Thread Jamie Strandboge
Looking at the apparmor denials, you have non-standard paths and will need to 
update the profile to allow access. You can add the following to 
/etc/apparmor.d/local/usr.bin.evince:
  /srv/system/usr/local/** r,
  /local/stores/morse/** r,

Then perform:
$ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.evince
$ sudo aa-enforce /etc/apparmor.d/usr.bin.evince

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2012-01-03 Thread Jamie Strandboge
Based on the non-standard paths this is determined to be a configuration
issue and I am going to mark this as Won't Fix. If you feel this is in
error, please feel free to reopen. Thanks and please feel free to file
any other bugs you may find.

** Changed in: evince (Ubuntu)
   Status: Triaged = Won't Fix

** Changed in: evince (Ubuntu)
 Assignee: Jamie Strandboge (jdstrand) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2012-01-03 Thread Doug Morse
Hi Jamie,

Thanks for the help, although I'm not sure the actions you propose will
fix the problem.  /local/stores/morse is just a place I store large
files on a separate partition and has nothing to do with evince.  I
relocate /usr/local to /srv/system/usr/local, a separate parition, and
create a symlink so as to preserve /usr/local contents across fresh
installs (which I typically perform instead of dist upgrades).  The only
way I think /usr/local - /srv/system/usr/local could be involved is
that /usr/local/share/mime/mime.cache appears to be used by evince.  Why
mime.cache is kept on /usr/local by debian / ubuntu is a mystery to me;
it's the one file that has prevented me from unmount /usr/local in the
past on previous installs -- by convention and perhaps by POSIX
standards, the OS should not by definition and by default not have any
dependencies on /usr/local, but that's another matter and not that big a
deal. :)

At any rate, I'm using evince fine since moving my trivial theme
customizations from $HOME/.themes to /usr/share/themes
($HOME=/home/morse, on a separate /home partition; $HOME !=
/local/morse) and I appreciate the all the help.  So, the main issue is
resolved -- that I wasn't able to use evince at the time.  However, I do
believe that the theme customization issue remains unresolved (i.e., I
shouldn't have to / it's bad form to change files in /usr/share), but
that's another bug for another time. :)

Thanks again and best wishes,
Doug

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2011-10-18 Thread Sebastien Bacher
Thank you for your bug report, does sudo app-complain /usr/bin/evince
fixes your issue?

** Changed in: evince (Ubuntu)
 Assignee: (unassigned) = Ubuntu Security Team (ubuntu-security)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2011-10-18 Thread Doug Morse
I presume you meant 'aa-complain' and yes, that fixed it.  I had thought
that the problem might be AppArmour related, but did not think to check
/var/log/syslog, which clearly showed that AA was the problem.  Below
you can see both the before (DENIED) and the after (ALLOW) -- after I
ran aa-complain -- in the syslog file:

Oct 18 09:04:34 s3 kernel: [25565.746616] type=1400 audit(1318946674.495:91): 
apparmor=DENIED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373
 pid=11856 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:04:34 s3 kernel: [25565.746706] evince[11856]: segfault at 10 ip 
7f1fc2c597f4 sp 7fffbc7377c0 error 4 in 
libgtk-3.so.0.200.0[7f1fc2b89000+442000]
Oct 18 09:04:39 s3 kernel: [25571.012710] type=1400 audit(1318946679.763:92): 
apparmor=DENIED operation=open parent=11857 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373
 pid=11858 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:05:01 s3 CRON[11862]: (root) CMD (command -v debian-sa1  /dev/null 
 debian-sa1 1 1)
Oct 18 09:05:10 s3 anacron[11455]: Job `cron.daily' started
Oct 18 09:05:10 s3 anacron[11979]: Updated timestamp for job `cron.daily' to 
2011-10-18
Oct 18 09:06:15 s3 kernel: [25667.238296] type=1400 audit(1318946775.987:93): 
apparmor=STATUS operation=profile_replace name=/usr/bin/evince pid=12073 
comm=apparmor_parser
Oct 18 09:06:15 s3 kernel: [25667.239075] type=1400 audit(1318946775.987:94): 
apparmor=STATUS operation=profile_replace name=/usr/bin/evince-previewer 
pid=12073 comm=apparmor_parser
Oct 18 09:06:15 s3 kernel: [25667.239602] type=1400 audit(1318946775.987:95): 
apparmor=STATUS operation=profile_replace 
name=/usr/bin/evince-thumbnailer pid=12073 comm=apparmor_parser
Oct 18 09:06:24 s3 kernel: [25675.862353] type=1400 audit(1318946784.611:96): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.862833] type=1400 audit(1318946784.611:97): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2D776964676574732E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.874397] type=1400 audit(1318946784.623:98): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=/srv/system/usr/local/share/mime/mime.cache pid=12074 comm=evince 
requested_mask=r denied_mask=r fsuid=1000 ouid=0
Oct 18 09:06:24 s3 kernel: [25675.881892] type=1400 audit(1318946784.631:99): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F676E6F6D652D70616E656C2E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882133] type=1400 audit(1318946784.631:100): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F676E6F6D652D7465726D696E616C2E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882189] type=1400 audit(1318946784.631:101): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F6E617574696C75732E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882417] type=1400 audit(1318946784.631:102): 
apparmor=ALLOWED operation=open parent=2689 profile=/usr/bin/evince 
name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F756E6974792E637373
 pid=12074 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000

Thanks for the help!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2011-10-18 Thread Jamie Strandboge
** Changed in: evince (Ubuntu)
   Status: New = Triaged

** Changed in: evince (Ubuntu)
 Assignee: Ubuntu Security Team (ubuntu-security) = Jamie Strandboge 
(jdstrand)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2011-10-17 Thread Doug Morse
** Attachment added: Strace log of evince
   
https://bugs.launchpad.net/bugs/876929/+attachment/2555641/+files/strace-evince.log

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

2011-10-17 Thread Doug Morse
OK, just now I backed up /usr/share/themes/Ambiance to
/usr/share/themes/Ambiance.DIST and made the same three trivial changes
to the them -- changed  selected_bg_color from #f07746 to #008ab8 in
gtk-3.0/settings.ini, gtk-3.0/gtkrc, and gtk-2.0/gtkrc -- and switched
to this updated Ambiance theme.  Evince works fine now, with my minor
color change.

So, this definitely seems like a bug in evince.  Again, my directories
and files should all be accessible to evince running as my user (morse):

morse@s3 ~ ls -ld /home/morse
drwxr-xr-x 96 morse morse 16384 2011-10-17 17:43 /home/morse

morse@s3 ~ ls -ld /home/morse/.themes/
drwx-- 6 morse morse 4096 2011-10-17 17:45 /home/morse/.themes/

morse@s3 ~ ls -ld /home/morse/.themes/Dougs Theme/
drwx-- 4 morse morse 4096 2011-07-25 13:24 /home/morse/.themes/Dougs Theme/

and all the dirs and files under 'Dougs Theme' are uid/gid morse/morse
and mode 700 (dirs) / 600 (files).

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/876929/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs