From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Как lightsquid запускаемого из под одноименного пользователя читать /var/log/squid/?
Date: Tue, 06 Dec 2005 18:51:04 +0300
Message-ID: <4395B368.9030004@solin.spb.ru> (raw)
In-Reply-To: <4395AC17.6020008@altlinux.ru>
Slava Dubrovskiy пишет:
> Здравствуйте.
>
> Исправляя [Bug 8592]
>
>
>>- в /etc/cron.d/lightsquid можно положить такое:
>>45 03 * * * root /bin/su - -c /usr/sbin/lightparser.pl -s /bin/sh _lightsquid
>>
>>- пользователя _lightsquid надо добавлять в группу squid
>>
>
> Столкнулся с тем, что чтобы получить возможность читать /var/log/squid/
> необходимо быть или root или входить в группу squid. Но если я создаю
> псевдопользователя и в %pre добавляю пользователя с вхождением в группу
> squid то возможна ошибка, если группы squid не существует, т.к. совсем
> недавно попросили убрать зависимость на squid [#8352]
>
> Как быть? Надо опять проставлять зависимость на пакет squid?
> Может запускать парсер из под рута, а вот .cgi скрипты пусть работают от
> пользователя lightsquid?
>
1. Добавить во входящую в пакет документацию файл README.ALT (лучше
-- README.ALT-ru_RU.KOI8-R ;-)) с описанием необходимых действий.
2. В %post -- выводить сообщение об этом.
--
С уважением. Алексей.
next prev parent reply other threads:[~2005-12-06 15:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 15:19 ` Slava Dubrovskiy
2005-12-06 15:51 ` Aleksey Avdeev [this message]
2005-12-06 16:15 ` Dmitry V. Levin
2005-12-06 16:37 ` [devel] " Michael Shigorin
2005-12-06 16:25 ` [devel] " Denis Ovsienko
2005-12-06 16:37 ` [devel] " Michael Shigorin
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=4395B368.9030004@solin.spb.ru \
--to=solo@solin.spb.ru \
--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