SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
Anonymous | Login | 2021-01-22 13:25 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0004562 | Endian Firewall | Other Scripts | public | 2013-08-25 10:06 | 2013-08-30 09:09 | ||||||
Reporter | svoelker | ||||||||||
Assigned To | luca-endian | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||
Status | confirmed | Resolution | open | ||||||||
Platform | Endian Firewall Community 2.5.2 | OS | OS Version | 2.5.2 | |||||||
Product Version | 2.5 | ||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 0004562: SMART Package Manager Error - SHA256 / Hashlib Python not working. | ||||||||||
Description | Since the Update to 2.5.2 the Smart Package manager does not work anymore with SHA256 checksum, this also apprears on a fresh 2.5.2 install from iso. With Endian 2.5.1 everything is working as intendet. | ||||||||||
Steps To Reproduce | Add a repo channel with SHA256 signed rpms. for example: smart channel --add CentOS6.2 type=rpm-md name="CentOS6.2" \ baseurl="http://vault.centos.org/6.2/os/i386/" [^] components=base then run: smart update it crashes when it tries to update the repo cache database. | ||||||||||
Additional Information | Traceback (most recent call last): File "/usr/bin/smart", line 200, in ? main(sys.argv[1:]) File "/usr/bin/smart", line 173, in main exitcode = iface.run(opts.command, opts.argv) File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run result = _command.main(self._ctrl, opts) File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 82, in main failed = not ctrl.reloadChannels(channels, caching=NEVER) File "/usr/lib/python2.4/site-packages/smart/control.py", line 388, in reloadChannels if not channel.fetch(self._fetcher, progress): File "/usr/lib/python2.4/site-packages/smart/channels/rpm_md.py", line 287, in fetch fetcher.run(progress=progress) File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 253, in run if not handler.tick(): File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 1596, in tick withreason=True) File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 408, in validate from smart.util.sha256 import sha256 ImportError: No module named sha256 | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
(0008493) svoelker (reporter) 2013-08-29 12:43 |
no one an idea ? :) |
(0008494) luca-endian (developer) 2013-08-29 14:07 |
seems that the python module is missing.. never found out, probably, because our channels (even enterprise) are not signed with sha256 |
(0008495) svoelker (reporter) 2013-08-29 15:17 |
there anyway to hotfix this? id even do it myself :) but its wierd, because in 2.5.1 everything was working. Since 2.5.2 it does not anymore. |
(0008496) carlos-endian (reporter) 2013-08-29 15:52 |
The python module sha256 in not present in community 2.5.2, i have test in enterprise and all work fine. In this moment Centos 6.2 is not compatible with our distribution. On eFetching information for 'CentOS6.2'... -> http://vault.centos.org/6.2/os/i386/repodata/repomd.xml [^] repomd.xml ########################################################################################## [ 68%] -> http://vault.centos.org/6.2/os/i386/repodata/0664ff4efbfd4a759077eac6039a5b1a8ddec69b630fc92604a3a693347a043d-filelists.xml.gz [^] -> http://vault.centos.org/6.2/os/i386/repodata/db23b7c71bacbe9ad01047445ca3636d33777f5a4cabfd7cd3ce99204bde6e58-primary.xml.gz [^] db23b7c71bacbe9ad01047445ca3636d33777f5a4cabfd7cd3ce99204bde6.. ########################################################################################## [ 75%] 0664ff4efbfd4a759077eac6039a5b1a8ddec69b630fc92604a3a693347a0.. ########################################################################################## [ 81%] Updating cache... ########################################################################################## [100%] Channels have 4764 new packages. Saving cache...nterprise: |
(0008497) svoelker (reporter) 2013-08-29 15:55 |
ye i know its not compatible, it was just an example. but we got other distributions that are compatible and use sha256 signed rpms but without working sha256 its hard to customize. and i wont touch the python setup, that detroys it all :) |
(0008498) svoelker (reporter) 2013-08-29 15:56 |
community edition that is. |
(0008504) luca-endian (developer) 2013-08-30 09:08 |
we'll se what we can do |
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-25 10:06 | svoelker | New Issue | |
2013-08-29 12:43 | svoelker | Note Added: 0008493 | |
2013-08-29 14:07 | luca-endian | Note Added: 0008494 | |
2013-08-29 15:17 | svoelker | Note Added: 0008495 | |
2013-08-29 15:52 | carlos-endian | Note Added: 0008496 | |
2013-08-29 15:55 | svoelker | Note Added: 0008497 | |
2013-08-29 15:56 | svoelker | Note Added: 0008498 | |
2013-08-30 09:08 | luca-endian | Note Added: 0008504 | |
2013-08-30 09:09 | luca-endian | Assigned To | => luca-endian |
2013-08-30 09:09 | luca-endian | Status | new => confirmed |
Copyright © 2000 - 2012 MantisBT Group |