[zorp-hu] 3.0.8-0.3 DeprecationWarning + nem mukodes

Kosa Attila zsiga at kosaek.hu
2009. Feb. 10., K, 19:37:26 CET


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.

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'

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.

Van valami oka, hogy bele van egetve a 2.3-as python? Esetleg
lehet valahogy hasznalni ezt a csomagot Etch alatt?

-- 
		Udvozlettel
				    Zsiga


További információk a(z) zorp-hu levelezőlistáról