On Tue, 2009-02-10 at 19:37 +0100, Kosa Attila wrote:
On Tue, Feb 10, 2009 at 01:33:13PM +0100, Kosa Attila wrote:
On Thu, Feb 05, 2009 at 11:35:09AM +0100, Kerekes Gyula wrote:
Egyebkent a 3.0-s sorozatban meg nem volt tamogatas a 4-es tproxy-khoz, igy igen, a 3.1.15-tel jobban jarsz.
Az fogja tudni a cimhamisitast?
Lehet, hogy jobban jarnek, ha felmenne...
# dpkg -i --force-depends libzorpll3.1.8_3.1.8.4_i386.deb zorp-modules_3.1.15a_i386.deb zorp_3.1.15a_i386.deb (Reading database ... 17441 files and directories currently installed.) Preparing to replace libzorpll3.1.8 3.1.8.4 (using libzorpll3.1.8_3.1.8.4_i386.deb) ... Unpacking replacement libzorpll3.1.8 ... Preparing to replace zorp-modules 3.1.15a (using zorp-modules_3.1.15a_i386.deb) ... Unpacking replacement zorp-modules ... Preparing to replace zorp 3.1.15a (using zorp_3.1.15a_i386.deb) ... Unpacking replacement zorp ... Setting up libzorpll3.1.8 (3.1.8.4) ...
Setting up zorp-modules (3.1.15a) ... dpkg: zorp: dependency problems, but configuring anyway as you request: zorp depends on python2.3 (>= 2.3); however: Package python2.3 is not installed. Setting up zorp (3.1.15a) ... Starting Zorp Firewall Suite: /usr/lib/zorp/zorp: error while loading shared libraries: libpython2.3.so.1.0: cannot open shared object file: No such file or directory
# dpkg -l | grep python ii python 2.4.4-2 An interactive high-level object-oriented la ii python-extclass 1.2.0zope-2.5.1-5 Improves integration between Python and C++ ii python-minimal 2.4.4-2 A minimal subset of the Python language (def ii python2.4 2.4.4-3+etch2 An interactive high-level object-oriented la ii python2.4-minimal 2.4.4-3+etch2 A minimal subset of the Python language (ver
Ugyanezt jatsza a sima 3.1.15 is... Es persze nem mukodik.
mondjuk ezen szerintem ne csodalkozz. nem veletlenul van benne a csomagnevben a "2.4" es "2.3" string, ezek ugyanis azt jelzik, hogy a ket csomag _binarisan_ nem kompatibilis. az egyik nem fog menni a masikkal.
Probaltam csinalni linket: # cd /usr/lib # ln -s libpython2.4.so.1 libpython2.3.so.1.0 # zorpctl start Starting Zorp Firewall Suite: Traceback (most recent call last): File "/etc/zorp/policy-winupdate.py", line 1, in ? from Zorp.Core import * File "/usr/share/zorp/pylib/Zorp/Core.py", line 51, in ? from Matcher import MatcherPolicy, AbstractMatcher, RegexpMatcher, RegexpFileMatcher, CombineMatcher, DNSMatcher, WindowsUpdateMatcher, SmtpInvalidRecipientMatcher File "/usr/share/zorp/pylib/Zorp/Matcher.py", line 42, in ? import os, re, string, DNS, types, time, smtplib, socket, traceback ImportError: No module named DNS AttributeError: 'module' object has no attribute 'deinit' AttributeError: 'module' object has no attribute 'purge' zorp_winupdate!
The following errors occurred so far: Zorp instance startup failed, instance='zorp_winupdate', rc='512'
ez eleg veszelyes mondas. meg ha el is indulna, sem fog mukodni. ehhez ujra kell forditani a Zorpot.
Az Etch-ben levo verzio is gyonyoru egyebkent... A zorp.postinst szkriptben levo chmod 0640 /etc/zorp/* zsenialis, mert a konyvtarakrol is leszedi a folosleget.
ebben igazad van, javitva is lett azota, legalabbis a mi csomagolasunkban mar nincs benne: ... chown -R root:zorp /etc/zorp chmod 0750 /etc/zorp mkdir -p /var/run/zorp || /bin/true chown -R root.zorp /var/run/zorp chmod 0770 /var/run/zorp
Van valami oka, hogy bele van egetve a 2.3-as python? Esetleg lehet valahogy hasznalni ezt a csomagot Etch alatt?
Az altalunk publikalt 3.1-es Zorp verzio ZorpOS-hez fordult (3.1-es Zorp a 3.1-es ZorpOS-hez), ezert fugg a 2.3-as Pythontol. Azert ZorpOS-hez forditjuk, mert vannak olyan kulso fuggosegei, amit mar ZorpOS-be beraktunk, ahhoz pedig nem nagyon van eronk, hogy etch-en ugyanezt vegigvigyuk. Forrasbol ujra lehet forgatni etch-re is, mert ha eleve az ujabb Pythonhoz forditod, akkor mukodnie kell. En a sajat gepemen is 2.4 ill. 2.5-os pythonnal is hasznalom. Tehat, ha binarist akarsz hasznalni tolunk, akkor vagy ZorpOS-t kell hasznalj, vagy az etch-re felimadkozni a Zorp dependenciait is, de ez biztos nem egyszeru (tehat pl. a python2.3-at), es nem is tudom, hogy lehetseges-e. Szerintem leginkabb forditanod kellene, de ugy emlexem, hogy regebben ezt is tetted. Ha a forditassal kapcsolatban konkret kerdest teszel fel, szivesen segitek benne. -- Bazsi