smtpd rejects
Hello! Egy postfix szerveren az alábbi config beállításokat használom: smtpd_client_restrictions = reject_unknow_client, reject_non_fqdn_hostname, ... smtpd_sender_restrictions = ...,reject_unknown_sender_domain, reject_non_fqdn_sender,... sntpd_helo_restrictions = ...,reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname, ... Volt néhány konfliktusom egy-egy célba nem ért - hozzám - email miatt. - természetesen a feladó kap tájékoztatást a sikertelen küldésről, a megfelelő reject_code-okkal - Túl szigorúak ezek a beállítások vagy a küldő(k)nek kellene helyre tennie néhány dolgot? üdv., z. _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
mysql datadir
Sziasztok! Mysql adarbázis könytárát szeretném áthelyezni Ubuntu 9.10. google-ban lévő leírások szerint: - átmásolom a /var/lib/mysql könyvtárat az /xx/mysql - my.cnf: datadir=új hely -/etc/apparmor.d/usr.sbin.mysqld fájlban a /var/lib/mysql bejegyzéseket átírom /xx/mysql -re. /etc/init.d/apparmor restart /etc/init.d/mysql restart [fail] /var/log/syslog: Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: Jan 6 09:22:15 troodon mysqld_safe[2772]: started Jan 6 09:22:15 troodon kernel: [ 4985.512631] type=1503 audit(1262766135.496:52): operation=mknod pid=2774 parent=2735 profile=/usr/sbin/mysqld requeste d_mask=w:: denied_mask=w:: fsuid=0 ouid=0 name=/xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon kernel: [ 4985.512689] type=1503 audit(1262766135.496:53): operation=mknod pid=2774 parent=2735 profile=/usr/sbin/mysqld requeste d_mask=w:: denied_mask=w:: fsuid=0 ouid=0 name=/xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 InnoDB: Operating system error number 13 in a file operation. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: The error means mysqld does not have the access rights to Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: the directory. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: File name ./ibdata1 Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: File operation call: 'open'. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: Cannot continue operation. Jan 6 09:22:15 troodon kernel: [ 4985.537374] type=1503 audit(1262766135.520:54): operation=open pid=2774 parent=2735 profile=/usr/sbin/mysqld requested _mask=rw:: denied_mask=rw:: fsuid=108 ouid=108 name=/xx/mysql/ibdata1 Jan 6 09:22:15 troodon mysqld_safe[2782]: ended Van valakinek ötlete? _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: smtpd rejects
On Wed, January 6, 2010 09:31, Kónya Zoltán wrote: smtpd_client_restrictions = reject_unknow_client, reject_non_fqdn_hostname, ... smtpd_sender_restrictions = ...,reject_unknown_sender_domain, reject_non_fqdn_sender,... sntpd_helo_restrictions = ...,reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname, ... Túl szigorúak ezek a beállítások vagy a küldő(k)nek kellene helyre tennie néhány dolgot? Hello, Szerintem nem tul szigoruak, mondjuk a reject code-oktol fugg. A reject_unknown_hostname-hez tartozo unknown_hostname_reject_code =5xx-re szeritem eros, mert az RFC nem tiltja, de cegtol fugg, hogy mi van beallitva, mit viselnek el a fonokok. Nalam ez 450. Ezek miatt persze figyelni kell a logokat, es a kiveteleket tolteni, de par het alatt osszegyullik a lenyeg, aztan heti egy-ketto (kb 15000-bol) az amit a kivetelbe kell illesztenem valami miatt. A tobbire 5xx szerintem ok. zoli _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: mysql datadir
On Wed, January 6, 2010 09:40, Gergely Tamás wrote: Sziasztok! Mysql adarbázis könytárát szeretném áthelyezni Ubuntu 9.10. google-ban lévő leírások szerint: /etc/init.d/mysql restart [fail] Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: The error means mysqld does not have the access rights to ^^^ Konyvtarak, fileok jogai, tulajdonos, csoport rendben van?? zoli _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: mysql datadir
On Wed, Jan 06, 2010 at 09:40:12AM +0100, Gergely Tamás wrote: Mysql adarbázis könytárát szeretném áthelyezni Ubuntu 9.10. google-ban lévő leírások szerint: - átmásolom a /var/lib/mysql könyvtárat az /xx/mysql - my.cnf: datadir=új hely [...] Van valakinek ötlete? Ha tenyleg csak siman at akarod rakni az adatbazist masik diszkre es nincs egyeb turpissag a dologban (pl. egyszerre tobb MySQL peldanyt akarsz futtatni), akkor en a my.cnf piszkalasa helyett csinalnek egy mount --bind /xx/mysql /var/lib/mysql-t... Gabor -- - MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences - _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: mysql datadir
Minden a helyén, leellenőriztem, ugyanaz mint az eredeti. Fried Zoltan írta: On Wed, January 6, 2010 09:40, Gergely Tamás wrote: Sziasztok! Mysql adarbázis könytárát szeretném áthelyezni Ubuntu 9.10. google-ban lévő leírások szerint: /etc/init.d/mysql restart [fail] Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: The error means mysqld does not have the access rights to ^^^ Konyvtarak, fileok jogai, tulajdonos, csoport rendben van?? zoli _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: 270.14.126/2602 - Release Date: 01/05/10 19:35:00 _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: mysql datadir
2010/1/6 Gergely Tamás gta...@ades.hu: Sziasztok! Mysql adarbázis könytárát szeretném áthelyezni Ubuntu 9.10. google-ban lévő leírások szerint: - átmásolom a /var/lib/mysql könyvtárat az /xx/mysql - my.cnf: datadir=új hely -/etc/apparmor.d/usr.sbin.mysqld fájlban a /var/lib/mysql bejegyzéseket átírom /xx/mysql -re. /etc/init.d/apparmor restart /etc/init.d/mysql restart [fail] /var/log/syslog: Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Jan 6 09:21:54 troodon /etc/init.d/mysql[2698]: Jan 6 09:22:15 troodon mysqld_safe[2772]: started Jan 6 09:22:15 troodon kernel: [ 4985.512631] type=1503 audit(1262766135.496:52): operation=mknod pid=2774 parent=2735 profile=/usr/sbin/mysqld requeste d_mask=w:: denied_mask=w:: fsuid=0 ouid=0 name=/xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon kernel: [ 4985.512689] type=1503 audit(1262766135.496:53): operation=mknod pid=2774 parent=2735 profile=/usr/sbin/mysqld requeste d_mask=w:: denied_mask=w:: fsuid=0 ouid=0 name=/xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 [Warning] Can't create test file /xx/mysql/troodon.lower-test Jan 6 09:22:15 troodon mysqld[2775]: 100106 9:22:15 InnoDB: Operating system error number 13 in a file operation. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: The error means mysqld does not have the access rights to Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: the directory. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: File name ./ibdata1 Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: File operation call: 'open'. Jan 6 09:22:15 troodon mysqld[2775]: InnoDB: Cannot continue operation. Jan 6 09:22:15 troodon kernel: [ 4985.537374] type=1503 audit(1262766135.520:54): operation=open pid=2774 parent=2735 profile=/usr/sbin/mysqld requested _mask=rw:: denied_mask=rw:: fsuid=108 ouid=108 name=/xx/mysql/ibdata1 Jan 6 09:22:15 troodon mysqld_safe[2782]: ended Van valakinek ötlete? Én a helyedben megpróbálnám rsynccel rsync -vaxHz /mit /hova így mennek a jogok is Azért rsync, mert én így szoktam csinálni :) Tudom, hogy van még pár megoldás. :) -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: mysql datadir
Gergely Tamás wrote: Minden a helyén, leellenőriztem, ugyanaz mint az eredeti. Egyertelmuen nincs irasi joga a datadir-re. Bar sosem lattam apparmort, de ott van a logban, hogy denied mask w::, amire latatlanban is azt mondom, hogy az apparmor-ban nem adtal write jogot a mysql usernek az adott dir-re, vagy create-t, ha van ilyen, vagy mittomenhogyanvan. Szoval apparmor policy faragas a gyogyir, valamit a logok olvasgatasa nezegetes helyett ;) -- Gabor HALASZ halas...@freemail.hu _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
read only linux
Hello, van valami bevett modszer arra, hogy egy sdkartyas kicsi szamitogepre telepitett linux minel kevesebbet, praktikusan semennyit se akarjon irni a diskre? Nem kell sem logolas, sem semmi, egy program fut, ami teszi a dolgat, es kesz. Lehessen siman elvenni tole az aramot, aztan visszaadni, es ez ne okozzon gondot. Van erre howto, distro, stb, ami ezt tudja? -- Hofferek Attila _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
Hofferek Attila h...@soka.co.hu writes: van valami bevett modszer arra, hogy egy sdkartyas kicsi szamitogepre telepitett linux minel kevesebbet, praktikusan semennyit se akarjon irni a diskre? Nem kell sem logolas, sem semmi, egy program fut, ami teszi a dolgat, es kesz. Lehessen siman elvenni tole az aramot, aztan visszaadni, es ez ne okozzon gondot. Van erre howto, distro, stb, ami ezt tudja? OpenWRT. -- Feri. _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
Hofferek Attila wrote: Hello, van valami bevett modszer arra, hogy egy sdkartyas kicsi szamitogepre telepitett linux minel kevesebbet, praktikusan semennyit se akarjon irni a diskre? A semennyit nehez, de amennyit kell (tmp, lockok), azt tmpfs-sel megoldhato. Nem kell sem logolas, sem semmi, egy program fut, ami teszi a dolgat, es kesz. Lehessen siman elvenni tole az aramot, aztan visszaadni, es ez ne okozzon gondot. Van erre howto, distro, stb, ami ezt tudja? Nem nagy ugy, csak a sok 'modern' featuret kell elfelejteni. Initrd, statikus busybox, statikus dev, es keresni kell egy regi lsb nelkuli initscriptet. Valahol van is egy 64M-s cf kartyam, amire hasonlot csinaltam, bebootol, egy darab applikacio elindul, sdl-lel rajzolgat a kepernyore amig aramot kap), valami megfaragott debian. Extrakent van benne pcmcia+halozat+ntp+ssh, de ki lehet szedni, valami p1-es notebookban mukodott, vagy egy eve csinaltam, este elo tudom keresni. -- Gabor HALASZ halas...@freemail.hu _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
On 1/6/10 2:04 PM, Hofferek Attila wrote: Hello, van valami bevett modszer arra, hogy egy sdkartyas kicsi szamitogepre telepitett linux minel kevesebbet, praktikusan semennyit se akarjon irni a diskre? Nem kell sem logolas, sem semmi, egy program fut, ami teszi a dolgat, es kesz. Lehessen siman elvenni tole az aramot, aztan visszaadni, es ez ne okozzon gondot. Van erre howto, distro, stb, ami ezt tudja? Tiny Core Linux vagy ubuntu ltsp-bol kilesed hogy csinalja. IroNiQ -- Member of Frugalware Developer Team Web: http://www.ironiq.hu LinuxCounter: #331532 _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
Krisztian VASAS wrote: vagy ubuntu ltsp-bol kilesed hogy csinalja. Sehogyan. A ro es a diskless szavak keverednek, az ltdp kliensnel csak a root ro. -- Gabor HALASZ halas...@freemail.hu _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
Hofferek Attila h...@soka.co.hu wrote: visszaadni, es ez ne okozzon gondot. Van erre howto, distro, stb, ami ezt tudja? Az osszes live cd ilyen. raas -- Those who say it cannot be done should not interrupt the person doing it. -- Chinese proverb _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
Hofferek Attila wrote: Hello, van valami bevett modszer arra, hogy egy sdkartyas kicsi szamitogepre telepitett linux minel kevesebbet, praktikusan semennyit se akarjon irni a diskre? Kozben eszembe jutott a legegyszerubb: csinalsz egy ext2-es vagy minixes initrd-t, bele egy statikus busybox-ot es statikus dev dirt, egy nem modulos kernelt, syslinux-szal bebootolod, a kernelparameternek azt irod, hogy rw init=/bin/aprogramod (amit szinten hasznos lesz statikusan linkelni az egyszeruseg kedveert), igy meg irhat is, ha nagyon akar, amig meg nem telik a ramdisk. -- Gabor HALASZ halas...@freemail.hu _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: read only linux
On 1/6/10 3:41 PM, Gabor HALASZ wrote: Sehogyan. A ro es a diskless szavak keverednek, az ltdp kliensnel csak a root ro. Pontosan. viszont a kello konyvtarakat tmpfs-sel ujra felcsatolja, ergo nincs diszkre iras, viszont a rendszernek kellenek irhato direk. En ezt ubuntuval cf kartyan jatszottam meg. Abbol a szempontbol tokmind1, honnan csatolja fel rootfst. IroNiQ -- Member of Frugalware Developer Team Web: http://www.ironiq.hu LinuxCounter: #331532 _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux
Re: glusterfs 3.0 - self healing
Csak az archivum kedveert: Ugy tunik masnak is van hasonlo baja, valoszinusitheto tehat, hogy a hiba nem (csak) az en keszulekemben van. http://gluster.org/pipermail/gluster-users/2010-January/003731.html _ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux