FS#41532 - [redis] missing dependencies from install script

Attached to Project: Community Packages
Opened by daaku (daaku) - Tuesday, 12 August 2014, 00:29 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 12 September 2014, 12:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The install script uses these binaries: grep, groupadd, useradd, systemd-tmpfiles

It should depend on these packages to satisfy those dependencies: grep, shadow, systemd

Version: redis-2.8.13-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 12 September 2014, 12:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  grep and shadow addeds to deps in svn trunk only
Comment by Dave Reisner (falconindy) - Tuesday, 12 August 2014, 02:22 GMT
Under what real circumstances does this actually fail?
Comment by daaku (daaku) - Tuesday, 12 August 2014, 02:36 GMT
It may not be common, but installing it along with the rest of the system breaks the install script since the install process won't order things correctly. Even if it's rare, it's a possibility, and seems like a good idea to list out the dependencies.
Comment by Sergej Pupykin (sergej) - Tuesday, 12 August 2014, 17:03 GMT
grep, shadow are in base group
systemd-sysvcompat is in base group and it depends on systemd

base group is not added into deps, if you remove parts of base group, you should maintain dependencies manually.
Comment by daaku (daaku) - Tuesday, 12 August 2014, 17:28 GMT
Sigh, I feel this argument comes up repeatedly. Is it so difficult to have the package accurately reflect it's dependencies? Note I'm not removing parts of the base group, I'm just installing redis _along with_ the base group. `bash` is the only listed dependency, which is also in base. To be pedantic, redis also depends on glibc.

Loading...