Bug 1384094 - /etc/resolv.conf can't be edited
Summary: /etc/resolv.conf can't be edited
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-network
Version: 6.8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Synacek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 14:03 UTC by Klaus Eisl
Modified: 2016-10-13 08:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-13 08:36:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.