PackageKit refresh(?) is wiping out local repositories and changing owner to root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Today it happened a handful of times that my local rpm repository got wiped out (except for the repodata folder), and owner/group changed to root/root (including the repodata folder). After playing around a bit, I noticed that a

$ pkcon refresh

will consistently wipe out my local repository [1]. Putting an audit watch on an rpm on the repo will actually confirm that PackageKit removed the file, see below [2]. However, the odd thing is that PackageKit was last updated Nov 18 on my system, and also downgrading to PackageKit-1.0.1-1.fc22 from Oct 21 does not help, so I'm wondering whether it is really PackageKit who is responsible. Updates of yesterday and today do not really seem to be of any relevance.

Anyone else seeing this? Any ideas how to debug this?

Thanks,
Sandro

--------------------------------
[1] If it matters, repo file is

$ cat /etc/yum.repos.d/local.repo
[local]
name=Local
baseurl=file:///home/sandro/rpmbuild/repo
enabled=1
gpgcheck=0
metadata_expire=0

[local-source]
name=Local - Source
baseurl=file:///home/sandro/rpmbuild/SRPMS
enabled=0
metadata_expire=0
gpgcheck=0

--------------------------------
[2] $ sudo ausearch -f /home/sandro/rpmbuild/repo/mingw32-qtspell-0.4.0-1.fc22.noarch.rpm -i
----
type=CONFIG_CHANGE msg=audit(30.11.2014 01:15:48.332:497) : auid=unset ses=unset op="updated rules" path=/home/sandro/rpmbuild/repo/mingw32-qtspell-0.4.0-1.fc22.noarch.rpm key=repo list=exit res=yes
----
type=PROCTITLE msg=audit(30.11.2014 01:15:48.332:498) : proctitle=/usr/libexec/packagekitd type=PATH msg=audit(30.11.2014 01:15:48.332:498) : item=1 name=/home/sandro/rpmbuild/repo/mingw32-qtspell-0.4.0-1.fc22.noarch.rpm inode=5505054 dev=08:03 mode=file,664 ouid=sandro ogid=sandro rdev=00:00 obj=unconfined_u:object_r:user_home_t:s0 nametype=DELETE type=PATH msg=audit(30.11.2014 01:15:48.332:498) : item=0 name=/home/sandro/rpmbuild/repo/ inode=5513217 dev=08:03 mode=dir,775 ouid=sandro ogid=sandro rdev=00:00 obj=unconfined_u:object_r:user_home_t:s0 nametype=PARENT
type=CWD msg=audit(30.11.2014 01:15:48.332:498) :  cwd=/
type=SYSCALL msg=audit(30.11.2014 01:15:48.332:498) : arch=x86_64 syscall=unlink success=yes exit=0 a0=0x7fd7401f88e0 a1=0xffffffff a2=0x7fd7401f8801 a3=0x7fd763e53970 items=2 ppid=1 pid=1902 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=PK-Backend exe=/usr/libexec/packagekitd (deleted) subj=system_u:system_r:rpm_t:s0 key=repo
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux