Activity log for bug #14392

Date Who What changed Old value New value Message
2006-06-03 11:32:19 Matt Zimmerman ifupdown: severity Minor Normal
2006-06-03 11:32:19 Matt Zimmerman ifupdown: statusexplanation Bugzilla status=ASSIGNED, product=Ubuntu, component=ifupdown
2006-06-03 11:33:18 Matt Zimmerman bug assigned to gnome-system-tools (Debian)
2006-09-06 23:14:43 Sebastien Bacher title WEP key stored in world-readable /etc/network/interfaces [network-admin] WEP key stored in world-readable /etc/network/interfaces
2006-09-11 15:45:54 Martin Pitt gnome-system-tools: assignee pitti
2006-09-15 10:56:16 Sebastien Bacher gnome-system-tools: importance Medium High
2006-09-15 10:56:16 Sebastien Bacher gnome-system-tools: assignee desktop-bugs
2006-09-15 10:56:16 Sebastien Bacher gnome-system-tools: statusexplanation please stay correct there is just lot of bugs and fixing them might take some time. If you want to help and make the fix faster feel free to send a patch
2006-09-27 05:50:57 Ryan O'Connor bug assigned to wireless-tools (Ubuntu)
2006-10-10 22:57:22 Sebastien Bacher bug added attachment 'network-admin.patch' (potential patch)
2006-10-11 10:46:34 Sebastien Bacher gnome-system-tools: status Confirmed Fix Released
2006-10-11 10:46:34 Sebastien Bacher gnome-system-tools: statusexplanation please stay correct there is just lot of bugs and fixing them might take some time. If you want to help and make the fix faster feel free to send a patch Fixed with this upload: system-tools-backends (1.9.7-0ubuntu3) edgy; urgency=low . * debian/patches/01_chmod_network_interfaces_when_using_key.patch: - change network interfaces file mode to 640 and the group to "admin" when a key is set (Ubuntu: #14392) The patch used: diff -Nur system-tools-backends-1.9.7/Network/Ifaces.pm system-tools-backends-1.9.7.new/Network/Ifaces.pm --- system-tools-backends-1.9.7/Network/Ifaces.pm 2006-10-06 00:16:51.000000000 +0200 +++ system-tools-backends-1.9.7.new/Network/Ifaces.pm 2006-10-11 12:28:42.000000000 +0200 @@ -693,6 +693,17 @@ return (&get_debian_auto_by_stanza ($file, $iface) ne undef)? 1 : 0; } +sub set_network_config_permission +{ + my ($key) = @_; + + if ($key) + { + chmod 0640, "/etc/network/interfaces"; + &Utils::File::run ("chgrp admin /etc/network/interfaces"); + } +} + sub set_debian_auto { my ($file, $iface, $value) = @_; @@ -3099,6 +3110,7 @@ [ "gateway", \&Utils::Replace::set_interfaces_option_str, [INTERFACES, IFACE], "gateway" ], [ "essid", \&Utils::Replace::set_interfaces_option_str, [INTERFACES, IFACE], "wireless-essid" ], [ "key", \&Utils::Replace::set_interfaces_option_str, [INTERFACES, IFACE], "wireless-key" ], + [ "key", \&set_network_config_permission, "%key%"], [ "key_type", \&set_wep_key_full, [ \&Utils::Replace::set_interfaces_option_str, INTERFACES, IFACE, "wireless-key", "%key%" ]], # ugly hack for deleting undesired options (due to syntax duality) [ "essid", \&Utils::Replace::set_interfaces_option_str, [INTERFACES, IFACE], "wireless_essid", "" ],
2008-01-25 01:37:01 Matthew Woerly wireless-tools: status New Confirmed
2008-01-25 01:39:24 Matthew Woerly wireless-tools: status Confirmed Invalid
2010-09-15 01:42:08 rusivi2 gnome-system-tools (Debian): status New Incomplete
2010-09-18 01:15:49 rusivi2 bug added subscriber rusivi1
2013-10-30 22:41:54 Ritesh Khadgaray affects wireless-tools (Ubuntu) netcfg (Ubuntu)
2013-10-30 22:42:05 Ritesh Khadgaray netcfg (Ubuntu): status Invalid New
2013-10-30 22:42:53 Ritesh Khadgaray attachment added proposed patch https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/14392/+attachment/3896114/+files/file-mode.patch
2013-10-30 23:56:28 Ritesh Khadgaray bug added subscriber Ritesh Khadgaray
2013-10-31 00:21:36 Ubuntu Foundations Team Bug Bot tags network-admin network-admin patch
2013-10-31 00:21:47 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2013-12-17 17:50:06 Thomas Hotz netcfg (Ubuntu): status New Confirmed
2013-12-17 17:51:14 Thomas Hotz bug added subscriber Thomas Hotz