Bug#782287: PR updated

2018-09-04 Thread Christian Ehrhardt
FYI - updated the salsa PR with a further simplification according to the
feedback of Scott Moser.

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd


Bug#907910: debian-installer: Not possible to reset root password

2018-09-04 Thread Steve McIntyre
On Tue, Sep 04, 2018 at 08:42:55PM +0200, Tuxicoman wrote:
>1/ You're right. I retried an install today and confirm its explained
>that an empty root password means that the first user will be in the
>sudoers. That's fine.

Yup.

>2/ Yes, it would great to be able to redo this part of the install and
>set the root password again. So this bug entry is still valid for this
>part.

Agreed.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html



Bug#907910: debian-installer: Not possible to reset root password

2018-09-04 Thread Tuxicoman
1/ You're right. I retried an install today and confirm its explained
that an empty root password means that the first user will be in the
sudoers. That's fine.

2/ Yes, it would great to be able to redo this part of the install and
set the root password again. So this bug entry is still valid for this
part.



Bug#907970: Please stop using debiandoc-sgml (deprecated)

2018-09-04 Thread Osamu Aoki
Hi,

On Tue, Sep 04, 2018 at 04:33:54PM +0100, Ben Hutchings wrote:
...
> > --- a/doc/devel/partman/Makefile
> > +++ b/doc/devel/partman/Makefile
> [...]
> > +all: *.xsl *.dbk
> > +   @./build.sh
> [...]
> 
> make doesn't expand wildcards automatically; you need to use the
> $(wildcard) function to do that.

Good catch.  Thanks.  This calls for 2 fixes ;-)

Updated patch attached.

Osamu
PS: I copied Makefile from "doc/devel/internals" with funny feeling...

From 6304f8e283e742b3b2831ca1f62a390621b76503 Mon Sep 17 00:00:00 2001
From: Osamu Aoki 
Date: Fri, 31 Aug 2018 10:54:10 +
Subject: [PATCH] partman-doc: Convert to DocBook XML 4.5

Convert with:
 $ debiandoc2dbk -1 partman-doc.sgml

Build script are from internals (some symlink)
Also update .gitignore to match all *.html

Signed-off-by: Osamu Aoki 
---
 debian/control |4 +-
 debian/rules   |2 +-
 doc/devel/internals/.gitignore |2 +-
 doc/devel/internals/Makefile   |2 +-
 doc/devel/partman/.gitignore   |2 +-
 doc/devel/partman/Makefile |   27 +-
 doc/devel/partman/build.sh |   16 +
 doc/devel/partman/internals.css|1 +
 doc/devel/partman/partman-doc.dbk  | 1751 
 doc/devel/partman/partman-doc.sgml | 1507 
 doc/devel/partman/style-common.xsl |1 +
 doc/devel/partman/style-html.xsl   |1 +
 12 files changed, 1778 insertions(+), 1538 deletions(-)
 create mode 100755 doc/devel/partman/build.sh
 create mode 12 doc/devel/partman/internals.css
 create mode 100644 doc/devel/partman/partman-doc.dbk
 delete mode 100644 doc/devel/partman/partman-doc.sgml
 create mode 12 doc/devel/partman/style-common.xsl
 create mode 12 doc/devel/partman/style-html.xsl

diff --git a/debian/control b/debian/control
index f903622e2..686a5ef6d 100644
--- a/debian/control
+++ b/debian/control
@@ -24,12 +24,10 @@ Build-Depends:
 #		Used to test validity of mirrors.
 	bc,
 #		Used for some image size calculations.
-	debiandoc-sgml,
-#		partman's manual is in debiandoc.
 	xsltproc,
 	docbook-xml,
 	docbook-xsl,
-#		The d-i internals manual is in DocBook XML.
+#		The d-i partman-doc and internals manual is in DocBook XML 4.x.
 	libbogl-dev,
 #		For bdftobogl used in font reduction.
 #	
diff --git a/debian/rules b/debian/rules
index e4f417dfd..63ae420d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,7 @@ binary-arch: install
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs doc/* -X Makefile -X build.sh -X .xsl \
-		-X internals.xml -X partman-doc.sgml -X .gitignore
+		-X internals.xml -X partman-doc.dbk -X .gitignore
 	dh_compress
 	dh_fixperms
 
diff --git a/doc/devel/internals/.gitignore b/doc/devel/internals/.gitignore
index eb6fe0602..3432c3fd8 100644
--- a/doc/devel/internals/.gitignore
+++ b/doc/devel/internals/.gitignore
@@ -1,2 +1,2 @@
-index.html
+*.html
 
diff --git a/doc/devel/internals/Makefile b/doc/devel/internals/Makefile
index 27a89b8c1..2629d1c6a 100644
--- a/doc/devel/internals/Makefile
+++ b/doc/devel/internals/Makefile
@@ -1,4 +1,4 @@
-all: *.xsl *.xml
+all:
 	@./build.sh
 
 clean:
diff --git a/doc/devel/partman/.gitignore b/doc/devel/partman/.gitignore
index ca2b6c7a2..3432c3fd8 100644
--- a/doc/devel/partman/.gitignore
+++ b/doc/devel/partman/.gitignore
@@ -1,2 +1,2 @@
-partman-doc.html
+*.html
 
diff --git a/doc/devel/partman/Makefile b/doc/devel/partman/Makefile
index b9cbcc66c..2629d1c6a 100644
--- a/doc/devel/partman/Makefile
+++ b/doc/devel/partman/Makefile
@@ -1,26 +1,5 @@
-SHELL=bash
-name=partman-doc
-
-$(name).html/: $(name).sgml
-	debiandoc2html $(name).sgml
-
-%.txt: %.sgml
-	debiandoc2text $<
-
-%.pdf: %.sgml
-	debiandoc2pdf $<
-
-%.dvi: %.sgml
-	debiandoc2dvi $<
-
-%.info: %.sgml
-	debiandoc2info $<
-
-%.ps: %.sgml
-	debiandoc2ps $<
-
-%.tov: %.sgml
-	debiandoc2textov $<
+all:
+	@./build.sh
 
 clean:
-	rm -rf $(name).html
+	@rm -f *.html
diff --git a/doc/devel/partman/build.sh b/doc/devel/partman/build.sh
new file mode 100755
index 0..a5e8e7816
--- /dev/null
+++ b/doc/devel/partman/build.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+xsltproc=`which xsltproc`
+stylesheet=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl
+
+if [ -n "$xsltproc" ] ; then
+if [ -e "$stylesheet" ]; then
+	$xsltproc --xinclude style-html.xsl partman-doc.dbk
+else
+	echo "stylesheet missing; please install the docbook-xsl Debian package"
+	exit 1
+fi
+else
+echo "xsltproc not found; please install the xsltproc Debian package"
+exit 1
+fi
diff --git a/doc/devel/partman/internals.css b/doc/devel/partman/internals.css
new file mode 12
index 0..44d290828
--- /dev/null
+++ b/doc/devel/partman/internals.css
@@ -0,0 +1 @@
+../internals/internals.css
\ No newline at end of file
diff --git a/doc/devel/partman/partman-doc.dbk b/doc/devel/partman/partman-doc.dbk
new file mode 100644
index 0..fafd15c73
--- /dev/null
+++ b/doc/devel/partman/partman-doc.dbk
@@ -0,0 

Bug#907970: Please stop using debiandoc-sgml (deprecated)

2018-09-04 Thread Ben Hutchings
On Tue, 2018-09-04 at 23:57 +0900, Osamu Aoki wrote:
> Package: debian-installer
> Version: 20180610
> Severity: normal
> Tags: patch
> 
> I am in process of dropping debiandoc-sgml.  So please convert
> partman-doc to DocBook XML with attached patch.

> --- a/doc/devel/partman/Makefile
> +++ b/doc/devel/partman/Makefile
[...]
> +all: *.xsl *.dbk
> + @./build.sh
[...]

make doesn't expand wildcards automatically; you need to use the
$(wildcard) function to do that.

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett




signature.asc
Description: This is a digitally signed message part


Bug#907970: Please stop using debiandoc-sgml (deprecated)

2018-09-04 Thread Osamu Aoki
Package: debian-installer
Version: 20180610
Severity: normal
Tags: patch

I am in process of dropping debiandoc-sgml.  So please convert
partman-doc to DocBook XML with attached patch.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
From 9e165a7690557672fcba4278894858b0badc789f Mon Sep 17 00:00:00 2001
From: Osamu Aoki 
Date: Fri, 31 Aug 2018 10:54:10 +
Subject: [PATCH] partman-doc: Convert to DocBook XML 4.5

Convert with:
 $ debiandoc2dbk -1 partman-doc.sgml

Build script are from internals (some symlink)
Also update .gitignore to match all *.html

Signed-off-by: Osamu Aoki 
---
 debian/control |4 +-
 debian/rules   |2 +-
 doc/devel/internals/.gitignore |2 +-
 doc/devel/partman/.gitignore   |2 +-
 doc/devel/partman/Makefile |   27 +-
 doc/devel/partman/build.sh |   16 +
 doc/devel/partman/internals.css|1 +
 doc/devel/partman/partman-doc.dbk  | 1751 
 doc/devel/partman/partman-doc.sgml | 1507 
 doc/devel/partman/style-common.xsl |1 +
 doc/devel/partman/style-html.xsl   |1 +
 11 files changed, 1777 insertions(+), 1537 deletions(-)
 create mode 100755 doc/devel/partman/build.sh
 create mode 12 doc/devel/partman/internals.css
 create mode 100644 doc/devel/partman/partman-doc.dbk
 delete mode 100644 doc/devel/partman/partman-doc.sgml
 create mode 12 doc/devel/partman/style-common.xsl
 create mode 12 doc/devel/partman/style-html.xsl

diff --git a/debian/control b/debian/control
index f903622e2..686a5ef6d 100644
--- a/debian/control
+++ b/debian/control
@@ -24,12 +24,10 @@ Build-Depends:
 #		Used to test validity of mirrors.
 	bc,
 #		Used for some image size calculations.
-	debiandoc-sgml,
-#		partman's manual is in debiandoc.
 	xsltproc,
 	docbook-xml,
 	docbook-xsl,
-#		The d-i internals manual is in DocBook XML.
+#		The d-i partman-doc and internals manual is in DocBook XML 4.x.
 	libbogl-dev,
 #		For bdftobogl used in font reduction.
 #	
diff --git a/debian/rules b/debian/rules
index e4f417dfd..63ae420d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,7 @@ binary-arch: install
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs doc/* -X Makefile -X build.sh -X .xsl \
-		-X internals.xml -X partman-doc.sgml -X .gitignore
+		-X internals.xml -X partman-doc.dbk -X .gitignore
 	dh_compress
 	dh_fixperms
 
diff --git a/doc/devel/internals/.gitignore b/doc/devel/internals/.gitignore
index eb6fe0602..3432c3fd8 100644
--- a/doc/devel/internals/.gitignore
+++ b/doc/devel/internals/.gitignore
@@ -1,2 +1,2 @@
-index.html
+*.html
 
diff --git a/doc/devel/partman/.gitignore b/doc/devel/partman/.gitignore
index ca2b6c7a2..3432c3fd8 100644
--- a/doc/devel/partman/.gitignore
+++ b/doc/devel/partman/.gitignore
@@ -1,2 +1,2 @@
-partman-doc.html
+*.html
 
diff --git a/doc/devel/partman/Makefile b/doc/devel/partman/Makefile
index b9cbcc66c..2e36b62b3 100644
--- a/doc/devel/partman/Makefile
+++ b/doc/devel/partman/Makefile
@@ -1,26 +1,5 @@
-SHELL=bash
-name=partman-doc
-
-$(name).html/: $(name).sgml
-	debiandoc2html $(name).sgml
-
-%.txt: %.sgml
-	debiandoc2text $<
-
-%.pdf: %.sgml
-	debiandoc2pdf $<
-
-%.dvi: %.sgml
-	debiandoc2dvi $<
-
-%.info: %.sgml
-	debiandoc2info $<
-
-%.ps: %.sgml
-	debiandoc2ps $<
-
-%.tov: %.sgml
-	debiandoc2textov $<
+all: *.xsl *.dbk
+	@./build.sh
 
 clean:
-	rm -rf $(name).html
+	@rm -f *.html
diff --git a/doc/devel/partman/build.sh b/doc/devel/partman/build.sh
new file mode 100755
index 0..a5e8e7816
--- /dev/null
+++ b/doc/devel/partman/build.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+xsltproc=`which xsltproc`
+stylesheet=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl
+
+if [ -n "$xsltproc" ] ; then
+if [ -e "$stylesheet" ]; then
+	$xsltproc --xinclude style-html.xsl partman-doc.dbk
+else
+	echo "stylesheet missing; please install the docbook-xsl Debian package"
+	exit 1
+fi
+else
+echo "xsltproc not found; please install the xsltproc Debian package"
+exit 1
+fi
diff --git a/doc/devel/partman/internals.css b/doc/devel/partman/internals.css
new file mode 12
index 0..44d290828
--- /dev/null
+++ b/doc/devel/partman/internals.css
@@ -0,0 +1 @@
+../internals/internals.css
\ No newline at end of file
diff --git a/doc/devel/partman/partman-doc.dbk b/doc/devel/partman/partman-doc.dbk
new file mode 100644
index 0..fafd15c73
--- /dev/null
+++ b/doc/devel/partman/partman-doc.dbk
@@ -0,0 +1,1751 @@
+
+
+http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [
+
+
+]>
+
+
+
+Partition Management for the Debian Installer
+
+
+
+
+Anton 

Bug#907704: choose-mirror: default to deb.debian.org

2018-09-04 Thread Julien Cristau
On 09/03/2018 10:44 PM, Nicholas D Steeves wrote:
> Like Karsten, my experience with deb.debian.org has been inconsistent.
> With a 50 Mb/s ADSL line in Montréal, most of the top candidates
> mirrors from netselect will consistently deliver ~6200 kB/s, but
> deb.debian.org often connects to an AWS instance where the download
> proceeds no more than 350 KB/s...
> 
http://deb.debian.org/debian, which is being proposed here, does not
point at AWS.  Only the https endpoint currently does, and that's not
what I'm switching to in this bug.

To Philipp's point, there are multiple CDNs we could use in the
(unlikely) event the current one(s) went away.  However, I believe the
consensus within DSA is that we explicitly do not want to maintain more
frontends for the sake of it, we'd rather have a single one that works
well, from a sponsor we're confident won't go away without enough notice
to let us move the service without affecting users.

Issues with deb.debian.org can be reported against the "mirrors"
pseudo-package in the BTS, or to the dsa@ or mirrors@ aliases.

If switching the mirror question from high to medium priority proves
controversial I guess I could separate that to its own bug too, to at
least get the default changed.

Cheers,
Julien



Re: powerpc packages removed from unstable

2018-09-04 Thread John Paul Adrian Glaubitz
On 09/02/2018 12:10 PM, Holger Wansing wrote:
> 
> If that's intended and permanent, and not to be reverted:
> 
> - the translations can be removed
> - remove from l10n-stats
> - the GIT repo can be removed
> - mr config need to be adapted
> - ../scripts/buildscript needs to be adapted
> - is there something more, that need to be done?

Again, please don't remove anything of that stuff. We still
need it. If these things are removed, lots of work we have done
in Debian Ports in the past years goes down the drain.

> And:
> what about partman-prep?

Is also needed on ppc64el.

According to the sample set of popcon, there are still more people
using Debian on powerpc than on ppc64 or ppc64el [1].

Adrian

> [1] https://popcon.debian.org/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#907704: choose-mirror: default to deb.debian.org

2018-09-04 Thread Bastian Blank
Hi Philipp

On Tue, Sep 04, 2018 at 09:02:42AM +0200, Philipp Kern wrote:
> I pulled out my RT account to check for mirror-related problems (they
> seem to be in a different queue I can't see) and found [0], so it looks
> like there's now a third unannounced provider that is not in the
> rotation (yet?). Unfortunately it seems to be TLS-less as well.

This was my project, as you can see.  Due to the completely non-existant
communication from DSA side, I have no idea how to go forward.  Google
actually supports TLS, it is even enabled, but needs some help to get
certificates in.

People from mainland China reported that it works lot better then for
example Fastly.

> I also wonder if we actually have sensible escalation points to solve
> problems for the users and the bandwidth to do so. That concern is
> especially grave if we're going to auto-hide the question by default.
> Defaulting is something that makes sense to me.

Not really, from my experience in the past months.

Regards,
Bastian

-- 
The heart is not a logical organ.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4



Bug#907704: choose-mirror: default to deb.debian.org

2018-09-04 Thread Philipp Kern
On 03.09.2018 21:54, Ben Hutchings wrote:
> That's why deb.debian.org is a plain CDN which doesn't rely on the
> existing mirror network.  It also supports TLS (which I think should
> also be enabled by default in the installer).

Note that TLS is only supported by one of the two CDN providers behind
deb.debian.org (AWS) right now. So if we make TLS the default, we end up
behind dependent on that single sponsor, which doesn't seem to be a
great idea.

> If deb.debian.org still doesn't provide reasonably fast service in some
> countries, then maybe we should still ask—but then we should put
> deb.debian.org at the top of the mirror list for most countries.

If only we could auto-select the right one automatically. I repeatedly
had to pin one of the two CDN providers (different ones on different
hosts) because the performance was inconsistent between them.

I pulled out my RT account to check for mirror-related problems (they
seem to be in a different queue I can't see) and found [0], so it looks
like there's now a third unannounced provider that is not in the
rotation (yet?). Unfortunately it seems to be TLS-less as well.

I also wonder if we actually have sensible escalation points to solve
problems for the users and the bandwidth to do so. That concern is
especially grave if we're going to auto-hide the question by default.
Defaulting is something that makes sense to me.

Kind regards
Philipp Kern

[0] https://rt.debian.org/Ticket/Display.html?id=7104



signature.asc
Description: OpenPGP digital signature