Your message dated Sun, 04 Jan 2015 17:03:26 +0000
with message-id <[email protected]>
and subject line Bug#774212: fixed in ifupdown 0.7.52
has caused the Debian Bug report #774212,
regarding ifupdown: segfault when misssing read access on
/etc/network/interfaces
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
774212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774212
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.7.51
Severity: normal
Tags: upstream patch
Dear Maintainer,
* What led up to the situation?
I don't know when the problem appeared, but i think, it's after
including commit 661:6cd0fd2addca "Configure the loopback interface
by default only if user hasn't" into the shipped version of ifupdown.
* Procedure to reproduce
# ls -l /etc/network/interfaces
-rw------- 1 root root 1.6K Sep 11 11:22 /etc/network/interfaces
# ifup eth0
zsh: segmentation fault ifup eth0
* What was the outcome of this action?
segfault
* What outcome did you expect instead?
No segfault.
* Note:
When running with root privileges, it does not segfault.
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.19.0-rc1-and-eudyptula-00056-g393d295 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ifupdown depends on:
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-58
ii iproute 1:3.16.0-2
ii iproute2 3.16.0-2
ii libc6 2.19-13
ii lsb-base 4.1+Debian13+nmu1
Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.3.1-5
Versions of packages ifupdown suggests:
ii net-tools 1.60-26+b1
pn ppp <none>
pn rdnssd <none>
-- no debconf information
diff -r 626689d5ef94 config.c
--- a/config.c Sat Nov 29 14:32:32 2014 +0100
+++ b/config.c Tue Dec 30 12:17:09 2014 +0100
@@ -134,6 +134,9 @@
}
defn = read_interfaces_defn(defn, filename);
+ if (!defn) {
+ return NULL;
+ }
if (!no_loopback) {
interface_defn *lo_if = malloc(sizeof(interface_defn));
--- End Message ---
--- Begin Message ---
Source: ifupdown
Source-Version: 0.7.52
We believe that the bug you reported is fixed in the latest version of
ifupdown, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Shadura <[email protected]> (supplier of updated ifupdown package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 04 Jan 2015 15:21:25 +0100
Source: ifupdown
Binary: ifupdown
Architecture: source i386
Version: 0.7.52
Distribution: unstable
Urgency: medium
Maintainer: Andrew Shadura <[email protected]>
Changed-By: Andrew Shadura <[email protected]>
Description:
ifupdown - high level tools to configure network interfaces
Closes: 774212
Changes:
ifupdown (0.7.52) unstable; urgency=medium
.
* Fix segfault when /e/n/i can't be read. Fail only when the file
has errors, issue a warning when it can't be opened (Closes: #774212).
Checksums-Sha1:
1269496fcd99db13ff1aaa3a575a32c450336bf8 1522 ifupdown_0.7.52.dsc
06381c0d05596605216a2ad8f2dd84430ba24294 76992 ifupdown_0.7.52.tar.xz
d21d2b73ec4946511b9dcd523a49c2f4627f8ecc 67662 ifupdown_0.7.52_i386.deb
Checksums-Sha256:
550c05b58c8b7c4bfac2e213a21c2990313b0403cb53d028bf196aac816f0ef0 1522
ifupdown_0.7.52.dsc
8a0647c59ee0606f5da9205c5b3c5b000fea98fe39348f6bb2cba5fecfc51090 76992
ifupdown_0.7.52.tar.xz
1477158efb357097a4235aba31d76a8e2da4ded5918c7a46834c84a7260fed08 67662
ifupdown_0.7.52_i386.deb
Files:
760711e24acfe545edb4373687b3d622 1522 admin important ifupdown_0.7.52.dsc
bb204ae2fa4171d6f1de4097f4570a7d 76992 admin important ifupdown_0.7.52.tar.xz
a59e374d97fbe88e03f7dcab4a9d1a60 67662 admin important ifupdown_0.7.52_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUqXBYAAoJEG6k0jEaLSaNDZIQAJogBwOv7pkrqoADk51IwUWI
n7lQPUzAePeNPTzeSYegfqP1I+hNXoii08HtsekswfZR3gPxxYX3XKQ/6epq3rk3
UdwXsHh7cudlTFVXIU2wTGwhMOQbZM3zeMFs826eKAkeui1K7IBV1FV7qK8bqQ7L
irDQ1HayhqwUzA0QbcJMNwLIwNu9XbTR9MMENLHqGFGezIat8gZutmmySDFNiY6J
mR9UFohxH+lRoujuadjw9tytxhxvQ005vQuvtro63l9S99a/rjhLBJhkla6mHQkF
Kx5GlQkjVZDU3faIH+u6pnbP//2rzoxMW60VFk/yP/P3Xu44TItdmPoJxvVc30KE
J5RGa6V7VYme+f9MQqSaiRoQgMDllDCc/tsEgXL6gFHwC6NFbrxA0UU2yU+MzAH/
u8xWjxUFqfEYCl2Mpj2FfavQ8C1apDq08L9jcqLfumhUqqRxzArT4TIsPqCE/uZz
4BTJVMgrVsuvGkGoXOWPi7VmSL0NfP2OHHHf4GW96gH12kxoWpLvDTxaua/48O+N
tJbKZmAfUrP0tXi4Yfg+yVRBLfiFtxypZTajmbSKCb/eCp8ZdNLxysAirwxZPXRw
R1iwqrI1bdGUfnp15wVRu50VU88XRdJDwgf3C9exyz80bTN4ac1KEavpbvUyY9p2
dQD4vQuRmqgayn1syx5W
=FG2X
-----END PGP SIGNATURE-----
--- End Message ---