ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin S. Uvarin" <khedin@mail.ru>
To: Avramenko Andrew <liksx@mail.ru>,
	ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Ulogd: file too large
Date: Thu, 28 Jun 2007 00:39:34 +0400
Message-ID: <200706280039.35044.khedin@mail.ru> (raw)
In-Reply-To: <E1I2pqD-0001Di-00.liksx-mail-ru@f64.mail.ru>

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) А.Левин

      reply	other threads:[~2007-06-27 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 14:46 Avramenko Andrew
2007-06-27 20:39 ` Konstantin S. Uvarin [this message]

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=200706280039.35044.khedin@mail.ru \
    --to=khedin@mail.ru \
    --cc=community@lists.altlinux.org \
    --cc=liksx@mail.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 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