[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
I think last time we had problems like this it was due to changes in the location of the socket for ibus's private D-Bus bus. Looking into the glib diffs for clues. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ibus in Ubunt

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
This seems like the most likely culprit: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3005 This basically means that code that would have created an abstract namespace socket in glib 2.74.x now creates a regular unix domain socket in 2.75.x. We have AppArmor rules in snapd's desktop-legac

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
Okay. In a clean Lunar VM with glib 2.75.3 installed and ibus enabled as described in the bug description, I could reproduce the input problems in Firefox. I saw the following AppArmor denial in the dmesg logs: [ +0.343553] audit: type=1400 audit(1678248386.012:62): apparmor="DENIED" operatio

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
I've created https://github.com/snapcore/snapd/pull/12627 as a proposed fix for the issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ibus in Ubuntu. https://bugs.launchpad.net/bugs/2008279 Title: glib2.0 2.75.3-3 brea

[Touch-packages] [Bug 1794064] Re: Clicking a hyperlink in a PDF fails to open it if the default browser is a snap

2022-04-06 Thread James Henstridge
> Is there any option to do this via portals - ie can evince use > org.freedesktop.portal.OpenURI to open the URI? Would then this > allow to avoid going via xdg-open? Evince is using g_app_info_launch_default_for_uri(), which can use the portal interface: https://gitlab.gnome.org/GNOME/evince/-/

[Touch-packages] [Bug 1803534] [NEW] Backport uuid based cache file naming scheme

2018-11-15 Thread James Henstridge
Public bug reported: Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so. When snaps are

[Touch-packages] [Bug 1803534] Re: Backport uuid based cache file naming scheme

2018-11-15 Thread James Henstridge
A backport of the UUID cache file directory feature from fontconfig 2.13. ** Patch added: "fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff" https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1803534/+attachment/5213086/+files/fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff -- You rece

[Touch-packages] [Bug 1803534] Re: Backport uuid based cache file naming scheme

2018-11-20 Thread James Henstridge
** Description changed: Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so.

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-07 Thread James Henstridge
The xenial backport is non-functional due to a symbol collision between libjson-c.so (required by libpulse) and libjson-glib.so (required by snapd-glib). This doesn't affect the Bionic backport though. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-07 Thread James Henstridge
in the default configuration. - Build depend on libsnapd-glib-dev. * Remove module-trust-store patch set: - 0409-Trust-store-patch.patch: trimmed down to pulsecore changes. - 0410-Add-thread-to-activate-trust-store-interface.patch: removed. - 0417-increase-timeout-check-apparmor.pa

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-08 Thread James Henstridge
is is required by the snap policy module due to a symbol name clash with libjson-glib. - 0805-remove-libjson-c-dependency.patch: new file. -- James Henstridge Tue, 05 Nov 2019 17:16:22 +0800 ** Bug watch added: freedesktop.org Bugzilla #95135 https://bugs.freedesktop.org/show_bu

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-11 Thread James Henstridge
The two packages are in the upload queue now: https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text=pulseaudio https://launchpad.net/ubuntu/bionic/+queue?queue_state=1&queue_text=pulseaudio One additional acceptance test would be to verify that the policy module continues

[Touch-packages] [Bug 1856054] Re: pulseaudio now depends on libsnapd-glib1 which recommends snapd

2019-12-12 Thread James Henstridge
If you are worried about what the Pulse Audio change is actually doing, here's a description: 1. there is a new "snap-policy" PA module that is loaded by default. 2. when a client attempts to use the microphone and has a "snap.*" AppArmor label, it contacts snapd to check whether that app has p

[Touch-packages] [Bug 1787324] Re: Snap policy module denies recording access to classic snaps

2018-08-28 Thread James Henstridge
Here is a debdiff based on the attached branch. ** Patch added: "pulseaudio_12.2-0ubuntu2_12.2-0ubuntu3.diff" https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1787324/+attachment/5181694/+files/pulseaudio_12.2-0ubuntu2_12.2-0ubuntu3.diff -- You received this bug notification because

[Touch-packages] [Bug 1781428] Re: pulseaudio built with --enable-snappy but 'Enable Snappy support: no'

2018-08-10 Thread James Henstridge
Attached is a debdiff for a 1:12.2-0ubuntu2 release of pulseaudio with an updated snap policy module and the default configuration modified to enable it. I also took the opportunity to remove the Ubuntu Phone era trust-store module, which hasn't been built since February. ** Patch added: "pulseau

[Touch-packages] [Bug 1787324] [NEW] Snap policy module denies recording access to classic snaps

2018-08-15 Thread James Henstridge
snap.skype.skype /usr/bin/parecord foo.wav Stream error: Access denied [note that the Skype app itself still functions because it bypasses PulseAudio all together] The above command should result in audio being recorded from the microphone. ** Affects: pulseaudio (Ubuntu) Importance:

[Touch-packages] [Bug 1787324] Re: Snap policy module denies recording access to classic snaps

2018-08-15 Thread James Henstridge
** Merge proposal linked: https://code.launchpad.net/~ubuntu-audio-dev/pulseaudio/+git/pulseaudio/+merge/353214 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1787324

[Touch-packages] [Bug 1482735] Re: Preview with strange time for MTP pic

2015-10-18 Thread James Henstridge
The MediaFile.getDate() method of media scanner will return the date found in the metadata if available. So if the picture has EXIF metadata (which you'd expect for photos coming from a camera), the returned date won't necessarily match the file mtime. This is consistent with how we handle dates

[Touch-packages] [Bug 1508142] Re: Mediascanner crashes and loops on bad media (webm)

2015-10-22 Thread James Henstridge
The best solution for this is probably to finish off the external- metadata-extractor branch, which was set aside earlier this year. I've updated the branch to get it building with trunk, but there is still a bit of work to do (there may be conflicts with the branches from the pending silo, and ma

[Touch-packages] [Bug 1508142] Re: Mediascanner crashes and loops on bad media (webm)

2015-11-02 Thread James Henstridge
** Branch linked: lp:~jamesh/mediascanner2/external-metadata-extractor -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1508142 Title: Mediascanner crashes and loops o

[Touch-packages] [Bug 1508142] Re: Mediascanner crashes and loops on bad media (webm)

2015-11-03 Thread James Henstridge
I have some in-progress packages in landing silo 55 at the moment. Using Alan's test files, the main scanner daemon no longer crashes (so the startup directory scan isn't repeated), but it looks like there are still a few corner cases to fix up. -- You received this bug notification because you a

[Touch-packages] [Bug 1501990] Re: Daemon fails to start up when processing removable media if there are duplicate keys in media and media_attic tables

2015-11-10 Thread James Henstridge
** Also affects: mediascanner2 (Ubuntu) Importance: Undecided Status: New ** Changed in: mediascanner2 (Ubuntu) Status: New => Fix Released ** Changed in: mediascanner2 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of U

[Touch-packages] [Bug 1508873] Re: Music app not detecting SD card content after Phone Update:OTA-7

2015-11-10 Thread James Henstridge
*** This bug is a duplicate of bug 1501990 *** https://bugs.launchpad.net/bugs/1501990 ** This bug has been marked a duplicate of bug 1501990 Daemon fails to start up when processing removable media if there are duplicate keys in media and media_attic tables -- You received this bug noti

[Touch-packages] [Bug 1513756] Re: Mediascanner looping constantly causing battery exhaustion

2015-11-10 Thread James Henstridge
Alan's log makes this look like a dupe of bug 1501990, which was fixed in the 0.108 release so will be fixed in OTA-8. Installing the latest rc-proposed image should verify if this is the case. It should automatically fix up your existing media database, so there is no manual changes necessary.

[Touch-packages] [Bug 1372000] Re: Album art from images in the same folder not exposed

2015-11-13 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1372000 Title: Album art from images in the same folder no

[Touch-packages] [Bug 1295062] Re: Full length movie does not show up in Video lens

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1295062 Title: Full length movie does not show up in Video

[Touch-packages] [Bug 1312681] Re: Lack of feedback to the user when plugins are missing

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1312681 Title: Lack of feedback to the user when plugins a

[Touch-packages] [Bug 1366777] Re: qmlscene crashed while running music-app autopilot tests

2015-11-16 Thread James Henstridge
** No longer affects: mediascanner2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1366777 Title: qmlscene crashed while running music-app autopilot tests Status in

[Touch-packages] [Bug 1334843] Re: Mediascanner2 crash on model change with header in listview

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1334843 Title: Mediascanner2 crash on model change with he

[Touch-packages] [Bug 1320784] Re: music in bind mounted directories are not shown in music scope

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1320784 Title: music in bind mounted directories are not s

[Touch-packages] [Bug 1312739] Re: [desktop] Music should run automatically mediascanner on start up

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1312739 Title: [desktop] Music should run automatically m

[Touch-packages] [Bug 1237065] Re: mediascanner consumes a lot of cpu for a long time

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1237065 Title: mediascanner consumes a lot of cpu for a lo

[Touch-packages] [Bug 1342288] Re: mediascanner ignoring media files on first boot

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1342288 Title: mediascanner ignoring media files on first

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1381713 Title: Support policy query interface for file Status

[Touch-packages] [Bug 1363261] Re: media files pushed don't show up anywhere

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1363261 Title: media files pushed don't show up anywhere

[Touch-packages] [Bug 1385358] Re: crash while pushing videos to device

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1385358 Title: crash while pushing videos to device Statu

[Touch-packages] [Bug 1507507] Re: Mediascanner2.0 on desktop makes burning rw dvd impossible

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1507507 Title: Mediascanner2.0 on desktop makes burning rw

[Touch-packages] [Bug 1445755] Re: Provide a way to hide images from a particular location

2015-11-16 Thread James Henstridge
** No longer affects: mediascanner2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1445755 Title: Provide a way to hide images from a particular location Status in

[Touch-packages] [Bug 1415488] Re: Fix update reliability problem

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1415488 Title: Fix update reliability problem Status in m

[Touch-packages] [Bug 1395527] Re: Artist's names grouping is case sensitive

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1395527 Title: Artist's names grouping is case sensitive

[Touch-packages] [Bug 1415318] Re: Music app crashes with unsupported schema version with latest v0.105+15.04.20150127-0ubuntu1 on Vivid

2015-11-16 Thread James Henstridge
** No longer affects: mediascanner2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1415318 Title: Music app crashes with unsupported schema version with latest v0.

[Touch-packages] [Bug 1460916] Re: [music] Could not find media. Possible unicode issue.

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1460916 Title: [music] Could not find media. Possible unic

[Touch-packages] [Bug 1391018] Re: Default model sorting is A-Z followed by a-z.

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1391018 Title: Default model sorting is A-Z followed by a-

[Touch-packages] [Bug 1384857] Re: media scanner does not handle files with incorrectly encoded tags (mojibake)

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1384857 Title: media scanner does not handle files with in

[Touch-packages] [Bug 1460411] Re: media scanner lists non-existing media

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1460411 Title: media scanner lists non-existing media Sta

[Touch-packages] [Bug 1466849] Re: Mediascanner2 restarting frequently

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1466849 Title: Mediascanner2 restarting frequently Status

[Touch-packages] [Bug 1475417] Re: Cannot play symlinks

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1475417 Title: Cannot play symlinks Status in Ubuntu Musi

[Touch-packages] [Bug 1480267] Re: Won't play wma files

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1480267 Title: Won't play wma files Status in Ubuntu Musi

[Touch-packages] [Bug 1478593] Re: Scans media from all folders in SDCard

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1478593 Title: Scans media from all folders in SDCard Sta

[Touch-packages] [Bug 1492407] Re: Support m4a cover art

2015-11-16 Thread James Henstridge
** Project changed: mediascanner2 => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1492407 Title: Support m4a cover art Status in Canonical

[Touch-packages] [Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2015-11-16 Thread James Henstridge
>From what I can see, GetConnectionCredentials() does not quite return the same information as GetConnectionAppArmorSecurityContext(). With the new API, I get back a value like "profile_name (enforce)". I can extract the profile name using aa_splitcon(), but this was only added in libapparmor 2.1

[Touch-packages] [Bug 1500988] Re: mediascanner-service-2.0 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2015-11-16 Thread James Henstridge
*** This bug is a duplicate of bug 1501990 *** https://bugs.launchpad.net/bugs/1501990 ** This bug is no longer a duplicate of private bug 1499873 ** This bug has been marked a duplicate of bug 1501990 Daemon fails to start up when processing removable media if there are duplicate keys in

[Touch-packages] [Bug 1501932] Re: mediascanner-service-2.0 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2015-11-16 Thread James Henstridge
*** This bug is a duplicate of bug 1501990 *** https://bugs.launchpad.net/bugs/1501990 ** This bug is no longer a duplicate of private bug 1499873 ** This bug has been marked a duplicate of bug 1501990 Daemon fails to start up when processing removable media if there are duplicate keys in

[Touch-packages] [Bug 1499815] Re: mediascanner-service-2.0 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2015-11-16 Thread James Henstridge
*** This bug is a duplicate of bug 1501990 *** https://bugs.launchpad.net/bugs/1501990 ** This bug has been marked a duplicate of bug 1501990 Daemon fails to start up when processing removable media if there are duplicate keys in media and media_attic tables -- You received this bug noti

[Touch-packages] [Bug 1481515] Re: /usr/bin/mediascanner-service-2.0:6:__gnu_cxx::__verbose_terminate_handler:__cxxabiv1::__terminate:std::terminate:__cxxabiv1::__cxa_throw:mediascanner::MediaStorePri

2015-11-16 Thread James Henstridge
*** This bug is a duplicate of bug 1501990 *** https://bugs.launchpad.net/bugs/1501990 ** This bug has been marked a duplicate of bug 1501990 Daemon fails to start up when processing removable media if there are duplicate keys in media and media_attic tables -- You received this bug noti

[Touch-packages] [Bug 1366777] Re: qmlscene crashed while running music-app autopilot tests

2015-11-18 Thread James Henstridge
Marking invalid, since the test environment was not using a database created by an old version of mediascanner, and was not running the mediascanner service to upgrade it. ** Changed in: mediascanner2 (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you

[Touch-packages] [Bug 1372000] Re: Album art from images in the same folder not exposed

2015-11-19 Thread James Henstridge
** Branch linked: lp:~jamesh/mediascanner2/folder-coverart -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1372000 Title: Album art from images in the same folder not

[Touch-packages] [Bug 1436110] Re: Music with invalid year field (-1) in metadata causes mediascanner to crash

2015-06-08 Thread James Henstridge
** Changed in: mediascanner2 Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1436110 Title: Music with invalid year field (

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-10 Thread James Henstridge
This technique looks quite promising. I have a few questions though: 1. if I do the aa_query_label() check followed by an open() call to read it, am I open to the same race conditions as if I was relying on access() to check permissions? 2. if the given path is a symlink, am I checking for permi

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-11 Thread James Henstridge
So I gave (2) by creating a symlink in a folder that a particular profile was could access to a file in folder it didn't have access to. The query_file utility attached to this bug said I was allowed access to the symlink. So I think we need a bit more guidance on how to use this interface safely.

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-16 Thread James Henstridge
** Branch linked: lp:~jamesh/thumbnailer/dbus-aa-credentials ** Branch linked: lp:~jamesh/thumbnailer/use-aa-query-label -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1381

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-17 Thread James Henstridge
n: thumbnailer Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1381713 Title: Support policy query interface for

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-18 Thread James Henstridge
** Branch linked: lp:~jamesh/thumbnailer/aa-access-fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1381713 Title: Support policy query interface for file Status in Ap

[Touch-packages] [Bug 1465675] Re: API needed to determine if App ID is a scope

2015-06-19 Thread James Henstridge
Are you sure you can't click for this information? Take the Youtube scope for instance, with a scope ID of "com.ubuntu.scopes.youtube_youtube". I can get the manifest for the package with: click info com.ubuntu.scopes.youtube Looking at the manifest, the hooks.youtube dict has a "scope" key

[Touch-packages] [Bug 1465675] Re: API needed to determine if App ID is a scope

2015-06-20 Thread James Henstridge
And if you're after one single scope, you can call get_metadata() rather than list(), checking for NotFoundException. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity-scopes-api in Ubuntu. https://bugs.launchpad.net/bugs/

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-23 Thread James Henstridge
We're in the process of trying to land these changes for thumbnailer, and have been noticing problems with the music-app: we are getting denials from aa_query_label for files under ~/Music. For example: $ ./query_file com.ubuntu.music_music_2.1.867 /home/phablet/Music/10-amarillo.mp3 re

[Touch-packages] [Bug 1381713] Re: Support policy query interface for file

2015-06-23 Thread James Henstridge
It seems this was a transcription problem when I converted the code to C++, so never mind. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1381713 Title: Support policy qu

[Touch-packages] [Bug 1466273] Re: gstreamer fails intermittently

2015-06-24 Thread James Henstridge
gbAnd ultimately the select() call in waitForFinished() was blocking on a pipe that would be written to when the SIGCHLD signal handler was called and waitid() returned the subprocess's pid. So this is functionally the same as the direct waitpid() call. -- You received this bug notification beca

[Touch-packages] [Bug 1466273] Re: gstreamer fails intermittently

2015-06-25 Thread James Henstridge
I gave michi's branch and test videos a try. For the six videos being thumbnailed in parallel, I see two successful thumbnails, two instances that look like they died due to invalid memory allocations: (vs-thumb:15299): GLib-ERROR **: /build/buildd/glib2.0-2.45.1/./glib/gmem.c:357: overflow alloc

[Touch-packages] [Bug 1466273] Re: gstreamer fails intermittently

2015-06-25 Thread James Henstridge
** No longer affects: gstreamer (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gstreamer1.0 in Ubuntu. https://bugs.launchpad.net/bugs/1466273 Title: gstreamer fails intermittently Status in Thumbnail generator f

[Touch-packages] [Bug 1469611] [NEW] QQuickPixmapReader::asyncResponseFinished segfaults if a QQuickAsyncImageProvider returns an error response

2015-06-29 Thread James Henstridge
Public bug reported: While working on the new thumbnailer, we've been using the new QQuickAsyncImageProvider API. The API allows us to report errors by overriding the errorString() method on QQuickImageResponse to return a non-empty string. However, if I do so the application crashes. Loading u

[Touch-packages] [Bug 1470700] [NEW] QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread James Henstridge
Public bug reported: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. >From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is c

[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread James Henstridge
Attached is the test program. I compiled it within the click chroot using the following command: arm-linux-gnueabihf-g++ -ggdb -std=c++11 -fPIC -o net-test.arm net- test.cpp `arm-linux-gnueabihf-pkg-config --cflags --libs Qt5Network` When run with a URL as an argument, it will attempt to retriev

[Touch-packages] [Bug 1342031] Re: Rename QML modules to follow qml-module-foo naming

2015-09-14 Thread James Henstridge
** Branch linked: lp:~jamesh/thumbnailer/qml-module-package-name -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to content-hub in Ubuntu. https://bugs.launchpad.net/bugs/1342031 Title: Rename QML modules to follow qml-module-

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-06 Thread James Henstridge
** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie continua

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-06 Thread James Henstridge
-control-center (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie continually relaunchin

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-09 Thread James Henstridge
So I think I've got things sorted out by (a) switching to call SetReportCrashes async to avoid blocking the UI, and (b) not calling SetReportCrashes if we're asked to set it to the current (cached) value of the property. I've noticed that if whoopsie-preferences exits while the privacy panel is op

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-11 Thread James Henstridge
** Also affects: whoopsie-preferences (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie continua

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-12 Thread James Henstridge
enter (Ubuntu) Importance: Medium => Low ** Changed in: whoopsie-preferences (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ub

[Touch-packages] [Bug 1665160] Re: MachineSuite.TestMachineWorkers timed out waiting for workers zesty because dbus is in interactive mode

2017-04-19 Thread James Henstridge
Anastasia asked me to take a look at this. I'm still not sure what the underlying cause is, but here is some of what I've discovered so far. 1. There has been a change in policykit-1 that sounds like it might be relevant. Namely: [ Martin Pitt ] * Use PAM's common-session-noninteractive mod

[Touch-packages] [Bug 1665160] Re: MachineSuite.TestMachineWorkers timed out waiting for workers zesty because dbus is in interactive mode

2017-04-19 Thread James Henstridge
With Chris's help we got the tests to get past the D-Bus errors on Zesty by creating a file /etc/polkit-1/localauthority/50-local.d/manage- units.pkla on the test system with the following contents: # Allow the "ubuntu" user to manage systemd units unconditionally for testing [Allow manag

[Touch-packages] [Bug 1656042] Re: unity-scopes-api FTBFS with Qt 5.7.1

2017-01-13 Thread James Henstridge
We have changes in lp:unity-scopes-api/devel to work with the new version of googletest/googlemock that haven't been landed on trunk yet. So fixing this is probably going to be as simple as building a new release. -- You received this bug notification because you are a member of Ubuntu Touch seed

[Touch-packages] [Bug 1660242] [NEW] Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Public bug reported: We need to package Thumbnailer as a snap. Some requirements are: 1. package should use strict confinement 2. service should be usable from other strictly confined snaps 3. ??? ** Affects: thumbnailer (Ubuntu) Importance: High Status: Triaged ** Bug watc

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
thumbnailer-admin can't talk to thumbnailer-service. Ideally communication like this between apps from a single snap should be unrestricted: https://bugs.launchpad.net/snappy/+bug/1659724 thumbnailer-service hits problems due to missing gdk-pixbuf loader cache. Seems to be an issue with desktop

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Script to temporarily work around the gdk-pixbuf bug: http://paste.ubuntu.com/23891990/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer shoul

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Fixed version of script: http://paste.ubuntu.com/23892004/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer should be packaged as a snap Stat

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
And yet another version that updates xdg-mime too: http://paste.ubuntu.com/23892565/ After generating the mime data and pixbuf loaders for both snaps, I was able to successfully perform an album art request from one snap to the other. So that's the minimum functionality working. ** Description c

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
Looks like snapcraft-desktop-helpers has been updated to mostly fix these problems. Still some rough edges, but the above script should become unnecessary soon. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in U

[Touch-packages] [Bug 1672657] [NEW] unity::util::unique_gobject() and friends have ambiguous ownership semantics

2017-03-14 Thread James Henstridge
Public bug reported: The unique_gobject() helper has ownership semantics that are likely to introduce bugs in code using it. It's current logic is essentially: 1. if the object passed as an argument has a floating reference, increment its ref count. 2. if not, steal the caller's reference. S

[Touch-packages] [Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-03 Thread James Henstridge
I had a go writing a custom interface to allow thumbnailer to access the private files of another snap here: https://github.com/snapcore/snapd/pull/2783 Unfortunately access to ~/snap/$name is also guarded by the "owner" modifier, so it suffers from the same problems as checking for access grante

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-02-03 Thread James Henstridge
A pull request for a "thumbnailer" snappy interface: https://github.com/snapcore/snapd/pull/2783 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbna

[Touch-packages] [Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-05 Thread James Henstridge
John: that would be useful. Our code already tracks the peer's UID, so it will hopefully be quite easy to hook up what ever you've come up with. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs

[Touch-packages] [Bug 1669810] [NEW] Drag operations can get stuck with two mouse devices

2017-03-03 Thread James Henstridge
Public bug reported: I was occasionally noticing stuck drag operations (e.g. window resizing, or scrolling the settings app) on my ThinkPad laptop using Unity 8, and finally managed to work out how to reliably reproduce it. 1. Ensure you've got two mouse-like devices attached to the system. On

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-07-22 Thread James Henstridge
I think there's two issues at play here. The hooks we added for module loading/unloading as part of USN-4355-1 simply check if the client has an AppArmor label that looks like it belongs to a snap and denies access if found. This will also deny access to classic snaps, which is probably a mistake

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-07-22 Thread James Henstridge
I think I need to dig into this further. The fact you're seeing a few successful module loads with different module indexes would indicate it is the same Pulse Audio instance. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to p

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-09-16 Thread James Henstridge
Sorry for taking so long to get back to you. I now understand the non- deterministic behaviour you're seeing. I'm working on a fix for the server side to allow classic snaps to access these commands. It will require a small change to your Pulse Audio client library to fix the non-determinism tho

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-09-22 Thread James Henstridge
This is the in-progress fix I've been working on. It does not quite work right though: switching to an async hook for these commands is resulting in the daemon killing the client on a protocol error. This might be a problem with the hooks patch set itself. I need to investigate a bit further. *

[Touch-packages] [Bug 1856428] Re: Disable TLS below 1.2 by default

2020-02-18 Thread James Henstridge
For anyone who finds this bug, and wonders about the "Users can override this behaviour with a config file" part, here's what I did to get an OpenSSL-using application to talk to an old server that only supported TLSv1 (in my case, an old Mumble server): 1. create an "openssl.cnf" file somewhere w

[Touch-packages] [Bug 1876237] [NEW] QDesktopServices::openUrl() fails when called on local files from within a snap

2020-04-30 Thread James Henstridge
Public bug reported: This is something we might want to fix to help people who build snaps based on Focal's Qt. The QGenericUnixServices implementation of openUrl() passes an O_PATH file descriptor to xdg-desktop-portal when it detects it is running under snap confinement. This is rejected becau

[Touch-packages] [Bug 1378880] Re: photos downloaded from browser lack timestamp in db

2015-03-25 Thread James Henstridge
** Changed in: mediascanner2 Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1378880 Title: photos downloaded from browser

  1   2   3   >