Description of problem: When installing chrome-gnome-shell with dnf I got these two messages when running the gdm script: Failed to preset unit: File /etc/systemd/system/display-manager.service already exists and is a symlink to /usr/lib/systemd/system/lightdm.service. Installing : gnome-shell-3.38.3-2.1.mga8.x86_64 58/58 Running script : gnome-shell-3.38.3-2.1.mga8.x86_64 58/58 Failed to preset unit, unit gnome-shell.service does not exist. Version-Release number of selected component (if applicable): 10.1-5 How reproducible: This is the first time I've seen it. Steps to Reproduce: 1. Open a terminal window. 2. Run dnf install chrome-gnome-shell -y as root. 3. During the installation of gdm you'll see the above mentioned messages.
Confirmed the messages are generated when installing gdm, gnome-shell, and chrome-gnome-shell (after removing them using "rpm -e --nodeps), however they are cosmetic, so lowering the priority and severity. The first message from gdm will not be generated if gdm is being installed and no other desktop manager has already been installed. A more informative message could possibly be generated instead, or the message suppressed. The second message for gnome-shell causes no harm. The script line is ... /usr/bin/systemctl --no-reload preset \--global gnome-shell.service || : The "|| :" at the end means "or true", so the return code from the line is 0 (success), whether the systemctl command works or not. No Mageia 8 package contains a file called gnome-shell.service. so the line cannot actually do anything useful. The entire postinstall scriptlet should be removed. Neither gdm or gnome shell have assigned maintainers, so assigning to all packagers.
Priority: Normal => LowCC: (none) => davidwhodginsSeverity: normal => minorAssignee: bugsquad => pkg-bugs
Chrome-gnome-Shell got removed from Mageia.
Resolution: (none) => OLDStatus: NEW => RESOLVED