pgbouncer install script create home dierctory - bug ?
От | Cédric Villemain |
---|---|
Тема | pgbouncer install script create home dierctory - bug ? |
Дата | |
Msg-id | 559BE28B.70106@2ndQuadrant.com обсуждение исходный текст |
Список | pgsql-pkg-yum |
I have been surprised by pgbouncer install creating a home directory as shown below («useradd -m» is the interesting bit). «-M» is used to prevent home directory creation. Is there a typo or an expected behavior? $ rpm -qp --scripts pgbouncer-1.5.4-3.rhel7.x86_64.rpm warning: pgbouncer-1.5.4-3.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY preinstall scriptlet (using /bin/sh): groupadd -r pgbouncer >/dev/null 2>&1 || : useradd -m -g pgbouncer -r -s /bin/bash \ -c "PgBouncer Server" pgbouncer >/dev/null 2>&1 || : touch /var/log/pgbouncer.log chown pgbouncer:pgbouncer /var/log/pgbouncer.log chmod 0700 /var/log/pgbouncer.log postinstall scriptlet (using /bin/sh): chkconfig --add pgbouncer chown -R pgbouncer:pgbouncer /etc/pgbouncer preuninstall scriptlet (using /bin/sh): if [ $1 = 0 ] ; then /sbin/service pgbouncer condstop >/dev/null 2>&1 chkconfig --del pgbouncer fi postuninstall scriptlet (using /bin/sh): if [ "$1" -ge "1" ] ; then /sbin/service pgbouncer condrestart >/dev/null 2>&1 || : fi -- Cédric Villemain +33 (0)6 20 30 22 52 http://2ndQuadrant.fr/ PostgreSQL: Support 24x7 - Développement, Expertise et Formation
В списке pgsql-pkg-yum по дате отправления: