ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] squid права на логи в пакете STABLE4-alt2
@ 2003-11-04  6:40 Mike Lykov
  2003-11-04  9:06 ` Konstantin Timoshenko
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Lykov @ 2003-11-04  6:40 UTC (permalink / raw)
  To: sisyphus

Здравствуйте.

Поставил я squid-2.5.STABLE4-alt2 из сизифа. работало оно, работало, и тут 
настал конец месяца. 
А у меня в cron.monthly стоит squid -k rotate

Прихожу вчера, а ничего не ротировалось. Стал смотреть в логи, а там:

2003/11/01 04:42:00| logfileRotate: /var/log/squid/access.log
2003/11/01 04:42:00| xrename: Cannot rename /var/log/squid/access.log to 
/var/log/squid/access.log.0: (1) Operation not permitted

2003/11/01 04:42:00| logfileRotate: /var/log/squid/useragent.log
2003/11/01 04:42:00| xrename: Cannot rename /var/log/squid/useragent.log to 
/var/log/squid/useragent.log.0: (1) Operation not permitted

при этом права на /var/log/squid  - root:squid 770, /var/log/squid/access.log 
- root:squid 770

Поменял на squid:squid  - и заработало. 

Бага в пакете? или что?

-- 
Mike
registered linux user #315334
jabber id: combr@jabber.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] squid права на логи в пакете STABLE4-alt2
  2003-11-04  6:40 [sisyphus] squid права на логи в пакете STABLE4-alt2 Mike Lykov
@ 2003-11-04  9:06 ` Konstantin Timoshenko
  2003-11-04  9:42   ` Mike Lykov
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Timoshenko @ 2003-11-04  9:06 UTC (permalink / raw)
  To: sisyphus

On Tue, 4 Nov 2003 10:40:39 +0400
Mike Lykov <combr@vesna.ru> wrote:

> Здравствуйте.
> 
> Поставил я squid-2.5.STABLE4-alt2 из сизифа. работало оно, работало, и
> тут настал конец месяца. 
> А у меня в cron.monthly стоит squid -k rotate
> 
> Прихожу вчера, а ничего не ротировалось. Стал смотреть в логи, а там:
> 
> 2003/11/01 04:42:00| logfileRotate: /var/log/squid/access.log
> 2003/11/01 04:42:00| xrename: Cannot rename /var/log/squid/access.log
> to /var/log/squid/access.log.0: (1) Operation not permitted
> 
> 2003/11/01 04:42:00| logfileRotate: /var/log/squid/useragent.log
> 2003/11/01 04:42:00| xrename: Cannot rename
> /var/log/squid/useragent.log to /var/log/squid/useragent.log.0: (1)
> Operation not permitted
> 
> при этом права на /var/log/squid  - root:squid 770,
> /var/log/squid/access.log - root:squid 770
права должны быть root.squid 3770

-- 
Kostya.
mailto:kt@tyumen.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] squid права на логи в пакете STABLE4-alt2
  2003-11-04  9:06 ` Konstantin Timoshenko
@ 2003-11-04  9:42   ` Mike Lykov
  2003-11-04 10:08     ` Konstantin Timoshenko
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Lykov @ 2003-11-04  9:42 UTC (permalink / raw)
  To: sisyphus

В сообщении от Вторник 04 Ноябрь 2003 13:06 Konstantin Timoshenko написал:

> > 2003/11/01 04:42:00| logfileRotate: /var/log/squid/useragent.log
> > 2003/11/01 04:42:00| xrename: Cannot rename
> > /var/log/squid/useragent.log to /var/log/squid/useragent.log.0: (1)
> > Operation not permitted

> права должны быть root.squid 3770

на папку сейчас так и есть 3770.

факт в том, что после установки пакета (в пакете есть скрипты такие:
/bin/chown 0:squid /var/log/squid/*.log >/dev/null 2>&1 ||:                                                 
/bin/chmod 660 /var/log/squid/*.log >/dev/null 2>&1 ||:  )

оно не работало.

-- 
Mike
registered linux user #315334
jabber id: combr@jabber.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] squid права на логи в пакете STABLE4-alt2
  2003-11-04  9:42   ` Mike Lykov
@ 2003-11-04 10:08     ` Konstantin Timoshenko
  2003-11-04 11:10       ` Mike Lykov
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Timoshenko @ 2003-11-04 10:08 UTC (permalink / raw)
  To: sisyphus

On Tue, 4 Nov 2003 13:42:55 +0400
Mike Lykov <combr@vesna.ru> wrote:

> В сообщении от Вторник 04 Ноябрь 2003 13:06 Konstantin Timoshenko
> написал:
> 
> > > 2003/11/01 04:42:00| logfileRotate: /var/log/squid/useragent.log
> > > 2003/11/01 04:42:00| xrename: Cannot rename
> > > /var/log/squid/useragent.log to /var/log/squid/useragent.log.0:
> > > (1) Operation not permitted
> 
> > права должны быть root.squid 3770
> 
> на папку сейчас так и есть 3770.
> 
> факт в том, что после установки пакета (в пакете есть скрипты такие:
> /bin/chown 0:squid /var/log/squid/*.log >/dev/null 2>&1 ||:           
>                                      
> /bin/chmod 660 /var/log/squid/*.log >/dev/null 2>&1 ||:  )
> 
> оно не работало.
в следующей сборке исправлю права

-- 
Kostya.
mailto:kt@tyumen.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] squid права на логи в пакете STABLE4-alt2
  2003-11-04 10:08     ` Konstantin Timoshenko
@ 2003-11-04 11:10       ` Mike Lykov
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Lykov @ 2003-11-04 11:10 UTC (permalink / raw)
  To: sisyphus

В сообщении от Вторник 04 Ноябрь 2003 14:08 Konstantin Timoshenko написал:

> в следующей сборке исправлю права

Спасибо, было бы замечательно ;)

-- 
Mike
registered linux user #315334
jabber id: combr@jabber.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-04 11:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-04  6:40 [sisyphus] squid права на логи в пакете STABLE4-alt2 Mike Lykov
2003-11-04  9:06 ` Konstantin Timoshenko
2003-11-04  9:42   ` Mike Lykov
2003-11-04 10:08     ` Konstantin Timoshenko
2003-11-04 11:10       ` Mike Lykov

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