Ebooks thumbnails fail in Nemo over SMB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Nemo is unable to generate ebooks thumbnails over SMB share because of evince-thumbnailer apparmor profile(note that Nautilus is able to do it anyway), i removed apparmor to see and it fixed that issue.
Nemo output when generating thumbs:
-------
(nemo:31811): CinnamonDesktop
Error loading remote document: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.243" (uid=1000 pid=1488 comm="evince-
(nemo:31811): CinnamonDesktop
-------
Note that it does the same with pdf or some other ebooks format.
The problem happens in loopback too, just share a folder with ebooks using SMB, flush the thumbnails and open Nemo to that folder via Network(connect to the SMB).
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: evince 3.28.4-0ubuntu1.2
ProcVersionSign
Uname: Linux 4.18.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jun 27 02:11:28 2019
InstallationDate: Installed on 2019-05-31 (26 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in evince (Ubuntu): | |
importance: | Undecided → Low |
Changed in evince (Ubuntu): | |
status: | Incomplete → New |
(nemo:31811): CinnamonDesktop -WARNING **: 01:08:30.200: Error creating thumbnail for smb://akem- hp.local/ comics_ bds_mangas/ Scrooge/ Uncle%20Scrooge %20(001- 100)%20GetComic s.INFO/ 029%20Uncle% 20Scrooge. cbr: Unrecognized image file format
This suggests that the problem is not due to the apparmor profile (it happens before the denial). Is the thumbnail correctly generated if you do: sudo apparmor_parser -R /etc/apparmor. d/usr.bin. evince (this unloads the policy from the kernel).