Why system-config-securitylevel command exits with error 'ValueError: too many values to unpack' ?

Solution Verified - Updated -

Issue

  • system-config-securitylevel command terminated with error 'ValueError: too many values to unpack'.
    Eg:
[root@host]# system-config-securitylevel
Traceback (most recent call last):
  File "/usr/share/system-config-securitylevel/system-config-securitylevel.py", line 18, in ?
    app.stand_alone()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 591, in stand_alone
    self.readFile()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 363, in readFile
    (port, proto) = pair.split(':')
ValueError: too many values to unpack

Environment

  • Red Hat Enterprise Linux 5
  • system-config-securitylevel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.