-
Notifications
You must be signed in to change notification settings - Fork 136
error in post-installation script during upgrade to 1.14 #24
Comments
It looks this is caused because I set DUMP1090_USER="root". The adduser script generally doesn't complain about system users already existing but it insists they have UIDs in a specific range, which doesn't include root:
some other scripts seem to use getent to check for existence instead
|
Yeah, all sorts of things are likely to break if you say to use root. Don't use root. No, really, don't use root. It's a terrible idea :) I'll see what I can sort out in terms of handling existing users better though, thanks for the report. |
I knew it was a bad idea but dump1090 had previously been running as root before moving to the mutability package and I wasn't sure that a non-root user would have access to the USB device. I have set the user back to dump1090, reinstalled the package and all is OK now. |
Should be sorted for the future - it'll reject root now, and it uses getent as you suggested to avoid trying to create the user if it's already there. |
Upgrading from 1.13 package to to 1.14:
The text was updated successfully, but these errors were encountered: