From 7433ee2696fe3f463c0e68ceab1938412ab27849 Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Apr 14 2020 13:20:40 +0000 Subject: Issue 387 - Limit scriptlet usage --- diff --git a/modules/release-notes/pages/sysadmin/Sysadmins.adoc b/modules/release-notes/pages/sysadmin/Sysadmins.adoc index 00bb165..3339881 100644 --- a/modules/release-notes/pages/sysadmin/Sysadmins.adoc +++ b/modules/release-notes/pages/sysadmin/Sysadmins.adoc @@ -9,8 +9,8 @@ Use the navigation tab on the left to view release notes for various fields of i Previously, users were created in `%pre` file by calling the commands `getent`, `useradd`, and `groupadd`. -With this update, user are defined in the `sysusers.d` format. -It adds an rpm package `Provides generator` to create user() and group() virtual Provides for packages with sysusers.d files. +With this update, user are defined in the `sysusers.d` format. +It adds an rpm package `Provides generator` to create user() and group() virtual Provides for packages with sysusers.d files. An rpm package `Provides` generator is added to generate user() and group() for packages with sysusers.d files. @@ -25,12 +25,9 @@ NOTE: users are still created using old-style `useradd` calls. As a result, it makes possible to introspect system users. +== Limited scriptlet usage of core packages +In Fedora 32, core packages (packages that are used to build the minimal container image) have had all of their scriptlet calls (`%pre`, `%post`, `%preun`, `%postun`) removed. +This means the entire install process of the container image is now declarative and transparent to packaging tools such as `rpm`, `ostree`, or `composer`, the installation is faster, and keeping this approach in the future will allow for additional optimizations and features. - - - - - - - +Packages can still make changes to the system during installation by placing files in specific locations that trigger actions.