debian-8.5.0-amd64 installer is not compatible with with windows 10 home edition X 64 in UEFI mode

2016-06-30 Thread Mgr. Janusz Chmiel

Dear core developers,
Latest stable installer is not compatible with Windows 10 Home edition 
X64 if The installer run in UEFI based system.
It is inpossible to bypass it. Do YYou think, that it would be possible 
to solve this problem? Installer display warning, that Windows 10 and 
version number is not supported, we are working on The solution.


I deeply appreciate all core developers of Debian 64 bit installer. 
Because EFI and UEFI is really big problem for all nom Microsoft 
operating system. Dlls and machine code instruction file in efi folder 
do not allow to boot non Microsoft products.
Do You think, that if i will install Debian to .vhd virtual harddisk, 
which will not be dynamic. That I can boot from this .vhd file? Or this 
is also not A solution.
I do not like virtualisation, because Debian will never have access to 
100% of available system resources. Sound is complicated managed by 
using Audioservice  Windows service, some special kernel mode device 
.sys drivers must run to allow Debian touse Windows audio drivers ETC.
If I can help You debug or test development installer, please tell me, 
which device should I use to debug. I use special OCR app to read on 
screen text.
Or do You have to intesively communicate with Microsoft so they would 
give Yours module digital signature key, and it is not easy to negotiate 
with Microsoft about such thinks? Because UEFI and EFI have some complex 
advantages related to Windows virus protection.
I have my installation for 5 months or more and I have not got AN virus. 
When I have run Windows 10 in MBR mode, there are many viruses even 
Avast run.


So UEFI and EFI is very probably not primarily focus against Linux. Or 
do I have wrong information?




Re: debian-8.5.0-amd64 installer is not compatible with with windows 10 home edition X 64 in UEFI mode

2016-06-30 Thread Steve McIntyre
On Thu, Jun 30, 2016 at 07:16:04PM +0200, Mgr. Janusz Chmiel wrote:
>Dear core developers,
>Latest stable installer is not compatible with Windows 10 Home edition X64 if
>The installer run in UEFI based system.
>It is inpossible to bypass it. Do YYou think, that it would be possible to
>solve this problem? Installer display warning, that Windows 10 and version
>number is not supported, we are working on The solution.

Hmmm. That's the first time I've heard of such a warning. Where
exactly does that message come up, please?

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
We don't need no education.
We don't need no thought control.



Re: debian-8.5.0-amd64 installer is not compatible with with windows 10 home edition X 64 in UEFI mode

2016-06-30 Thread Ben Hutchings
On Thu, 2016-06-30 at 19:07 +0100, Steve McIntyre wrote:
> On Thu, Jun 30, 2016 at 07:16:04PM +0200, Mgr. Janusz Chmiel wrote:
> > Dear core developers,
> > Latest stable installer is not compatible with Windows 10 Home edition X64 
> > if
> > The installer run in UEFI based system.
> > It is inpossible to bypass it. Do YYou think, that it would be possible to
> > solve this problem? Installer display warning, that Windows 10 and version
> > number is not supported, we are working on The solution.
> 
> Hmmm. That's the first time I've heard of such a warning. Where
> exactly does that message come up, please?

Maybe related to #824648?  Janusz, did you use win32-loader?

Ben.

-- 

Ben Hutchings
To err is human; to really foul things up requires a computer.


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


Bug#829134: debootstrap: Changes needed to support unprivileged userns debootstrap

2016-06-30 Thread Ben Longbons
Package: debootstrap
Version: 1.0.81
Severity: wishlist
Tags: patch

Dear Maintainer,

Now that the kernel supports user_namespaces(7), it should be possible
to debootstrap in them. Some small changes are needed.

Configuration needed:
* Kernel 3.8 or later (3.11 recommended)
* Set the sysctl kernel.unprivileged_userns_clone to 1
(Debian-specific "temporary" patch from years ago).
* Install the `uidmap` package and add yourself to /etc/sub[ug]id
* Install the `lxc` package (for one helper binary only)
* Make sure the current directory is searchable by other.

I have attached the necessary changes as a wrapper script, but there
really should be some architectural changes:

* The `/usr/sbin/debootstrap` vs `/usr/share/debootstrap/functions`
split is quite painful. Move everything into one file and then
replace sbin/debootstrap with basically `source functions; main`.
* Satisfy `shellcheck`s errors and warnings, and suppress the rest.
* Beware that shellcheck currently does not catch `echo $(false)`.
* Make it possible to use more than one `--variant` at once somehow.
* Debootstrap is currently not idempotent - see the `rm dev...` hack.
* If you're in a new mount namespace, no need to `umount` at the end.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (600, 'testing-debug'), (600, 'testing'), (500, 
'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
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 debootstrap depends on:
ii  wget  1.18-1

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2014.3
ii  gnupg   1.4.20-6

debootstrap suggests no packages.

-- no debconf information
#!/bin/sh
# userns-debootstrap - debootstrap in a unprivileged new UID namespace
#
# Copyright (c) 2016 Ben Longbons
#
#Permission is hereby granted, free of charge, to any person obtaining
#a copy of this software and associated documentation files (the
#"Software"), to deal in the Software without restriction, including
#without limitation the rights to use, copy, modify, merge, publish,
#distribute, sublicense, and/or sell copies of the Software, and to
#permit persons to whom the Software is furnished to do so, subject to
#the following conditions:
#
#The above copyright notice and this permission notice shall be
#included in all copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
#EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
#MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
#IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
#CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
#TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
#SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# (This is the same license as debootstrap itself).

# This currently requires Debootstrap 1.0.76 or later,
# to avoid devices.tar.gz (see debian bug 571136).

# Note that, if everything works *correctly*, we `exec` rather than `exit`.
set -e
trap 'echo Failed during setup' EXIT
bailout()
{
local status="$?"
echo "Bailing out with status $status"
if test -z "$BASH"
then
echo 'For more debug info, run under bash (e.g. with --bash)'
enter_debug_shell
return
fi

echo "Last command: $BASH_COMMAND"
test -z "$debug_variables" || ( set -o posix; set; )
backtrace

enter_debug_shell
}

trap 'bailout' EXIT
if test -n "$BASH"
then
# bash doesn't set BASH_LINENO correctly for EXIT, so use ERR
set -E
# shellcheck disable=SC2039
trap 'bailout' ERR
trap 'echo Bug: irregular exit' EXIT
fi
umask 022

enter_debug_shell()
{
test -n "$debug_shell" || return
echo 'Entering debug shell!'
# If run e.g. from vim's :make, it tries to steal our stdio
exec "$debug_shell" <> /dev/tty 1>&0 2>&0
}

# shellcheck disable=SC2039
backtrace()
{
local skip_head=0 skip_tail=1
echo Backtrace:
for i in $(eval "echo {${skip_head}..$((${#BASH_LINENO[@]}-skip_tail-1))}")
do
echo "${BASH_SOURCE[i]}:${BASH_LINENO[i]}: error: ... from ${FUNCNAME[i+1]}"
done
}

dispatch()
{
phase=phase1

suite=
target=
mirror=
script=

: $suite $target $mirror $script

local arg

for arg
do
case "$arg" in
-h | --help)
usage
;;
--bash)
if test -z "$BASH"
then
echo 'Restarting under bash ...'
exec bash "$0" "$@"
fi
;;
--debug-shell)