ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Ulogd: file too large
@ 2007-06-25 14:46 Avramenko Andrew
  2007-06-27 20:39 ` Konstantin S. Uvarin
  0 siblings, 1 reply; 2+ messages in thread
From: Avramenko Andrew @ 2007-06-25 14:46 UTC (permalink / raw)
  To: community

> В принципе, я наверное и сам могу найти это место и поправить (или
> убедиться, что это уже сделали). Только не знаю, когда.

Если не затруднит, повесьте пожалуйста багу на ulogd/Sisyphus - bugzilla.altlinux.org
У меня как будет время - попробую воспроизвести. Возможно в upstream уже пофиксили.


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

* Re: [Comm] Ulogd: file too large
  2007-06-25 14:46 [Comm] Ulogd: file too large Avramenko Andrew
@ 2007-06-27 20:39 ` Konstantin S. Uvarin
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin S. Uvarin @ 2007-06-27 20:39 UTC (permalink / raw)
  To: Avramenko Andrew, ALT Linux Community

On Monday 25 June 2007 18:46, Avramenko Andrew wrote:
> > В принципе, я наверное и сам могу найти это место и поправить (или
> > убедиться, что это уже сделали). Только не знаю, когда.
>
> Если не затруднит, повесьте пожалуйста багу на ulogd/Sisyphus -
> bugzilla.altlinux.org У меня как будет время - попробую воспроизвести.
> Возможно в upstream уже пофиксили.

Что-то у меня руки все не доходят до багзиллы... Вот что удалось накопать: 

Сорцы, скачанные с сайта (т.е. свежие) не заморачиваются и честно делают fopen 
("log/file/name", "a"); 

Собрать-то я их собрал, а вот запустить не свезло -- что-то поменяли в 
конфигах, и мой из /etc/ не устроил. 

Так вот, соответственно, если у нас fopen вызывает open (O_WHATEVER|
O_LARGEFILE), то этого бага нет, а если open(O_WHATEVER), то люди типа меня с 
32-битной сборкой могут получить EFBIG. 

Можно сделать open () и потом fdopen (), наверное....

Кстати, давно хотел спросить, почему нельзя на автомате подставлять 
O_LARGEFILE в любой open? Гугл не дает ответа...

-- 
Konstantin S. Uvarin
"Випиль зи капель!" /*И. Поммер*/ (c) А.Левин

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

end of thread, other threads:[~2007-06-27 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-25 14:46 [Comm] Ulogd: file too large Avramenko Andrew
2007-06-27 20:39 ` Konstantin S. Uvarin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git