From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] [Bug 11259] libcourier-authlib: insufficient package dependencies Date: Tue, 17 Apr 2007 02:48:22 +0400 Message-ID: <20070416224822.GC30687@basalt.office.altlinux.org> (raw) In-Reply-To: <20070416013035.1E13538349F2@bugzilla.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1142 bytes --] Hi, On Mon, Apr 16, 2007 at 05:30:34AM +0400, bugzilla-daemon@altlinux wrote: > https://bugzilla.altlinux.org/show_bug.cgi?id=11259 [...] > ------- Additional Comments From dlebkov@altlinux 2007-04-16 05:30 ------- > Дмитрий, что-то я не мог сообразить, что же нужно чделать ... :( > UID/GID courier добавляется в секции %preinst пакета libcourier-authlib при > помощи useradd/groupadd. Для начала, каталог /etc/courier-authlib с правами доступа drwxr-xr-x 2 courier courier /etc/courier-authlib нарушает пункт 5.5 secure packaging policy. Что касается %pre, то $ rpmquery -p --qf '%{prein}\n' libcourier-authlib-0.59.1-alt1.0.x86_64.rpm /usr/sbin/groupadd -r -f courier 2>/dev/null ||: /usr/sbin/useradd -g courier -c 'Courier Authdaemon server' -d /var/lib/courier-authlib -s '' \ -r courier 2>/dev/null || : Не надо давить вывод и игнорировать код возврата groupadd. (в отличие от useradd, вывод и код возврата от которого пока ещё приходится давить). А вообще, ошибка эта воспроизводится только в hasher'е, да ещё в очень специальных условиях, так что можете считать что её нет. :) -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
parent reply other threads:[~2007-04-16 22:48 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <20070416013035.1E13538349F2@bugzilla.altlinux.org>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070416224822.GC30687@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git