Re: SPECS: inn.spec - more logs cleanup (or does it write directly the...

2006-03-25 Thread Jakub Bogusz
On Sat, Mar 25, 2006 at 05:13:30PM +0100, Jakub Bogusz wrote:
[...]
> BTW: is it INN (2.4.2) or syslog-ng (1.9.9) fault to write non-critical
> messages to news.crit, like these?

syslog-ng was broken, fixed on HEAD.


-- 
Jakub Boguszhttp://qboosh.cs.net.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: inn.spec - more logs cleanup (or does it write directly the...

2006-03-25 Thread Jakub Bogusz
Switched to proper list...

On Sat, Mar 25, 2006 at 05:02:58PM +0100, Paweł Gołaszewski wrote:
> On Sat, 25 Mar 2006, glen wrote:
> > Author: glen Date: Sat Mar 25 15:50:58 2006 GMT
> > Module: SPECS Tag: HEAD
> >  Log message:
> > - more logs cleanup (or does it write directly there?)
> [...]
> > -touch $RPM_BUILD_ROOT/var/log/news/news.notice
> > -touch $RPM_BUILD_ROOT/var/log/news/news.crit
> > -touch $RPM_BUILD_ROOT/var/log/news/news.err
> [...]
> 
> AFAIR it can write there directly.
> Anyway - spec in PLD needs a lot of work...

These files are handled through syslog.
But inn directly creates some more log files, not handled by rpm
package now:

# lsof | grep /var/log/news
innd   5582   news2w  REG3,108401144 
/var/log/news/errlog
syslog-ng  7014   root   11w  REG3,1391769612435 
/var/log/news/news.notice
syslog-ng  7014   root   21w  REG3,1 98509618089 
/var/log/news/news.crit

# LC_ALL=C rpm -qf /var/log/news/*
file /var/log/news/errlog is not owned by any package
file /var/log/news/expire.list is not owned by any package
file /var/log/news/expire.log is not owned by any package
file /var/log/news/news is not owned by any package
inn-2.4.2-1.athlon
inn-2.4.2-1.athlon
inn-2.4.2-1.athlon
file /var/log/news/unwanted.log is not owned by any package

BTW: is it INN (2.4.2) or syslog-ng (1.9.9) fault to write non-critical
messages to news.crit, like these?

Mar 25 16:38:05 machine nnrpd[304]: Reading access from /etc/news/readers.conf
Mar 25 16:38:05 machine nnrpd[304]: Auth strategy 'localhost' does not match 
client.  Removing.
Mar 25 16:38:05 machine nnrpd[304]: machine.domain res 
Mar 25 16:38:05 machine nnrpd[304]: machine.domain match_user  


innwatch annoys me each time I run slrn.
It happens since syslog-ng upgrade to 1.9.9.


-- 
Jakub Boguszhttp://qboosh.cs.net.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: inn.spec - more logs cleanup (or does it write directly the...

2006-03-25 Thread Jakub Bogusz
On Sat, Mar 25, 2006 at 04:50:58PM +0100, glen wrote:
> Author: glen Date: Sat Mar 25 15:50:58 2006 GMT
> Module: SPECS Tag: HEAD
>  Log message:
> - more logs cleanup (or does it write directly there?)

It's more general issue, not only inn-related.
Many syslog-handled log files are owned by some rpm packages, some of
them are created in %post.

So: should log files be created/owned by rpm packages or not?

> -%attr(770,root,news) %dir /var/log/news
> -%attr(770,root,news) %dir /var/log/archiv/news

Current default syslog/syslong-ng configuration in PLD use
/var/log/news/news.* - so when this dir doesn't exist, syslog will fail.
The same for /var/lib/archiv/news and default inn.logrotate.

> -%attr(664,news,news) %ghost /var/log/news/news.notice
> -%attr(660,news,news) %ghost /var/log/news/news.crit
> -%attr(660,news,news) %ghost /var/log/news/news.err

Won't rpm remove these log files on upgrade?


-- 
Jakub Boguszhttp://qboosh.cs.net.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: gawk.spec - created -devel

2006-03-25 Thread Elan Ruusamäe
On Saturday 25 March 2006 14:21, Tomasz Wittner wrote:
> On Fri 24. March 2006 23:54, glen wrote:
> > Author: glen Date: Fri Mar 24 22:54:27 2006 GMT
> > Module: SPECS Tag: HEAD
> >  Log message:
> > - created -devel
>
> What is the use of it?
creating modules for gawk (see env-update.spec)

> [...]
>
> > +%files devel
> > +%defattr(644,root,root,755)
> > +%{_includedir}
>
> %_includedir belogns to FHS

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: gawk.spec - created -devel

2006-03-25 Thread Tomasz Wittner
On Sat 25. March 2006 13:21, Tomasz Wittner wrote:
> On Fri 24. March 2006 23:54, glen wrote:
> > Author: glen Date: Fri Mar 24 22:54:27 2006 GMT
> > Module: SPECS Tag: HEAD
> >  Log message:
> > - created -devel
> What is the use of it?
> [...]
> > +%files devel
> > +%defattr(644,root,root,755)
> > +%{_includedir}
> %_includedir belogns to FHS
Oops - I missed overwriting %_includedir macro - sorry.

-- 
Tomasz Wittner
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


STBR AC

2006-03-25 Thread Tomasz Wittner
Hi,

Please, send to ac builders:
wwwoffle.spec (HEAD)
hk_classes.spec (HEAD)
knoda.spec (HEAD)

-- 
Tomasz Wittner
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: gawk.spec - created -devel

2006-03-25 Thread Tomasz Wittner
On Fri 24. March 2006 23:54, glen wrote:
> Author: glen Date: Fri Mar 24 22:54:27 2006 GMT
> Module: SPECS Tag: HEAD
>  Log message:
> - created -devel
What is the use of it?
[...]
> +%files devel
> +%defattr(644,root,root,755)
> +%{_includedir}
%_includedir belogns to FHS
-- 
Tomasz Wittner
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SOURCES: libexif-pc.patch (NEW) - fix includedir in pkgconfig file

2006-03-25 Thread Jakub Bogusz
On Sat, Mar 25, 2006 at 11:38:00AM +0100, arekm wrote:
> Author: arekmDate: Sat Mar 25 10:38:00 2006 GMT
> Module: SOURCES   Tag: HEAD
>  Log message:
> - fix includedir in pkgconfig file
> 
>  Files affected:
> SOURCES:
>libexif-pc.patch (1.2 -> 1.3)  (NEW)
> 
>  Diffs:

> +diff -urN libexif-0.6.13.org/libexif/libexif.pc.in 
> libexif-0.6.13/libexif/libexif.pc.in
> +--- libexif-0.6.13.org/libexif/libexif.pc.in 2005-03-17 16:58:18.0 
> +0100
>  libexif-0.6.13/libexif/libexif.pc.in 2006-03-25 11:36:12.422870250 
> +0100
> +@@ -1,7 +1,7 @@
> + [EMAIL PROTECTED]@
> + [EMAIL PROTECTED]@
> + [EMAIL PROTECTED]@
> [EMAIL PROTECTED]@
> [EMAIL PROTECTED]@/libexif

Yet again - from libexif changelog:

  * For pkg-config users, force usage of #include 
(disable #include )


-- 
Jakub Boguszhttp://qboosh.cs.net.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en