<div dir="ltr">P.S.: I think it&#39;s caching the RPMs somewhere in /var - I can go look if it matters.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 29, 2014 at 6:40 PM, M. Edward (Ed) Borasky <span dir="ltr">&lt;<a href="mailto:znmeb@znmeb.net" target="_blank">znmeb@znmeb.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yes! I have the exact same problem or a very similar one. My local repo is already maintained by &#39;root&#39; It&#39;s on &#39;/opt/LocalYumRepo&#39; and when the &quot;magic&quot; happens, it gets copied to &#39;/opt/LocalYumRepo.tmp&#39;. but the RPMs in *both* directories are deleted!<br><br></div>I don&#39;t know, however, if this is new to Fedora 21 or even a &#39;bug&#39;. I hacked up a workaround - disable the repo except when I&#39;m actively using it. Have you done a Bugzilla search for this? Do you know what part of the package maintenance chain is actually messing with the local repos?<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sat, Nov 29, 2014 at 4:20 PM, Sandro Mani <span dir="ltr">&lt;<a href="mailto:manisandro@gmail.com" target="_blank">manisandro@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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<br>
<br>
$ pkcon refresh<br>
<br>
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&#39;m wondering whether it is really PackageKit who is responsible. Updates of yesterday and today do not really seem to be of any relevance.<br>
<br>
Anyone else seeing this? Any ideas how to debug this?<br>
<br>
Thanks,<br>
Sandro<br>
<br>
------------------------------<u></u>--<br>
[1] If it matters, repo file is<br>
<br>
$ cat /etc/yum.repos.d/local.repo<br>
[local]<br>
name=Local<br>
baseurl=file:///home/sandro/<u></u>rpmbuild/repo<br>
enabled=1<br>
gpgcheck=0<br>
metadata_expire=0<br>
<br>
[local-source]<br>
name=Local - Source<br>
baseurl=file:///home/sandro/<u></u>rpmbuild/SRPMS<br>
enabled=0<br>
metadata_expire=0<br>
gpgcheck=0<br>
<br>
------------------------------<u></u>--<br>
[2] $ sudo ausearch -f /home/sandro/rpmbuild/repo/<u></u>mingw32-qtspell-0.4.0-1.fc22.<u></u>noarch.rpm -i<br>
----<br>
type=CONFIG_CHANGE msg=audit(30.11.2014 01:15:48.332:497) : auid=unset ses=unset op=&quot;updated rules&quot; path=/home/sandro/rpmbuild/<u></u>repo/mingw32-qtspell-0.4.0-1.<u></u>fc22.noarch.rpm key=repo list=exit res=yes<br>
----<br>
type=PROCTITLE msg=audit(30.11.2014 01:15:48.332:498) : proctitle=/usr/libexec/<u></u>packagekitd<br>
type=PATH msg=audit(30.11.2014 01:15:48.332:498) : item=1 name=/home/sandro/rpmbuild/<u></u>repo/mingw32-qtspell-0.4.0-1.<u></u>fc22.noarch.rpm inode=5505054 dev=08:03 mode=file,664 ouid=sandro ogid=sandro rdev=00:00 obj=unconfined_u:object_r:<u></u>user_home_t:s0 nametype=DELETE<br>
type=PATH msg=audit(30.11.2014 01:15:48.332:498) : item=0 name=/home/sandro/rpmbuild/<u></u>repo/ inode=5513217 dev=08:03 mode=dir,775 ouid=sandro ogid=sandro rdev=00:00 obj=unconfined_u:object_r:<u></u>user_home_t:s0 nametype=PARENT<br>
type=CWD msg=audit(30.11.2014 01:15:48.332:498) :  cwd=/<br>
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:<u></u>s0 key=repo<span><font color="#888888"><br>
-- <br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org" target="_blank">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.<u></u>org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-<u></u>of-conduct</a></font></span></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Twitter: <a href="http://twitter.com/znmeb" target="_blank">http://twitter.com/znmeb</a>; Computational Journalism on a Stick <a href="http://j.mp/CompJournoStickOverview" target="_blank">http://j.mp/CompJournoStickOverview</a><br><br>Remember, if you&#39;re traveling to Bactria, Hump Day is Tuesday and Thursday.</div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Twitter: <a href="http://twitter.com/znmeb" target="_blank">http://twitter.com/znmeb</a>; Computational Journalism on a Stick <a href="http://j.mp/CompJournoStickOverview" target="_blank">http://j.mp/CompJournoStickOverview</a><br><br>Remember, if you&#39;re traveling to Bactria, Hump Day is Tuesday and Thursday.</div>
</div>