Bug 994671 - mirall-1.3.0-1.fc19.x86_64: SELinux permissions for sync-exclude.lst
Summary: mirall-1.3.0-1.fc19.x86_64: SELinux permissions for sync-exclude.lst
Alias: None
Product: Fedora
Classification: Fedora
Component: mirall
Version: 19
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Joseph Marrero
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-08-07 18:22 UTC by Paolo Bernardi
Modified: 2013-09-14 02:36 UTC (History)
2 users (show)

Fixed In Version: mirall-1.4.0-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-14 02:36:50 UTC

Attachments (Terms of Use)

Description Paolo Bernardi 2013-08-07 18:22:15 UTC
Description of problem:

Mirall, the ownCloud desktop sync client, supports excluding some file patterns from the synchronization process by editing a file. By default, with SELinux enabled, the "open" calls to that file return an ENOTBLK (Block device required) error:

open("/home/rnd/.local/share/data/ownCloud/sync-exclude.lst", O_RDONLY|O_CLOEXEC) = 15
open("/home/rnd/.local/share/data/ownCloud/exclude.lst", O_RDONLY|O_CLOEXEC) = 15
open("/etc/ownCloud/sync-exclude.lst", O_RDONLY|O_CLOEXEC) = 15

Version-Release number of selected component (if applicable):


How reproducible:

Just create a sync-exclude.lst file and grep "exclude" in Mirall's strace

Steps to Reproduce:
1. create a /etc/ownCloud/sync-exclude.lst file
2. strace owncloud 2> ~/owncloud.strace
3. grep exclude ~/owncloud.strace

Actual results:

A few open calls returning 15 (ENOTBLK)

Expected results:

The open calls should return 0.

Comment 1 Fedora Update System 2013-09-04 16:43:43 UTC
mirall-1.4.0-2.fc19,owncloud-csync-0.90.0-1.fc19 has been submitted as an update for Fedora 19.

Comment 2 Fedora Update System 2013-09-05 01:41:32 UTC
Package mirall-1.4.0-2.fc19, owncloud-csync-0.90.0-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mirall-1.4.0-2.fc19 owncloud-csync-0.90.0-1.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 3 Paolo Bernardi 2013-09-05 12:51:42 UTC
I re-did the original tests and this issue seems to be fixed with the updates mirall-1.4.0-2.fc19, owncloud-csync-0.90.0-1.fc19

Comment 4 Fedora Update System 2013-09-14 02:36:50 UTC
mirall-1.4.0-2.fc19, owncloud-csync-0.90.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.