[Bug 887039] New: unnecessary write to /etc/HOSTNAME and/or /etc/hostname unnecessarily prevents netcfg installation
https://bugzilla.novell.com/show_bug.cgi?id=887039 https://bugzilla.novell.com/show_bug.cgi?id=887039#c0 Summary: unnecessary write to /etc/HOSTNAME and/or /etc/hostname unnecessarily prevents netcfg installation Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@earthlink.net QAContact: qa-bugs@suse.de CC: pgajdos@suse.com Found By: --- Blocker: --- In order to not have a current timestamp polluting either /etc/HOSTNAME or /etc/hostname, and preserve the timestamp of a wired single fixed IP network access point desktop PC's original installation, before doing installation or upgrade, I set a hard link from /etc/HOSTNAME to /etc/hostname, then set "HOSTNAME" immutable. I just did a minimal X HTTP Factory (20140626) installation, which failed to install netcfg. On later installing some package that "requires" netcfg, installation halted waiting for user input because the netcfg package apparently thinks it needs to disturb /etc/HOSTNAME: Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /etc/HOSTNAME: cpio: rename failed - Operation not permitted error: netcfg-11.5-22.1.noarch: install failed This unnecessary write shouldn't halt the process waiting for user input. It should be sufficient for the package to complain in an installation log if it insists on an unnecessary write. In the case of netcfg, the package installation fails "completely" - on querying its changelog, not installed is reported, and yet according to zypper the package depending on it is installed. cf. bug 883999 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=887039
https://bugzilla.novell.com/show_bug.cgi?id=887039#c
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=887039
https://bugzilla.novell.com/show_bug.cgi?id=887039#c1
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=887039
--- Comment #6 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=887039
--- Comment #8 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=887039
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=887039
--- Comment #9 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=887039
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com