[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#786863: marked as done (jessie-pu: package debian-lan-config/0.19)



Your message dated Sat, 06 Jun 2015 13:11:11 +0100
with message-id <1433592671.2987.12.camel@adam-barratt.org.uk>
and subject line Fix released with 8.1 point release
has caused the Debian Bug report #786863,
regarding jessie-pu: package debian-lan-config/0.19
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 owner@bugs.debian.org
immediately.)


-- 
786863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786863
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

Dear Release Team,

I would like to ask for an update of the debian-lan-config package in
jessie.  The debian-lan-config package provides a FAI config space to
install Debian with centralized administration in a local area
network.

The following modifications and improvements happened after the freeze
and have been fixed now:

* Fix package names on i386.  [Due to rarely testing of i386 the
  renaming of packages got lost.]

* Workarounds: #759424 (di-n-a) removed, #774033 (deadlock) added.
  [di-netboot-assistant finally made it to jessie, but problems with
  NFS4 and the live system could not be solved -> switch back to NFS3
  here]

* Fix squid configuration:  Modify ordering to succeed in a single
  cfengine pass.  [This is important to make the package cache work
  from the beginning.]

* Define the replacement of exim4-daemon-light by exim4-daemon-heavy and
  sudo by sudo-ldap to make conversion more robust.  [When converting
  a Debian installation, problems may occur, because sudo and
  exim4-daemon-light must be replaced by their siblings.]

* Describe how to use an arbitrary hostname for the 'mainserver'.
* Add libcgi-fast-perl to make the zoom in munin work.  [Some packages
  have been removed from jessie, this one is needed in addition.]

Please find the debdiff attached to this report.

Thanks and best regards,

       Andi
diff -Nru debian-lan-config-0.19/debian/changelog debian-lan-config-0.19+deb8u1/debian/changelog
--- debian-lan-config-0.19/debian/changelog	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/debian/changelog	2015-05-17 20:23:36.000000000 +0200
@@ -1,3 +1,16 @@
+debian-lan-config (0.19+deb8u1) stable-proposed-updates; urgency=medium
+
+  * Fix package names on i386.
+  * Workarounds: #759424 (di-n-a) removed, #774033 (deadlock) added.
+  * Fix squid configuration:  Modify ordering to succeed in a single
+    cfengine pass.
+  * Define the replacement of exim4-daemon-light by exim4-daemon-heavy and
+    sudo by sudo-ldap to make conversion more robust.
+  * Describe how to use an arbitrary hostname for the 'mainserver'.
+  * Add libcgi-fast-perl to make the zoom in munin work.
+
+ -- Andreas B. Mundt <andi@debian.org>  Sun, 17 May 2015 20:22:54 +0200
+
 debian-lan-config (0.19) unstable; urgency=medium
 
   * Adapt to the format of '/etc/debian_version' (closes: #774035).
diff -Nru debian-lan-config-0.19/debian/README.Debian debian-lan-config-0.19+deb8u1/debian/README.Debian
--- debian-lan-config-0.19/debian/README.Debian	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/debian/README.Debian	2015-05-17 20:23:36.000000000 +0200
@@ -62,6 +62,21 @@
 Adapt the config space to your needs if necessary and run FAI with the
 variable CONVERT set to true:
 
+   export SUDO_FORCE_REMOVE=yes  # to switch from sudo to sudo-ldap
    export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate
 
- -- Andreas B. Mundt <andi@debian.org>  Wed, 30 Jan 2013 18:50:03 +0100
+
+Further Notes
+-------------
+
+If you prefer not to use the hostname 'mainserver' but $HOSTNAME, use
+the following commands to replace it in the fai config space:
+
+   cd /srv/fai/config/
+   for FILE in $(grep -rl mainserver *) ; \
+       do sed -i "s/mainserver/$HOSTNAME/g" $FILE ; done
+
+   mv files/etc/hosts/mainserver files/etc/hosts/$HOSTNAME
+   cd -
+
+ -- Andreas B. Mundt <andi@debian.org>  Tue, 31 Mar 2015 22:50:03 +0200
diff -Nru debian-lan-config-0.19/fai/config/files/etc/fai/NFSROOT/FAISERVER debian-lan-config-0.19+deb8u1/fai/config/files/etc/fai/NFSROOT/FAISERVER
--- debian-lan-config-0.19/fai/config/files/etc/fai/NFSROOT/FAISERVER	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/files/etc/fai/NFSROOT/FAISERVER	2015-05-17 20:23:36.000000000 +0200
@@ -33,7 +33,7 @@
 
 PACKAGES aptitude I386
 grub-pc
-linux-image-686
+linux-image-686-pae
 
 PACKAGES aptitude AMD64
 grub-pc
diff -Nru debian-lan-config-0.19/fai/config/files/usr/local/sbin/debian-lan-chroots/FAISERVER debian-lan-config-0.19+deb8u1/fai/config/files/usr/local/sbin/debian-lan-chroots/FAISERVER
--- debian-lan-config-0.19/fai/config/files/usr/local/sbin/debian-lan-chroots/FAISERVER	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/files/usr/local/sbin/debian-lan-chroots/FAISERVER	2015-05-17 20:23:36.000000000 +0200
@@ -101,7 +101,8 @@
 
 label Debian-LAN/FAI Live System
 kernel $KERNEL
-append initrd=$INITRD ip=dhcp root=nfs4:/$(basename $DLROOT) aufs
+## FIXME #774033 ## append initrd=$INITRD ip=dhcp root=nfs4:/$(basename $DLROOT) aufs
+append initrd=initrd.img ip=dhcp root=/dev/nfs nfsroot=/srv/nfs4/live aufs
 EOF
 
     ## Create pxelinux boot configuration for disklessXX.
diff -Nru debian-lan-config-0.19/fai/config/package_config/DEBIAN debian-lan-config-0.19+deb8u1/fai/config/package_config/DEBIAN
--- debian-lan-config-0.19/fai/config/package_config/DEBIAN	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/DEBIAN	2015-05-17 20:23:36.000000000 +0200
@@ -1,8 +1,8 @@
 PACKAGES aptitude-r I386
-linux-image-686
+linux-image-686-pae
 
 PACKAGES aptitude CHROOT
-linux-image-686-
+linux-image-686-pae-
 linux-image-amd64-
 
 PACKAGES aptitude-r AMD64
diff -Nru debian-lan-config-0.19/fai/config/package_config/DESKTOP debian-lan-config-0.19+deb8u1/fai/config/package_config/DESKTOP
--- debian-lan-config-0.19/fai/config/package_config/DESKTOP	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/DESKTOP	2015-05-17 20:23:36.000000000 +0200
@@ -21,7 +21,7 @@
 
 ## other packages:
 iceweasel
-browser-plugin-gnash
+#browser-plugin-gnash
 icedove
 enigmail
 
diff -Nru debian-lan-config-0.19/fai/config/package_config/DISKLESS_CLIENT debian-lan-config-0.19+deb8u1/fai/config/package_config/DISKLESS_CLIENT
--- debian-lan-config-0.19/fai/config/package_config/DISKLESS_CLIENT	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/DISKLESS_CLIENT	2015-05-17 20:23:36.000000000 +0200
@@ -23,7 +23,7 @@
 
 ## other packages:
 iceweasel
-browser-plugin-gnash
+#browser-plugin-gnash
 icedove
 enigmail
 
diff -Nru debian-lan-config-0.19/fai/config/package_config/LOG_SERVER debian-lan-config-0.19+deb8u1/fai/config/package_config/LOG_SERVER
--- debian-lan-config-0.19/fai/config/package_config/LOG_SERVER	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/LOG_SERVER	2015-05-17 20:23:36.000000000 +0200
@@ -3,8 +3,11 @@
 PACKAGES aptitude
 apache2
 libapache2-mod-auth-kerb
+
 munin
 munin-node
+libcgi-fast-perl
+
 icinga
 nagios-images
 monitoring-plugins-standard
diff -Nru debian-lan-config-0.19/fai/config/package_config/MAIL_SERVER debian-lan-config-0.19+deb8u1/fai/config/package_config/MAIL_SERVER
--- debian-lan-config-0.19/fai/config/package_config/MAIL_SERVER	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/MAIL_SERVER	2015-05-17 20:23:36.000000000 +0200
@@ -1,4 +1,5 @@
 PACKAGES aptitude
+exim4-daemon-light-
 exim4-daemon-heavy
 dovecot-imapd
 dovecot-gssapi
diff -Nru debian-lan-config-0.19/fai/config/package_config/PROXY debian-lan-config-0.19+deb8u1/fai/config/package_config/PROXY
--- debian-lan-config-0.19/fai/config/package_config/PROXY	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/PROXY	2015-05-17 20:23:36.000000000 +0200
@@ -2,6 +2,9 @@
 ## Put all setup-dependent packages in the SETUP_* class.
 PACKAGES aptitude
 squid3
-adzapper
+
+## FIXME #722717
+#adzapper
+
 ## Uncomment for web filtering:
 #dansguardian
diff -Nru debian-lan-config-0.19/fai/config/package_config/SERVER_A debian-lan-config-0.19+deb8u1/fai/config/package_config/SERVER_A
--- debian-lan-config-0.19/fai/config/package_config/SERVER_A	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/package_config/SERVER_A	2015-05-17 20:23:36.000000000 +0200
@@ -2,6 +2,7 @@
 ## another class.
 PACKAGES aptitude
 ssl-cert
+sudo-
 sudo-ldap
 screen
 exim4 nullmailer-
diff -Nru debian-lan-config-0.19/fai/config/scripts/FAISERVER/50-di-netboot debian-lan-config-0.19+deb8u1/fai/config/scripts/FAISERVER/50-di-netboot
--- debian-lan-config-0.19/fai/config/scripts/FAISERVER/50-di-netboot	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/scripts/FAISERVER/50-di-netboot	2015-05-17 20:23:36.000000000 +0200
@@ -5,9 +5,6 @@
 DISTRI="jessie"
 
 if [ "$FAI_ACTION" == "install" ] || [ "$CONVERT" == "true" ] ; then
-    ## Enable jessie in di-netboot-assistant (FIXME #759424):
-    sed  -i "s/^#jessie/jessie/" ${target}/etc/di-netboot-assistant/di-sources.list
-
     cat >> "${target}/etc/di-netboot-assistant/pxelinux.HEAD" <<EOF
 LABEL Local Boot
        MENU LABEL Boot from local hard disk
@@ -21,7 +18,8 @@
 LABEL Debian-LAN Live System
        MENU LABEL Debian-LAN Live System
        KERNEL ::/fai/vmlinuz
-       APPEND initrd=::/fai/initrd.img ip=dhcp root=nfs4:/live aufs
+       ## FIXME #774033 ## APPEND initrd=::/fai/initrd.img ip=dhcp root=nfs4:/live aufs
+       APPEND initrd=::/fai/initrd.img ip=dhcp root=/dev/nfs nfsroot=/srv/nfs4/live aufs
 EOF
     fi
 
@@ -41,7 +39,6 @@
 
 EOF
     sed -i "s%^\(TFTP_ROOT=.*\)$%\#\1\nTFTP_ROOT=/srv/tftp%" ${target}/etc/di-netboot-assistant/di-netboot-assistant.conf
-    sed -i "s%^#\($DISTRI\)%\1%"                             ${target}/etc/di-netboot-assistant/di-sources.list
 
     mkdir -p ${target}/var/www/html/d-i/$DISTRI
     cat > "${target}/var/www/html/d-i/$DISTRI/preseed.cfg" <<EOF
@@ -107,12 +104,8 @@
 $ROOTCMD di-netboot-assistant install $DISTRI --arch=i386
 $ROOTCMD di-netboot-assistant rebuild-menu
 
-# FIXME: Bug #759424; chain.c32 is needed to boot from the local hard disk.
-for FILE in ldlinux.c32 libcom32.c32 libutil.c32 chain.c32 ; do
-    if [ ! -e $target/srv/tftp/debian-installer/$FILE ] ; then
-        $ROOTCMD cp /usr/lib/syslinux/modules/bios/$FILE /srv/tftp/debian-installer/
-    fi
-done
+# chain.c32 is needed to boot from the local hard disk:
+$ROOTCMD cp /usr/lib/syslinux/modules/bios/chain.c32 /srv/tftp/debian-installer/
 
 #wheezy:
 #d-i preseed/late_command string mkdir -p /target/var/lib/fai/config; \
diff -Nru debian-lan-config-0.19/fai/config/scripts/PROXY/10-config debian-lan-config-0.19+deb8u1/fai/config/scripts/PROXY/10-config
--- debian-lan-config-0.19/fai/config/scripts/PROXY/10-config	2014-12-31 10:44:11.000000000 +0100
+++ debian-lan-config-0.19+deb8u1/fai/config/scripts/PROXY/10-config	2015-05-17 20:23:36.000000000 +0200
@@ -7,55 +7,58 @@
 
 editfiles:
    any::
-	{ ${target}/etc/adzapper.conf
-	  ## Configure adzapper:
-	  ReplaceAll 'ZAP_MODE=""' With 'ZAP_MODE="CLEAR"'
-	}
-
-	{ ${target}/etc/squid3/squid.conf
-	  ## Define local network:
-	  ReplaceAll "#acl localnet src 10.0.0.0/8" With "acl localnet src ${SUBNETMASK}"
-
-	  ## Allow CUPS access:
-	  BeginGroupIfNoSuchLine 'acl SSL_ports port 631$(tab)$(tab)# cups'
-	    LocateLineMatching 'acl SSL_ports port 443.*'
-	    InsertLine 'acl SSL_ports port 631$(tab)$(tab)# cups'
-	    LocateLineMatching 'acl Safe_ports port 443.*'
-	    InsertLine 'acl Safe_ports port 631$(tab)$(tab)# cups'
-	  EndGroup
-
-	  ## Allow local network:
-	  BeginGroupIfNoSuchLine "http_access allow localnet"
-	    LocateLineMatching "http_access allow localhost"
-	    InsertLine "http_access allow localnet"
-	  EndGroup
-
-	  ## Package cache:
-	  BeginGroupIfNoSuchLine 'maximum_object_size_in_memory 10240 KB'
-	    LocateLineMatching '# maximum_object_size_in_memory .*'
-	    InsertLine 'maximum_object_size_in_memory 10240 KB'
-	  EndGroup
-
-	  ## Use disk cache:
-	  BeginGroupIfNoSuchLine 'cache_dir aufs /var/spool/squid3 10000 16 256'
-	    LocateLineMatching '#cache_dir .*'
-	    InsertLine 'cache_dir aufs /var/spool/squid3 10000 16 256'
-	  EndGroup
-
-	  ## Package cache:
-	  BeginGroupIfNoSuchLine 'maximum_object_size 512 MB'
-	    LocateLineMatching '# maximum_object_size .*'
-	    InsertLine 'maximum_object_size 512 MB'
-	  EndGroup
-
-	  ## Define url_rewrite_program:
-	  BeginGroupIfNoSuchLine "url_rewrite_program /usr/bin/adzapper.wrapper"
-	     LocateLineMatching "#  TAG: url_rewrite_program"
-	     InsertLine "url_rewrite_program /usr/bin/adzapper.wrapper"
-	  EndGroup
 
-	  ## Package cache:
-	  BeginGroupIfNoSuchLine 'refresh_pattern deb$(dollar)   129600 100% 129600'
+## FIXME #722717
+#       { ${target}/etc/adzapper.conf
+#         ## Configure adzapper:
+#         ReplaceAll 'ZAP_MODE=""' With 'ZAP_MODE="CLEAR"'
+#       }
+
+        { ${target}/etc/squid3/squid.conf
+          ## Define local network:
+          ReplaceAll "#acl localnet src 10.0.0.0/8" With "acl localnet src ${SUBNETMASK}"
+
+          ## Allow CUPS access:
+          BeginGroupIfNoSuchLine 'acl SSL_ports port 631$(tab)$(tab)# cups'
+            LocateLineMatching 'acl SSL_ports port 443.*'
+            InsertLine 'acl SSL_ports port 631$(tab)$(tab)# cups'
+            LocateLineMatching 'acl Safe_ports port 443.*'
+            InsertLine 'acl Safe_ports port 631$(tab)$(tab)# cups'
+          EndGroup
+
+          ## Allow local network:
+          BeginGroupIfNoSuchLine "http_access allow localnet"
+            LocateLineMatching "http_access allow localhost"
+            InsertLine "http_access allow localnet"
+          EndGroup
+
+          ## Package cache:
+          BeginGroupIfNoSuchLine 'maximum_object_size_in_memory 10240 KB'
+            LocateLineMatching '# maximum_object_size_in_memory .*'
+            InsertLine 'maximum_object_size_in_memory 10240 KB'
+          EndGroup
+
+          ## Package cache:
+          BeginGroupIfNoSuchLine 'maximum_object_size 512 MB'
+            LocateLineMatching '# maximum_object_size .*'
+            InsertLine 'maximum_object_size 512 MB'
+          EndGroup
+
+          ## Use disk cache:
+          BeginGroupIfNoSuchLine 'cache_dir aufs /var/spool/squid3 10000 16 256'
+            LocateLineMatching '#cache_dir .*'
+            InsertLine 'cache_dir aufs /var/spool/squid3 10000 16 256'
+          EndGroup
+
+## FIXME #722717
+#         ## Define url_rewrite_program:
+#         BeginGroupIfNoSuchLine "url_rewrite_program /usr/bin/adzapper.wrapper"
+#           LocateLineMatching "#  TAG: url_rewrite_program"
+#           InsertLine "url_rewrite_program /usr/bin/adzapper.wrapper"
+#         EndGroup
+
+          ## Package cache:
+          BeginGroupIfNoSuchLine 'refresh_pattern deb$(dollar)   129600 100% 129600'
             LocateLineMatching "#  TAG: refresh_pattern"
             InsertLine 'refresh_pattern deb$(dollar)   129600 100% 129600'
             InsertLine 'refresh_pattern udeb$(dollar)   129600 100% 129600'
@@ -65,5 +68,5 @@
             InsertLine 'refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz|\.xz)$(dollar) 0 0% 0 refresh-ims'
             InsertLine 'refresh_pattern \/Release(|\.gpg)$(dollar) 0 0% 0 refresh-ims'
             InsertLine 'refresh_pattern \/InRelease$(dollar) 0 0% 0 refresh-ims'
-	  EndGroup
-	}
+          EndGroup
+        }

--- End Message ---
--- Begin Message ---
Version: 8.1

Hi,

The fix discussed in this bug was released to stable as part of the 8.1
point release earlier today.

Regards,

Adam

--- End Message ---

Reply to: