From: Vladimir Alyekhin <flea@is.com.ua>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] apt-get remove apache
Date: Sat, 5 Apr 2003 10:52:08 +0300
Message-ID: <20030405075208.GF26206@is.com.ua> (raw)
In-Reply-To: <20030404183401.GC507@sam-solutions.net>
Hi Alexander!
On Fri, Apr 04, 2003 at 09:34:02PM +0300, you wrote:
> On Fri, Apr 04, 2003 at 09:08:12PM +0300, Vladimir Alyekhin wrote:
> > Вечер добрый...
> >
> > Уважаемые, а подскажите пожалуйста, зачем при apt-get remove apache удаляется директория /var/log/httpd ???
> > Она-то в чем провинилась??!!
> В том, что принадлежит пакету apache-common. А Вы как думали? Любой
> системный ресурс должен кому-то принадлежать.
$ rpm -qf /var/log/httpd
apache-common-1.3.27rusPL30.16-alt13
Заметьте, _common_!
А теперь смотрим внимательно на последние 3 строчки вывода команды rpm -q --scripts apache:
$ rpm -q --scripts apache
postinstall scriptlet (through /bin/sh):
if [ $1 = 1 ]; then
/sbin/chkconfig --add httpd
else
/sbin/service httpd condrestart ||:
fi
preuninstall scriptlet (through /bin/sh):
if [ $1 = 0 ]; then
/sbin/chkconfig --del httpd ||:
/sbin/service httpd condstop ||:
fi
if [ $1 = 0 ]; then
rm -rf /var/log/httpd/*
fi
Почему папка /var/log/httpd принадлежит пакету apache-common а сносит ее пакет apache???
--
Vladimir Alyekhin
CJSC "Internet-Service"
VA2-UANIC
next prev parent reply other threads:[~2003-04-05 7:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 18:08 Vladimir Alyekhin
2003-04-04 18:34 ` Alexander Bokovoy
2003-04-05 7:52 ` Vladimir Alyekhin [this message]
2003-04-05 8:22 ` Мельников Максим Андреевич
2003-04-05 11:08 ` Alexander Bokovoy
2003-04-05 12:56 ` Vladimir Alyekhin
2003-04-05 13:01 ` Alexander Bokovoy
2003-04-07 17:12 ` Igor Muratov
2003-04-07 15:35 ` Sviatoslav Sviridov
2003-04-07 19:38 ` Alexander Bokovoy
2003-04-07 20:16 ` [sisyphus] " Michael Shigorin
2003-04-07 20:39 ` Dmitry V. Levin
2003-04-08 10:20 ` Michael Shigorin
2003-04-08 11:24 ` 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=20030405075208.GF26206@is.com.ua \
--to=flea@is.com.ua \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git