Debian GNU/Linux

[MEGOLDVA] Debian upgrade visszacsinálás

Fórumok

2008.10.09. -én upgradeltem:
libapache2-mod-php5 php5 php5-common php5-recode
csomagokat "javították" valahol ck. öt biztonsági hiba javításáról beszéltek.
Viszont, ismét elrontották a strip -elést (erről levelezgetett a félvilág 2007 -ben) az idézőjelek kapcsán. Ennek eredménye képpen (megint) nem tudok automatikusan "olvasási nyugtát" küldeni a SquirrelMailból :(
A /var/cache/apt/archives -ben még ott csücsül a régi verzió, pl:
php5-common_5.2.0-8+etch11_i386.deb a régi, és
php5-common_5.2.0-8+etch13_i386.deb az új

Hogy lehetne erre a verzióra visszaállni.

munin-node: Insecure directory in $ENV{PATH}

Fórumok

Hali,

a kovetkezo problemam van: felraktam a munin-nodeot, mar az is furcsa volt, hogy automatikusan nem huzta be az alap plugineket.
A munin-node.log tartalma:


~# tail -f /var/log/munin/munin-node.log 
Insecure directory in $ENV{PATH} while running with -T switch at /usr/sbin/munin-node line 566, <STDIN> line 23.
2008/10/09-12:45:02 Plugin "apache_volume" exited with status 2304. ----
Insecure directory in $ENV{PATH} while running with -T switch at /usr/sbin/munin-node line 566, <STDIN> line 24.
2008/10/09-12:45:02 Plugin "fw_forwarded_local" exited with status 2304. ----
Insecure directory in $ENV{PATH} while running with -T switch at /usr/sbin/munin-node line 566, <STDIN> line 25.

Es ezt az osszes pluginre. Amit sikerult kideriteni az az, hogy a PERL akkor szokott sirni a PATHben levo insecure dir miatt, ha van bene pont (.). Viszont esetemben nincsen, ha atirom a munin-node scriptet, hogy irassa ki a PATHet, akkor nem latok benne pontot.

A PERL es a munin is csomagbol van telepitve, a rendszer egy Debian Etch.

Elore is koszi a segitseget.

[megoldva] vsftp-re feltöltés

Fórumok

Sziasztok!

Annyira triviális a probléma, hogy szinte szégyellem megkérdezni...
Telepítettem 1 vsftp-t de hiába próbálok, nem tudok rá file-okat feltölteni...
Segítsetek, miért nem tudnak a usereim feltölteni a saját home könyvtáraikba?
A file feltöltésekor kiírja, hogy átviteli hiba, kívánja folytatni?
Akármit válaszolok, a file megjelenik a célmappában, de 0 byte méretű lesz, a log-ban pedig annyi van, hogy FAILED UPLOAD

A konfig a következő:
Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to Zeti FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
#
# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default. These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/vsftpd.pem

Sanyi

Kezdő küzdő kotyvaszt...

Fórumok

Sziasztok...
Hirtelen felindulásból a Debianom sources.list-jéhez hozzáadtam ezt: http://gamesite.extra.hu/linux/sources.list

Háááát...

Nem rossz, de nem is jó, már nemtom hányszor sikerült kiadnom az apt-get update, apt-get upgrade és az apt-get dselect-update parancsokat... de még mindig beszól vmire. Cserébe az amsn-em majdnem legfrissebb lett (az fontos :D ), de szerencsére nem kezeli le defaultból normálisan az ékezetes betűket. Azt hiszem desktop gépre legközelebb Ubit fogok rakni.

Kérdésem az lenne, hogy vannak-e vkinek hasonlóval tapasztalatai?

lenny + gnome: idegesítő effekt [megoldva]

Fórumok

Üdv! Akadt egy kis problémám. Nemrégiben feltettem a lenny-t, minden működik, viszont be van kapcsolva (?) egy ablakminimalizálási effekt, amitől nem tudok megszabadulni, pedig idegesít.
Google-ban találtam egy ilyen parancsot:

sudo gconf-editor /apps/metacity/general/reduced_resources

de nem tudom hogy itt kell-e operálnom valamit, és ha igen, mit.
A System/Preferences/Appearance-nél meg nincs effektes fül, mint más disztrók esetében.

Tudtok egy tippet adni hogy mit csináljak vele? (Az ablakkezelőt nem állítottam át, mert nem is tudom még hogy debianon hol lehet...)

előre is köszi

Pendrive Debian és Windowsos vinyók: boot probléma

Fórumok

Sziasztok!
A következő, érdekes problémám lenne:
Feltettem egy 2 gigás pendrivera a Debiant, Vmwareből, aztán gondoltam, bebootoltatom simán a valós géppel.
Bedugtam a pendriveot, boot sorrendet beállítottam, és elkezd bootolni. Tudni kell még, hogy a gépben van egy IDE vinyó, 80 gigás, és egy SATA vinyó, 160 gigás.
A boot azonban megakad, méghozzá itt:

sd 0:0:0:0: Attached removable scsi disk sdb

Innen nem megy tovább semmi áron. Ha az említett 2 db (windowsos, NTFS-re formázott) vinyót lehúzom az alaplapról, akkor szó nélkül bebootol.

Mi lehet a gond?

Köszönettel:
DOMy

Samba log

Fórumok

Az alabbi problemaval nem tudok mit kezdeni.
Adott egy Samba 3.0.28-1~lenny1.
Eddig a global-ba rakott alabbi sor, tokeletesen mukodott. Ha valaki csatlakozott a sambahoz, berakta ebbe a fileba. Most viszont semmit nem hajlando. Jogok beallitva, file letezik.
Talalkozott mar valaki ezzel a problemaval?

Elore is koszonom

a parancs: "root preexec = /bin/echo %u at %m connected to //%L/%S on %T >>/tmp/smblog"

iptables

Fórumok

Sziasztok!

Azt szeretném megoldani, hogy egy adott hálózatban csak bizonyos gépek használhassák az internetet. Ezt úgy gondoltam, hogy a 80-as portot kellene tiltani mac cím alapján, de sehogy se akar összejönni. Tudna valaki segíteni, hogy milyen szabályt kellene alkalmazni az iptables-ben?
Köszönöm.

(megoldva) automatikus mount

Fórumok

Szervusztok!

A következő a problémám: nemrég frissítettem a Debian-t és azóta automatán mount-olja a bedobott CD-t. Ezt én eddig kézileg csináltam, és most az istennek se tudom kiirtani ezt az idiotizmust belőle.
Eddig ezeket szedtem le:
pmount, fuse-utils, ivman, hal-device-manager
Valamint a gnome-volume-properties -ben is letiltottam, hogy csatolja a cserélhető médiát.
A gnome-mount -ot nem tudom leszedni, mert a fél rendszert levenné, de mostmár nagyon idegesít ez a fícsör.

Plíz segítsetek. mit szedjek le még a rendszerről?
/mazursky

Xen amd64 kernel+tg3 driver

Fórumok

Van egy kis problémám.
Egy IBM X3200 M2 vasra szeretnék debiant tenni. Az etch telepítő nem ismerte a hálókártyáját(Broadcom Netxtreme BCM5722). A lenny telepítő felismerte, szépen fel is települt az AMD64-es lenny. Aztán tudtam meg, hogy nincs hozzá xen dom0 kernel, csak ha az etch-beli xen kernelt használom. Abból AMD64-es csak 2.6-18-as van persze. Megvan a aktuális driver az broadcom kártyához. Hogyan tudom én azt beforgatni modulként a xen-es kernelhez? Elég az, hogy fogok egy sima 2.6-18-as kernel source-ot és lefordítom azzal a modult?