View Issue Details

IDProjectCategoryView StatusLast Update
0003710SOGoPackaging (RedHat)public2016-06-03 14:39
Reporterrevanx Assigned To 
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Fixed in Version3.1.2 
Summary0003710: Bug in preinstall scriptlet of sogo-3.1.1 RPM package

Preinstall scriplet of sogo-3.1.1 package contains bug where existence of group sogo is forced but usage of this group is not included in useradd command thus resulting in error because it tries to create group that already exists.


if ! id sogo >& /dev/null; then
/usr/sbin/useradd -d /var/lib/sogo -c "SOGo daemon" -s /sbin/nologin -M -r sogo

should be changed to this:

if ! id sogo >& /dev/null; then
/usr/sbin/useradd -d /var/lib/sogo -c "SOGo daemon" -s /sbin/nologin -M -r -g sogo sogo

Steps To Reproduce
  1. Add official CentOS 7 repository
  2. yum install sogo
TagsNo tags attached.


has duplicate 0003716 closedludovic Bug in preinstall scriptlet of sogo-3.1.1 RPM package 
has duplicate 0003715 resolvedludovic Error in PREIN scriptlet in rpm package sogo-2.3.11-1.centos6.x86_64 




2016-06-03 14:38

reporter   ~0010288

Fixed the scriptlet for proper user creation; sorry for the inconvenience.

Issue History

Date Modified Username Field Change
2016-06-03 08:00 revanx New Issue
2016-06-03 14:38 plevesque Note Added: 0010288
2016-06-03 14:39 francis Status new => resolved
2016-06-03 14:39 francis Resolution open => fixed
2016-06-03 14:39 francis Fixed in Version => 3.1.2
2016-06-05 17:53 ludovic Relationship added has duplicate 0003716
2016-06-05 18:20 ludovic Relationship added has duplicate 0003715