FS#53394 - [rethinkdb] Users are created too late
Attached to Project:
Community Packages
Opened by Janne Heß (das_j) - Tuesday, 21 March 2017, 12:02 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 30 April 2019, 13:21 GMT
Opened by Janne Heß (das_j) - Tuesday, 21 March 2017, 12:02 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 30 April 2019, 13:21 GMT
|
Details
Description:
The .install file of RethinkDB contains a line that chowns /var/lib/rethinkdb to the user rethinkdb. The user, however, is not created yet. It will be created as sysuser. This takes place after the install file. Additional info: * package version(s) rethinkdb 3.2.0-1 * config and/or log files etc. Pacman output: (2/2) installing rethinkdb [----------------------------------------] 100% Recursively removing directory /var/lib/rethinkdb/default/tmp chown: invalid user: ‘rethinkdb:rethinkdb’ error: command failed to execute correctly :: Running post-transaction hooks... (1/4) Updating system user accounts... Steps to reproduce: Install RethinkDB on a system where it was never installed before. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Tuesday, 30 April 2019, 13:21 GMT
Reason for closing: Deferred
Additional comments about closing: rethinkdb has been moved to the AUR
Tuesday, 30 April 2019, 13:21 GMT
Reason for closing: Deferred
Additional comments about closing: rethinkdb has been moved to the AUR
There is no such thing as a hook that runs after the package files are extracted and before the install script is run. That's kind of what an install script is *for*.
I fail to see what the install script even accomplishes at all, running a default invocation of the software to create defaults should be left to the user, if you really want it could be a post_install message I guess.