From: Slava Semushin <slava.semushin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] не работает %post_service
Date: Fri, 24 Sep 2010 17:11:31 +0700
Message-ID: <AANLkTi=d8J0xgcw9YeJxuD7ZieXD9TdwGiQT0Vag_GQP@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=er-APyWp09KGbTGCF4WzRdcynE_F=BmLtMgRJ@mail.gmail.com>
24 сентября 2010 г. 16:49 пользователь Gennady Kushnir
<baywind@altlinux.org> написал:
> Добрый день.
> Кто разбирается, помогите разобраться, пожалуйста.
> Собираю пакет, который добавляет модуль к апачу. Хочу, чтобы модуль
> активировался после установки.
> Для этого создаю постскрипт:
>
> %post
> %_sbindir/a2chkconfig >/dev/null
> %post_service %apache2_dname
>
> Сборка проходит нормально, но при установке на тестовую систему апач
> не рестартует - приходится это делать руками.
> А при сборке в Сизифе фейлится тест инсталляции.
>
> <13>Sep 23 20:57:09 rpmi: woadaptor-5.4-alt1 installed
> error reading information on service httpd2: No such file or directory
> error: execution of %post scriptlet from woadaptor-5.4-alt1 failed,
> exit status 1
> hsh-install: Packages installation failed.
>
> чего он не может найти, ведь в зависимостях у меня честно прописано:
> Requires: apache2-common >= 2.2.0
Поппробуйте Requires(post): apache2-common >= 2.2.0
--
Slava Semushin
next prev parent reply other threads:[~2010-09-24 10:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 9:49 ` Gennady Kushnir
2010-09-24 10:11 ` Slava Semushin [this message]
2010-09-24 10:12 ` Alexey I. Froloff
2010-09-24 11:10 ` Gennady Kushnir
2010-09-24 11:17 ` Alexey I. Froloff
2010-09-24 11:33 ` Gennady Kushnir
2010-09-24 12:41 ` Андрей Черепанов
2010-09-24 14:59 ` Led
2010-09-24 15:58 ` Gennady Kushnir
2010-09-24 19:41 ` Michael Shigorin
2010-09-24 14:57 ` Michael Shigorin
2010-09-24 11:37 ` Gennady Kushnir
2010-09-24 20:49 ` Dmitry V. Levin
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='AANLkTi=d8J0xgcw9YeJxuD7ZieXD9TdwGiQT0Vag_GQP@mail.gmail.com' \
--to=slava.semushin@gmail.com \
--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