[Bug 1296987] Re: thumbnailer should honor TMPDIR to work with apparmor policy
** Changed in: thumbnailer Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296987 Title: thumbnailer should honor TMPDIR to work with apparmor policy To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1296987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296987] Re: thumbnailer should honor TMPDIR to work with apparmor policy
Tmpfile does not work because I need a visible file name to pass to a helper executable. Mkstemp could work, but I had some uncertainty about it, though I don't remember what the exact issue was. Anyway I put the creation in a separate function just for this reason: that makes it easy to see and easy to change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296987 Title: thumbnailer should honor TMPDIR to work with apparmor policy To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1296987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296987] Re: thumbnailer should honor TMPDIR to work with apparmor policy
This bug was fixed in the package thumbnailer - 1.0+14.04.20140327-0ubuntu1 --- thumbnailer (1.0+14.04.20140327-0ubuntu1) trusty; urgency=low [ Jussi Pakkanen ] * Obey the TMPDIR. (LP: #1296987) -- Ubuntu daily releaseThu, 27 Mar 2014 08:36:59 + ** Changed in: thumbnailer (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296987 Title: thumbnailer should honor TMPDIR to work with apparmor policy To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1296987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296987] Re: thumbnailer should honor TMPDIR to work with apparmor policy
** Branch linked: lp:ubuntu/trusty-proposed/thumbnailer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296987 Title: thumbnailer should honor TMPDIR to work with apparmor policy To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1296987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296987] Re: thumbnailer should honor TMPDIR to work with apparmor policy
The fix probably isn't any worse, but why not pay attention to the tmpnam manual page ("Never use this function") and use mkstemp or tmpfile instead of rolling your own temporary file creation function? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296987 Title: thumbnailer should honor TMPDIR to work with apparmor policy To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1296987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs