Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
Elan =?iso-8859-2?q?Ruusam=E4e?= wrote: Name: logrotate [...] # change /var/log/archiv to /var/log/archive # always have archiv symlink (until all packages from Ac use new dir) if [ -L /var/log/archiv ]; then [...] I think, it is to late to introduce such a change in Ac. It may handle most cases and one important not handled may be too many. However it may ge good idea for Th. Just my opinion. -- === Andrzej M. Krzysztofowicz, Ph.D. [EMAIL PROTECTED] phone (48)(58) 347 14 61 Faculty of Applied Phys. Math., Gdansk University of Technology ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Fri, 30 Dec 2005, Elan Ruusamäe wrote: Mountmoint? attached diff and spec should handle common cases of /var/log/archiv and making use any of them (new and old) identical. What is the point to make mount --move without updating fstab? Remember that after reboot you won't have that mount... Besides - I don't know if it's good idea to make some mount-plays in triggers/pre/post... It's quite dangerous I think... Let's move this rename to Th. -- pozdr. Paweł Gołaszewski jid:bluesatjabberdotgdadotpl -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free.___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Friday 30 December 2005 11:45, Paweł Gołaszewski wrote: On Fri, 30 Dec 2005, Elan Ruusamäe wrote: Mountmoint? attached diff and spec should handle common cases of /var/log/archiv and making use any of them (new and old) identical. What is the point to make mount --move without updating fstab? Remember that after reboot you won't have that mount... mount works over symlinks too: # mount --bind /home/__archive archiv # l archiv* -d lrwxrwxrwx 1 root root7 Dec 29 02:13 archiv - archive/ drwxr-x--- 12 root logs 1.8K Dec 29 01:55 archive/ # mount|grep archiv /home/__archive on /var/log/archive type none (rw,bind) Besides - I don't know if it's good idea to make some mount-plays in triggers/pre/post... It's quite dangerous I think... Let's move this rename to Th. -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Fri, 30 Dec 2005, Elan Ruusamäe wrote: Mountmoint? attached diff and spec should handle common cases of /var/log/archiv and making use any of them (new and old) identical. What is the point to make mount --move without updating fstab? Remember that after reboot you won't have that mount... mount works over symlinks too: [...] # mount|grep archiv /home/__archive on /var/log/archive type none (rw,bind) It's not the point. you're making manual mount which will be missing after reboot. You have it in your fstab. -- pozdr. Paweł Gołaszewski jid:bluesatjabberdotgdadotpl -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free.___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Thursday 29 December 2005 01:05, Jakub Bogusz wrote: On Wed, Dec 28, 2005 at 11:28:38PM +0100, Paweł Gołaszewski wrote: On Wed, 28 Dec 2005, Elan Ruusamäe wrote: Author: glen Date: Wed Dec 28 13:15:13 2005 GMT Module: SOURCES Tag: HEAD Log message: - /var/log/archiv - /var/log/archive why??? It breaks a lot of things and gives nothing... read .spec diff. breaks nothing. I know what is in diff... Remember that this setting is in PLD since _years_ and it is connected with few things you can't handle with trigger. i.e.: mountpoint of /var/log/archiv and entries in configs. Mountmoint? attached diff and spec should handle common cases of /var/log/archiv and making use any of them (new and old) identical. Does logrotate support moving old logs to different fs now? It didn't some time ago. -- glen # $Revision: 1.68 $, $Date: 2005/12/28 13:33:32 $ # # Conditional build: %bcond_without selinux # build without SELinux support # Summary:Rotates, compresses, removes and mails system log files Summary(de):Rotiert, komprimiert und verschickt Systemlogs Summary(es):Hace el rutado, comprime y envía mail de logs del sistema Summary(fr):Fait tourner, compresse, et envoie par mail les connexions au systčme Summary(pl):System rotacji i kompresowania logów Summary(pt_BR): Rotaciona, comprime e envia mail de logs do sistema Summary(ru):ňĎÔÉŇŐĹÔ, ËĎÍĐŇĹÓÓÉŇŐĹÔ, ŐÄÁĚŃĹÔ É ĎÔĐŇÁ×ĚŃĹÔ ĐĎ ĐĎŢÔĹ ĚĎÇ-ĆÁĘĚŮ Summary(tr):Sistem günlüklerini yönlendirir, sýkýţtýrýr ve mektup olarak yollar Summary(uk):ňĎÔŐ¤, ËĎÍĐŇĹÓŐ¤, ×ÉÄÁĚѤ ÔÁ ׌ÄĐŇÁ×ĚѤ ĐĎŰÔĎŔ ĚĎÇ-ĆÁĘĚÉ Name: logrotate Version:3.7 Release:4.6 License:GPL v2 Group: Applications/System Source0:%{name}-%{version}.tar.gz # Source0-md5: caa28cb5e26db34f7c14236e4058bb5f Source1:%{name}.conf Patch0: %{name}-man.patch # patches from ftp://ftp.suse.com/pub/people/ro/logrotate, updated for 3.7 Patch1: %{name}-dateext.dif Patch2: %{name}-maxage.dif Patch3: %{name}-noexec-tmp.patch %{?with_selinux:BuildRequires: libselinux-devel} BuildRequires: popt-devel = 1.3 Requires(post): fileutils Requires: /bin/mail Requires: crondaemon Requires: setup = 2.4.6 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define statdir /var/lib/misc %description The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size. Normally, logrotate runs as a daily cron job. %description -l de Logrotate vereinfacht die Verwaltung von Systemen, die sehr viele Log-Dateien erzeugen, indem es das automatische Rotieren, Komprimieren, Entfernen, und Senden von Log-Dateien ermöglicht. Jede Log-Datei kann täglich, wöchentlich oder monatlich verarbeitet werden, wenn sie zu groß wird. %description -l es Logrotate fue proyectado para facilitar la administración de sistemas que generan gran número de archivos de log. Permite automatización en la rotación, compresión, remoción y envío de mail de archivos de logs. Cada archivo de log puede ser tratado diariamente, semanalmente, mensualmente o cuanto crezca demasiado. %description -l fr Logrotate est conçu pour faciliter l'administration de systčmes qui générent un grand nombre de fichiers de \log\. Il permet le roulement, la suppréssion la compression et l'envoi automatiques de ces fichiers. Chaque fichier de \log\ peut ętre pris en charge de maničre quotidienne, hebdomadaire, mensuelle, ou quand il devient trop volumineux. %description -l pl Logrotate jest przeznaczony do łatwej administracji plikami logów. Program ten pozwala na automatyczną kompresję logów. Może kontrolować logi raz dziennie, raz na miesiąc, raz na tydzień lub wtedy kiedy pliki z logami systemowymi są już duże. %description -l pt_BR Logrotate foi projetado para facilitar a administraçăo de sistemas que geram grande número de arquivos de log. Permite automatizaçăo na rotaçăo, compressăo, remoçăo e envio de mail de arquivos de logs. Cada arquivo de log pode ser tratado diariamente, semanalmente, mensalmente ou quanto crescer demais. %description -l ru Logrotate ĐŇĹÄÎÁÚÎÁŢĹÎ ÄĚŃ ĎÂĚĹÇŢĹÎÉŃ ÁÄÍÉÎÉÓÔŇÉŇĎ×ÁÎÉŃ ÓÉÓÔĹÍŮ, ËĎÔĎŇÁŃ ÇĹÎĹŇÉŇŐĹÔ ÂĎĚŘŰĎĹ ËĎĚÉŢĹÓÔ×Ď ĆÁĘĚĎ× Ó ĚĎÇÁÍÉ. ďÎ ĐĎÚ×ĎĚŃĹÔ Á×ÔĎÍÁÔÉŢĹÓËÉ ŇĎÔÉŇĎ×ÁÔŘ, ËĎÍĐŇĹÓÓÉŇĎ×ÁÔŘ, ŐÄÁĚŃÔŘ É ĐĎÓŮĚÁÔŘ ĆÁĘĚŮ Ó ĚĎÇÁÍÉ ĐĎ e-mail. ëÁÖÄŮĘ ĚĎÇ ÍĎÖĹÔ ĎÂŇÁÂÁÔŮ×ÁÔŘÓŃ ĹÖĹÄÎĹ×ÎĎ, ĹÖĹÎĹÄĹĚŘÎĎ, ĹÖĹÍĹÓŃŢÎĎ ÉĚÉ ĐĎ ÄĎÓÔÉÖĹÎÉÉ ĎĐŇĹÄĹĚĹÎÎĎÇĎ ŇÁÚÍĹŇÁ. %description -l tr logrotate çok fazla sayýda günlük dosyasý üreten sistemlerin yönetimini kolaylaţtýrmak için tasarlanmýţtýr. Kayýt dosyalarýnýn otomatik olarak yönlendirilmesini,
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Wednesday 28 December 2005 22:53, Paweł Gołaszewski wrote: On Wed, 28 Dec 2005, glen wrote: Author: glen Date: Wed Dec 28 13:15:13 2005 GMT Module: SOURCES Tag: HEAD Log message: - /var/log/archiv - /var/log/archive why??? It breaks a lot of things and gives nothing... read .spec diff. breaks nothing. -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
On Wed, 28 Dec 2005, Elan Ruusamäe wrote: Author: glen Date: Wed Dec 28 13:15:13 2005 GMT Module: SOURCES Tag: HEAD Log message: - /var/log/archiv - /var/log/archive why??? It breaks a lot of things and gives nothing... read .spec diff. breaks nothing. I know what is in diff... Remember that this setting is in PLD since _years_ and it is connected with few things you can't handle with trigger. i.e.: mountpoint of /var/log/archiv and entries in configs. And it gives _nothing_ except unklockishing... -- pozdr. Paweł Gołaszewski jid:bluesatjabberdotgdadotpl -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free.___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
=?ISO-8859-2?Q?Marcin_Kr=F3l?= wrote: why??? It breaks a lot of things and gives nothing... Relax. I'll not backport it to Ra ;-) And archiv is still there as symlink. Just to be sure: You do not try to replace an existing dir by symling during upgrade, do you? -- === Andrzej M. Krzysztofowicz, Ph.D. [EMAIL PROTECTED] phone (48)(58) 347 14 61 Faculty of Applied Phys. Math., Gdansk University of Technology ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: SOURCES: logrotate.conf - /var/log/archiv - /var/log/archive
Just to be sure: You do not try to replace an existing dir by symling during upgrade, do you? Dunno. Thats glen change, not mine. I've just tested it and everything went ok. M. ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en