Your message dated Tue, 08 Apr 2008 16:32:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#475032: fixed in ppp 2.4.4rel-10
has caused the Debian Bug report #475032,
regarding ppp-udeb: Should request domain name for the default /etc/hosts file
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.)
--
475032: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475032
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ppp-udeb
Version: 2.4.4rel-9
Severity: wishlist
Tags: d-i patch
This change was requested by Josef Wolf in the following thread:
http://lists.debian.org/debian-boot/2007/12/msg00160.html
The attached patch implements this and ensures that the created /etc/hosts
file is similar to the one created by netcfg when regular Ethernet or
wireless networking is used.
The patch applies on top of the last one for #455366.
Cheers,
FJP
commit 488b4baf9a0aca03b23653c9bb48c7aaf26099f6
Author: Frans Pop <[EMAIL PROTECTED]>
Date: Tue Apr 8 16:25:53 2008 +0200
ppp-udeb: also ask for a domain name to be used in /etc/hosts
diff --git a/debian/changelog b/debian/changelog
index 5e5be60..cd409c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ ppp (2.4.4rel-9.1) UNRELEASED; urgency=low
* Non-maintainer upload.
* ppp-udeb: allow for preseeding of the netcfg/get_hostname template.
Closes: #455366.
+ * ppp-udeb: also ask for a domain name to be used in /etc/hosts.
- -- Frans Pop <[EMAIL PROTECTED]> Tue, 08 Apr 2008 16:15:53 +0200
+ -- Frans Pop <[EMAIL PROTECTED]> Tue, 08 Apr 2008 16:24:35 +0200
ppp (2.4.4rel-9) unstable; urgency=low
diff --git a/debian/ppp-udeb.postinst b/debian/ppp-udeb.postinst
index 899357f..1daa9ba 100644
--- a/debian/ppp-udeb.postinst
+++ b/debian/ppp-udeb.postinst
@@ -167,17 +167,22 @@ db_unregister ppp/password
db_unregister ppp/username
-# Ask for the hostname to use for the system (using the netcfg template!)
+# Ask for the hostname and domainname to use for the system
+# (using the netcfg templates!)
while true; do
db_input high netcfg/get_hostname || [ $? -eq 30 ]
+ db_input high netcfg/get_domain || [ $? -eq 30 ]
db_go || exit 10
db_get netcfg/get_hostname
HOSTNAME="$RET"
if valid_hostname "$HOSTNAME"; then
+ db_get netcfg/get_domain
+ DOMAINNAME="$RET"
break
+ else
+ db_input high netcfg/invalid_hostname || true
+ db_fset netcfg/get_hostname seen false
fi
- db_input high netcfg/invalid_hostname || true
- db_fset netcfg/get_hostname seen false
done
@@ -197,14 +202,20 @@ iface provider inet ppp
provider provider
EOF
-# Set hostname
+# Set hostname and create a basic /etc/hosts file
+echo -e "127.0.0.1\tlocalhost" > /etc/hosts
+
if [ "$HOSTNAME" ]; then
echo "$HOSTNAME" >/etc/hostname
+
+ if [ "$DOMAINNAME" ]; then
+ echo -e "127.0.1.1\t$HOSTNAME.$DOMAINNAME\t$HOSTNAME" >> /etc/hosts
+ else
+ echo -e "127.0.1.1\t$HOSTNAME" >> /etc/hosts
+ fi
fi
-# Create a basic /etc/hosts file
-cat > /etc/hosts <<EOF
-127.0.0.1 localhost $HOSTNAME
+cat >> /etc/hosts <<EOF
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
--- End Message ---
--- Begin Message ---
Source: ppp
Source-Version: 2.4.4rel-10
We believe that the bug you reported is fixed in the latest version of
ppp, which is due to be installed in the Debian FTP archive:
ppp-dev_2.4.4rel-10_all.deb
to pool/main/p/ppp/ppp-dev_2.4.4rel-10_all.deb
ppp-udeb_2.4.4rel-10_amd64.udeb
to pool/main/p/ppp/ppp-udeb_2.4.4rel-10_amd64.udeb
ppp_2.4.4rel-10.diff.gz
to pool/main/p/ppp/ppp_2.4.4rel-10.diff.gz
ppp_2.4.4rel-10.dsc
to pool/main/p/ppp/ppp_2.4.4rel-10.dsc
ppp_2.4.4rel-10_amd64.deb
to pool/main/p/ppp/ppp_2.4.4rel-10_amd64.deb
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.
Frans Pop <[EMAIL PROTECTED]> (supplier of updated ppp 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: SHA1
Format: 1.7
Date: Tue, 08 Apr 2008 16:53:04 +0200
Source: ppp
Binary: ppp ppp-udeb ppp-dev
Architecture: source amd64 all
Version: 2.4.4rel-10
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <[EMAIL PROTECTED]>
Changed-By: Frans Pop <[EMAIL PROTECTED]>
Description:
ppp - Point-to-Point Protocol (PPP) - daemon
ppp-dev - Point-to-Point Protocol (PPP) - development files
ppp-udeb - Point-to-Point Protocol (PPP) - package for Debian Installer
(udeb)
Closes: 426870 447116 447329 447847 447902 447917 447918 447994 448301 448542
449022 449261 450517 450544 450702 450724 451446 455366 466273 473782 475032
Changes:
ppp (2.4.4rel-10) unstable; urgency=low
.
* ppp-udeb: allow for preseeding of the netcfg/get_hostname template.
Closes: #455366.
* ppp-udeb: also ask for a domain name to be used in /etc/hosts.
Closes: #475032.
* ppp-udeb: switch from using 'ifconfig' to 'ip' because the former is no
longer included in busybox-udeb. Closes: #451446.
* Handle the setting of fallback DNS in ppp-udeb. Those are set by
preseeding netcfg/get_nameservers. Thanks to Jérémy Bobbio for the patch.
Closes: #473782.
* Add new translation for Belarussian. Closes: #447116.
* Fix LSB header in init.d script. Closes: #466273.
* Add myself as uploader with Marco's blessing.
.
[ Christian Perrier ]
* Debconf templates and debian/control reviewed by the debian-l10n-english
team as part of the Smith review project. Closes: #447329
.
[Debconf translation updates]
* Vietnamese. Closes: #447847, #426870
* German. Closes: #447902
* Galician. Closes: #447917
* Romanian. Closes: #447918
* Basque. Closes: #447994
* Finnish. Closes: #448301
* Spanish. Closes: #448542
* Dutch. Closes: #449022
* Czech. Closes: #449261
* Russian. Closes: #450517
* Portuguese. Closes: #450544
* French. Closes: #450702
* Norwegian Bokmål; Bokmål, Norwegian. Closes: #450724
Files:
2eae85b4e1902565f4a621dcb8850ac9 695 admin optional ppp_2.4.4rel-10.dsc
39ed86c89b979f9aa499e961a2d72f6b 104851 admin optional ppp_2.4.4rel-10.diff.gz
640ce2eba073a019de78cc3246acccd1 357018 admin optional
ppp_2.4.4rel-10_amd64.deb
39decd7902b8eeff36d3a743aa963a0e 132036 debian-installer optional
ppp-udeb_2.4.4rel-10_amd64.udeb
4dfb4a082afe7e5fb836e85cd6043214 48006 devel extra ppp-dev_2.4.4rel-10_all.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH+5zpgm/Kwh6ICoQRAtplAKCQEdEHOwMhpbF7Ii5V5MWC3SLCsQCg0kk3
o5w8JGt56asZCisLfwFAZSc=
=AigV
-----END PGP SIGNATURE-----
--- End Message ---