Univention Bugzilla – Bug 53656
Remove ntp or plymouth also remove almost Univention packages
Last modified: 2021-08-16 12:55:38 CEST
Created attachment 10797 [details] apt purge Hi there, when removing ntp or plymouth, I've noticed it also remove other univention packages too. I've tried with Saltstack state pkg.purged and apt purge and univention-remove which I attached log in Attachment
Created attachment 10798 [details] univention-remove
"ntp" is essential for UCS to work. Therefore it is fulled in by the role meta package. You MUST NOT remove this package! "plymouth" currently is also pulled in as a hard "Dependency" by this meta package and thus cannot be removed. The packages as installed for a purpose and are required for proper functioning of UCS. Removing them will break some functionality of UCS. We (Univention) decided to use certain implementations (NTP over chrony or systemd-timed, ...) and there provide no option to choose a different implementation just because you don't like our choosing. Instead of removing them you can disable some of them if those services are not needed in your environment, e.g. plymouth by setting `ucr set grub/bootsplash=nosplash`. FYI: There already is a feature request to switch to a different NTP implementation Bug #47939
(In reply to Philipp Hahn from comment #2) > "ntp" is essential for UCS to work. Therefore it is fulled in by the role > meta package. You MUST NOT remove this package! > "plymouth" currently is also pulled in as a hard "Dependency" by this meta > package and thus cannot be removed. > > The packages as installed for a purpose and are required for proper > functioning of UCS. Removing them will break some functionality of UCS. We > (Univention) decided to use certain implementations (NTP over chrony or > systemd-timed, ...) and there provide no option to choose a different > implementation just because you don't like our choosing. > Instead of removing them you can disable some of them if those services are > not needed in your environment, e.g. plymouth by setting `ucr set > grub/bootsplash=nosplash`. > > FYI: There already is a feature request to switch to a different NTP > implementation Bug #47939 Hi, Is there any document listed essential packages not just ntp/plymouth, then I can update our Saltstack to work with Univention? Thanks
(In reply to Antonio Nguyen from comment #3) > Is there any document listed essential packages not just ntp/plymouth, then > I can update our Saltstack to work with Univention? I know of no such list. Depending the the components you have installed (Mail-Server, AD compatible DC, ...) and the server role you have chosen for your systems (Primary/Backup/Replica/Member) there are the high-level packages univention-mail univention-samba ... univention-server-master (UCA-5: Primary) univention-server-backup univention-server-slave (UCS-5: Replica) univention-server-member which pull in all the required Packages through their "Depends" statements in the debian/control files <https://www.debian.org/doc/debian-policy/ch-relationships.html>. Pre-Depends / Depends: hard requirement Recommends: soft requirement installed by default Suggests: soft requirement NOT installed by default The role packages next pull in either univention-role-server-common (when running in a VM or on hardware) univention-container-role-server-common (when running inside a container) when then depends on univention-role-common univention-container-role-common respectively. Following that chain transitively you get all the essential UCS packages. For example you can build a list of all packages via this on a Member Server: apt-cache depends --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --recurse --installed univention-server-member Packages ONLY "Recommended" or "Suggested" by any other packages - but there MUST NOT be any other essential package having a (transitive) "Depends" - can be removed, but this might breaks other packages in subtle ways, e.g. you can remove `univention-docker` but this will prevent you from using Apps from the App-Center.
FYI If you don't want ntp to be active you could set `ucr set ntp/autostart=false"