Skip to content

Don't break systems on apt-get upgrade#97

Open
kpcyrd wants to merge 1 commit intojordansissel:masterfrom
kpcyrd:dont-break-systems-on-upgrade
Open

Don't break systems on apt-get upgrade#97
kpcyrd wants to merge 1 commit intojordansissel:masterfrom
kpcyrd:dont-break-systems-on-upgrade

Conversation

@kpcyrd
Copy link

@kpcyrd kpcyrd commented Feb 29, 2016

postrm is also executed on upgrades, this broke upgrades if the user was
currently in use, leaving apt in a broken state. After the upgrade the user
would be recreated, but might get a different uid which breaks permissions of
the packaged application.

This patches prevents user deletion unless the package is purged.

postrm is also executed on upgrades, this broke upgrades if the user was
currently in use, leaving apt in a broken state. After the upgrade the user
would be recreated, but might get a different uid which breaks permissions of
the packaged application.

This patches prevents user deletion unless the package is purged.
@kpcyrd
Copy link
Author

kpcyrd commented Feb 29, 2016

This is related to elastic/kibana#6310 and elastic/kibana#6262

@jordansissel
Copy link
Owner

This would break things for non-debian systems which don't have a concept of "purge".. Not sure how to solve this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants