Bug 1384094

Summary: /etc/resolv.conf can't be edited
Product: Red Hat Enterprise Linux 6 Reporter: Klaus Eisl <klaus.eisl>
Component: system-config-networkAssignee: Jan Synacek <jsynacek>
Status: CLOSED CANTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: bgalvani, lrintel, rkhan, sukulkar, thaller
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-13 08:36:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Klaus Eisl 2016-10-12 14:03:36 UTC
Eine unerwarteter Zustand liegt vor. Es handelt sich wahrscheinlich um einen Programmfehler. Sichern Sie den Fehlerauszug in einer Datei und erstellen Sie einen detaillierten Fehlerbericht für die Komponente system-config-network auf https://bugzilla.redhat.com/bugzilla
Component: system-config-network
Version: 1.6.0.el6.3
Summary: TB /usr/share/system-config-network/netconfpkg/conf/Conf.py:329:write:IOError: [Errno 13] Keine Berechtigung: '//etc/sysconfig/networking/profiles//default/resolv.conf'
Traceback (most recent call last):
  File "/usr/sbin/system-config-network-tui", line 336, in <module>
    sys.exit(main())
  File "/usr/sbin/system-config-network-tui", line 302, in main
    plist.save()
  File "/usr/share/system-config-network/netconfpkg/NCProfileList.py", line 423, in save
    dnsconf.write()
  File "/usr/share/system-config-network/netconfpkg/conf/ConfEResolv.py", line 83, in write
    Conf.write(self)
  File "/usr/share/system-config-network/netconfpkg/conf/Conf.py", line 329, in write
    mfile = open(self.filename, 'w', -1)
IOError: [Errno 13] Keine Berechtigung: '//etc/sysconfig/networking/profiles//default/resolv.conf'

> /usr/share/system-config-network/netconfpkg/conf/Conf.py(329)write()
-> mfile = open(self.filename, 'w', -1)
(Pdb) Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/sbin/system-config-network-tui", line 151, in <lambda>
    PRG_NAME, PRG_VERSION)
  File "/usr/sbin/system-config-network-tui", line 145, in handleException
    pdb.post_mortem (tb)
  File "/usr/lib64/python2.6/pdb.py", line 1249, in post_mortem
    p.interaction(None, t)
  File "/usr/lib64/python2.6/pdb.py", line 198, in interaction
    self.cmdloop()
  File "/usr/lib64/python2.6/cmd.py", line 130, in cmdloop
    line = raw_input(self.prompt)
KeyboardInterrupt

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/system-config-network-tui", line 336, in <module>
    sys.exit(main())
  File "/usr/sbin/system-config-network-tui", line 302, in main
    plist.save()
  File "/usr/share/system-config-network/netconfpkg/NCProfileList.py", line 423, in save
    dnsconf.write()

Comment 2 Jan Synacek 2016-10-13 08:36:22 UTC
There's no reproducer, plus the bug is in German, which I can't read. Sorry.