[shadow] move files to shadow package
| Task Info (Flyspray) | |
|---|---|
| Opened By | David Runge (dvzrv) |
| Task ID | 76240 |
| Type | Bug Report |
| Project | Arch Linux |
| Category | Packages: Core |
| Version | None |
| OS | All |
| Opened | 2022-10-18 21:36:14 UTC |
| Status | Assigned |
| Assignee | Sébastien Luttringer (seblu) |
| Assignee | David Runge (dvzrv) |
Details
Description: We currently track the following files in the filesystem package which should be moved to the shadow package:
/etc/group /etc/gshadow /etc/passwd /etc/shadow /etc/subgid /etc/subuid /usr/share/factory/etc/group /usr/share/factory/etc/gshadow /usr/share/factory/etc/passwd /usr/share/factory/etc/shadow /usr/share/factory/etc/subgid /usr/share/factory/etc/subuid
All of the above are handled by the shadow package and therefore should eventually be moved there (all files below /etc also being in the backup array).
A separate tmpfiles.d integration should be created for the shadow package, to deal with the automatic creation of files from their factory defaults (see https://github.com/archlinux/svntogit-packages/blob/854cf780f2cc4f38fcb254525daa39d8240c14da/trunk/tmpfiles)