Re: Remove a package together with a user and a group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Users and groups created when installing some packages (avahi, usbmuxd) are not deleted along with its removal. Is it related to https://archlinux.org/todo/pacman-hooks-systemd-sysuserstmpfiles/ and requires some changes? Or should I always delete them manually?
Hello,

If you decide, that you no longer need a user or a group, you have to manually delete it. This has to be a conscious decision, which is not something pacman or packages can do.

I can’t locate authoritative information right now, but I believe the linked TODO entry from 2017 was related to replacing manual invocations of `systemd-tmpfiles` and `systemd-sysusers` with the corresponding drop-in configuration files. See commits cd35d646⁽¹⁾ and 072e646d⁽²⁾ as examples.
____
⁽¹⁾ https://gitlab.archlinux.org/archlinux/packaging/packages/apache/-/commit/cd35d646f87101351e1754e34661db971ac7de40 ⁽²⁾ https://gitlab.archlinux.org/archlinux/packaging/packages/mariadb/-/commit/072e646ddc5e84eb054921b10083879f759a280f




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux