-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/local contents removed after updates #206
Comments
@cmarcelo I've run into this issue, too, but I think it's related to reboot, not update. I have seen my /usr/local/bin content get wiped as well, but only after a reboot. |
I tried several things, reboot, update, verify fix |
I don't have this issue.
what did you do before reboot?
|
I haven't done nothing special between the update and reboot (just closing emacs and mutt processes). The files in question are in /usr/local/bin/ (the directory bin itself it's also removed). For the record: got it again when updating this Monday (I rebooted just after the update). |
OK. At least for this last instance, I know what might have happened:
Sometime in the past we mistakenly shipped extra stuff in /usr/local, and now we are deleting it. |
|
looks like 25080 and 25440 both had these files. We should be able to reproduce this, then, and, of course, if this is actually the cause of other files being deleted, that needs to be fixed. |
@clearlinux/swupd-team |
These files are in containers-virt bundle, so it seems everytime that bundle gets update, we get the issue. That would explain why the issue only happens "now and then". |
And not for me - I never had that bundle installed. |
we need to do to /usr/local to what we do with kernels... never do a "d"
…On Tue, Oct 9, 2018 at 5:00 AM ahkok ***@***.***> wrote:
And not for me - I never had that bundle installed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#206 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPeFa1IAnacTff837uZqvTnGMp8M-yIks5ui7zdgaJpZM4Ww5_A>
.
|
Reproduction steps follow, 25440 will bring a new version of the deleted file.
Both hello and the bin directory will be missing after the update. You can use the swupd client for the first step too, just fix the update call accordingly. |
@cmarcelo I think this is a mixer bug... The deleted file versions should not be updated as part of a minversion bump, ever. I will file a bug. |
Bug filed: clearlinux/mixer-tools#455 |
@phmccarty thanks for filing that. The mixer issue you raise aggravates this issue. But I think it is possible the issue could've occurred at the first version the file was deleted (no minversions involved). Regardless of that, Clear Linux currently has a content bug: we shouldn't be shipping anything to /usr/local, and not marking anything as deleted. |
@cmarcelo Yes, it would have happened for the first version at which the file was deleted, too. You're right. |
The mixer considerations for I am tracking this issue as a bug in the |
I decided to open a new feature request for clearlinux/common instead. See clearlinux/common#11 Closing |
I've seen this happen now and then, after performing update manually and rebooting the machine.
Last update was from X to 25080. X is some release from the previous days (Sep 18 or Sep 17).
The text was updated successfully, but these errors were encountered: