ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] apt-get remove apache
Date: Sat, 5 Apr 2003 16:01:42 +0300
Message-ID: <20030405130142.GF6873@sam-solutions.net> (raw)
In-Reply-To: <20030405125603.GG26206@is.com.ua>

On Sat, Apr 05, 2003 at 03:56:03PM +0300, Vladimir Alyekhin wrote:
> Hi Alexander!
> On Sat, Apr 05, 2003 at 02:08:16PM +0300, you wrote:
> > On Sat, Apr 05, 2003 at 10:52:08AM +0300, Vladimir Alyekhin wrote:
> > > if [ $1 = 0 ]; then
> > >    rm -rf /var/log/httpd/*
> > > fi
> > > 				       
> > > Почему папка /var/log/httpd принадлежит пакету apache-common а сносит ее пакет apache???
> > В данном случае удаляется не /var/log/httpd, а его содержимое. Пакет
> > apache сам каталог не удаляет, посмотрите внимательнее.
> Я именно поэтому и спрашивал, зачем за собой удалять логи? А если в
> /var/log/httpd пишет еще и httpd-perl? (у меня именно так и было)
Я вижу два решения:
1. Перенести владение каталогом /var/log/httpd куда-нибудь в filesystem,
поскольку, по-хорошему, это общесистемный каталог протоколов веб-серверов
(не только Apache).
2. Принять некоторые правила наименования логов для Apache и Apache-perl и
учитывать их при удалении.

-- 
/ Alexander Bokovoy
---
A real patriot is the fellow who gets a parking ticket and rejoices
that the system works.


  reply	other threads:[~2003-04-05 13:01 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
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 [this message]
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=20030405130142.GF6873@sam-solutions.net \
    --to=a.bokovoy@sam-solutions.net \
    --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