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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content