On an emerge sync when portage is cleaning up, it deletes the packages directory. This causes emerge sync to fail if the packages directory is mounted to another volume. Reproducible: Always Steps to Reproduce: 1. Mount /usr/portage/packages to some volume 2. emerge sync 3. Error "delete_one: rmdir "/usr/portage/packages" failed: Device or resource busy" Actual Results: emerge sync fails Expected Results: emerge should have completed This is quite a problem since I have 4 machines making packages, everytime I need to update them it is quite a mission. Thanks Guys !!!
It doesn't actually delete anything. _rc7/final will have this fixed.
uhm, mine deletes the directory if unmounted. builder ~ # mount ip:/builds/p4 on /usr/portage/packages type nfs (rw,soft,addr=ip) Number of files: 98693 Number of files transferred: 258 Total file size: 76361535 bytes Total transferred file size: 575687 bytes Literal data: 575687 bytes Matched data: 0 bytes File list size: 2178949 Total bytes written: 5344 Total bytes read: 2420163 wrote 5344 bytes read 2420163 bytes 124384.97 bytes/sec total size is 76361535 speedup is 31.48 rsync error: some files could not be transferred (code 23) at main.c(1064) Errors delete_one: rmdir "/usr/portage/packages" failed: Device or resource busy And so on till number three... rc6 is running atm on my machines...
*** Bug 65606 has been marked as a duplicate of this bug. ***
*** Bug 65519 has been marked as a duplicate of this bug. ***
Bug has been fixed and released in stable portages on or before 2.0.51-r2