Am 15.01.2016 um 01:07 schrieb Andrew Lutomirski:
On Thu, Jan 14, 2016 at 4:01 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:Am 15.01.2016 um 00:36 schrieb Andrew Lutomirski:If, for example, it simply installed into /lib/modules/VERSION/akmod/path/to/driver.ko, then rpm could be taught to delete /lib/modules/VERSION when the corresponding kernel package goes away (either using a scriptlet in the kernel package or an RPM trigger, I imagine), and everything would work nicely without injecting extra rpms into the systemrpm's remove files and folders they installed if that folders are not empty because foreign files that files and the folders will stay afetr remove - there is no "but" - it is unacceptable when a package purges a whole folder due removal because you can't know what and why the user stored there any package doing such craft would need to be fixed so don't propose any package should start such black magicI'll ask again: can you please think just a little bit before arbitrarily objecting to things people suggest on this list?
i think more than just a little bit
Suppose that the removal of kernel-core-4.3.3-300.fc23.x86_64 automatically deleted everything in /lib/modules/4.3.3-300.fc23.x86_64/akmods. What, if anything, would go wrong? I'm serious. That folder would exist for the /specific purpose/ of being unlinked when the matching kernel goes away
it is not part of the kernel and there is no business to include *arbitrarily* fuzzy logic in a package because other 3rd party scripts could have stored something there which might be removed
*especially* not in the kernel package
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx