Bug#860368: installer: create network bridges by default?

2017-04-16 Thread Evgeni Golov
Hi Daniel,

On Sat, Apr 15, 2017 at 10:50:30AM +0200, Daniel Pocock wrote:

> With VirtualBox dropping out of testing[1], more people will be using
> KVM and libvirt/virt-manager[2] for desktop virtualization.

IMHO it was not in testing for quite some time, as it was gone from main to 
contrib.
But YMMV :)

> With VirtualBox, it was possible for people to bridge their physical
> network interfaces with their VM guest systems using the GUI / setup wizard.
> 
> With libvirt, that is possible using macvtap but it is unreliable and
> doesn't allow[3] communication between the guest and the host, only
> between the guest and other hosts on the subnet.

Doesn't libvirt create a virbr0 bridge upon installation?
At least all my setups have that, and it is perfect for my needs:
* host can talk to the guests
* guests can talk to the host
* guests can get to "the internet" due to NAT setup by libvirt

The setup should look someting like this:
# virsh net-dumpxml default

  default
  ffa97f93-f2bf-449e-9a3b-84a628367afb
  

  

  
  
  
  

  

  



> The solution is for people to configure a bridge or Open vSwitch (OVS)
> in /etc/network/interfaces.  (Notice OVS can be configured[4] in the
> interfaces file).  Maybe it would be useful to offer one or both of
> these options at install time, or even configure a standard (non-OVS)
> bridge by default in case the user decides to try KVM in future?

IMHO the above implements option 1?

> Are there other use cases apart from KVM that would benefit from this?

I also use LXC on the same bridge, just for the fact that it is already set
up and provides DHCP, DNS and NAT.

Cheers
Evgeni



Bug#819300: should provide default HTTPS mirrors for non-Debian releases too

2017-04-15 Thread Evgeni Golov
Hi,

sorry, this somehow slipped my inbox.

On Sun, Nov 13, 2016 at 05:50:39PM -0800, Julien Cristau wrote:

> > currently debootstrap only knows about an HTTPS mirror for Debian, but not 
> > e.g. for Ubuntu.
> 
> Does ubuntu even run https mirrors?  A pointer to official documentation
> would be appreciated, I couldn't find it in a quick search.

https://mirrors.kernel.org/ubuntu/ is a prominent https mirror.

Sadly https://launchpad.net/ubuntu/+archivemirrors does not list any https 
mirrors.
Neither does archive.ubuntu.com offer https.

But then again, I can't find official documentation that Debian offers https 
mirrors either ;)

Cheers
Evgeni



Re: Stretch Alpha 5 netinst images "broken"

2016-05-10 Thread Evgeni Golov
On Tue, May 10, 2016 at 09:37:04AM +, Holger Levsen wrote:
> On Tue, May 10, 2016 at 10:57:10AM +0200, Evgeni Golov wrote:
> > [2] 
> > https://img5.picload.org/image/rgodplwp/virtualbox_debiantesting_10_05.png
> 
> FWIW this can be worked around just as indicated in the screenshot:
> 
> - change into a shell
> - chroot into /target
> - apt-get install -f
> - leave shell
> - continue installation.

Sure, or by just using the daily image :-)

It's just that as a mere user¹ who wants to try Stretch, I expect the
image linked on the page to work without hacks.

Cheers
Evgeni

¹: the above issue was reported to me by a friend who wanted to try
something quick and did not expect to have to solve dependency issues in
testing.



Stretch Alpha 5 netinst images "broken"

2016-05-10 Thread Evgeni Golov
[ please CC me, I am not subscribed to debian-boot@ ]

Ohai,

[1] one should use the Stretch Alpha 5 images to install Stretch,
however at least the netinst images run into funny dependency problems
when doing so: [2].

Technically this is fine, Stretch is a moving target and one should not
expect a 5 month old snapshot to work properly with todays packages.
However, I think [1] should not link to these outdated images but rather
to some daily/weekly builds? At least in the time we do not build
Alpha/Beta releases (I know KiBi wanted to start doing this again).

Greets
Evgeni

[1] https://www.debian.org/devel/debian-installer/
[2] https://img5.picload.org/image/rgodplwp/virtualbox_debiantesting_10_05.png



Bug#819300: should provide default HTTPS mirrors for non-Debian releases too

2016-03-26 Thread Evgeni Golov
Package: debootstrap
Version: 1.0.80
Severity: wishlist

Hi,

currently debootstrap only knows about an HTTPS mirror for Debian, but not e.g. 
for Ubuntu.
This can have funny results when trying to bootstrap an Ubuntu release w/o 
having ubuntu-archive-keyring installed:

% sudo debootstrap xenial /tmp/xenial
I: Keyring file not available at 
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror 
https://mirrors.kernel.org/debian
I: Retrieving Release 
E: Failed getting release file 
https://mirrors.kernel.org/debian/dists/xenial/Release

Explicitly setting the mirror helps. But I think the Ubuntu scripts should not 
only override DEF_MIRROR but also DEF_HTTPS_MIRROR.

Greets
Evgeni

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

Kernel: Linux 4.4.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.17.1-1+b1

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

debootstrap suggests no packages.

-- no debconf information



Re: Adding ISO-search support to the CD (netinst) images?

2011-12-31 Thread Evgeni Golov
On Sat, Dec 31, 2011 at 12:30:10PM -0400, Joey Hess wrote:
 Evgeni Golov wrote:
  grub2:
   loopback loop /debian-7.0-amd64-NETINST-findiso.iso
   set root=(loop)
   linux /install.amd/vmlinux findiso
   initrd /install.amd/initrd.gz
   boot
 
 So for this to work, the user has to go out of their way to configure it
 to be used, including specifying the initrd to use. Why is this better
 than the user downloading the hd-media initrd.gz and using that?

The grub method is automatable (in grub itself too).
Just create a folder, dump some ISOs there and create a script that will 
itterate over the ISOs and create grub entries to chainload these.
If the iso would contain a grub.cfg (or better loopback.cfg [1]), this 
would run completelly automated (I have such a cfg on my hd, didnt 
commit it yet). If not, easy guessing is possible in most of the cases.

 This cannot quite replace hd-media, because the hd-media initrd contains
 many more kernel drivers, to be able to scan hard drives. Those are not
 included on the cdrom initrd to avoid bloating it.

Sure. But at least for me, I need hd-media to boot an usb-drive w/ D-I.
No fancy firewire/non-sata SCSI etc.
So current state would be enough (I boot netbooks/notebooks with the 
drive), even if not a complete replacement of all the hd-media 
use-cases.

 As one of the main authors and maintainers of iso-scan, I see it being
 used in increasingly limited circumstances, and have been hoping that
 those use-cases will narrow to the point that it can be removed. Making
 it marginally easier to boot the CD with grub2 is a very narrow use-case
 indeed, and not a good justification for adding iso-scan to the cdrom
 initrd.

Well, I fear this won't be possible. The last years gave us enough 
machines that have no cdrom and desperately need a way of installation 
from usb, so having hd-media was always great. And yes, hybrid media is 
cool, but does not give the same flexibility (is that a word at all?) of 
having multiple installers on one usb.

Regards
Evgeni

[1] http://www.supergrubdisk.org/wiki/Loopback.cfg

-- 
Bruce Schneier can read and understand Perl programs.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111231174244.gm8...@dorei.kerker.die-welt.net



Re: Adding ISO-search support to the CD (netinst) images?

2011-12-29 Thread Evgeni Golov
Heya²,

given no answer and me having some minutes here in Berlin during the 
congress, I accidentally the D-I.

On Sat, Dec 24, 2011 at 12:37:16PM +0100, Evgeni Golov wrote:

 With yesterdays Grml release, I thought I could spend an hour or so
 automating and improving my setup.
 Step 1 was to replace the two Grmls with grml96 and booting it via
 Grub's loopback instead of syslinux [1].
 
 Step 2 would have been doing the same with Debian, but as Debian doesn't
 have the alternative grub boot grml has, I though I just could loopback
 the iso, load kernel and initrd from it and rely on the
 iso-scan/load-iso stuff to find the iso again.
 Sadly, this does not work, as the initrd of the ISO does not contain the
 iso-scan/load-iso like the hd-media [2].

I took d-i, cdrom-detect and iso-scan from git and added like 5 lines to 
it:
D-I: load iso-scan and load-iso to the cdrom build
cdrom-detect: do not run when booted with findiso parameter
iso-scan: when run after a successful cdrom-detect, do not run

the modified ISO can be found here:
 http://people.debian.org/~evgeni/tmp/debian-7.0-amd64-NETINST-findiso.iso

patched git trees:
 
http://anonscm.debian.org/gitweb/?p=users/evgeni/tmp/debian-installer.git;a=summary
 http://anonscm.debian.org/gitweb/?p=users/evgeni/tmp/cdrom-detect.git;a=summary
 http://anonscm.debian.org/gitweb/?p=users/evgeni/tmp/iso-scan.git;a=summary

How to use:
boot as cdrom 

OR
grub2:
 loopback loop /debian-7.0-amd64-NETINST-findiso.iso
 set root=(loop)
 linux /install.amd/vmlinux findiso
 initrd /install.amd/initrd.gz
 boot

OR
kvm:
 kvm -kernel dest/cdrom/vmlinuz -initrd dest/cdrom/initrd.gz \
  -append 'findiso' -hda /tmp/blah  -boot a
with dest/cdrom the d-i freshly built stuff (or from iso), /tmp/blah an 
qemu image with fs, with the iso in it.

the currently only glitch is, that both modules are displayd in the UI 
when booted. is there any way to remove a module after another was 
successful? sorry, i'm a d-i n00b.

comments highly appreciated!

Evgeni

-- 
Bruce Schneier can read and understand Perl programs.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111229160619.gj8...@dorei.kerker.die-welt.net



Adding ISO-search support to the CD (netinst) images?

2011-12-24 Thread Evgeni Golov
[ not subscribed to -boot@, please CC if you drop -devel@ ]

Heya *,

I am using an usb-stick as a boot-and-repear-everything tool. The
current setup contains syslinux booting Grml, Squeeze D-I and Testing
D-I in 32 and 64bit → 6 entries, hand-crafted into a syslinux.cfg.

With yesterdays Grml release, I thought I could spend an hour or so
automating and improving my setup.
Step 1 was to replace the two Grmls with grml96 and booting it via
Grub's loopback instead of syslinux [1].

Step 2 would have been doing the same with Debian, but as Debian doesn't
have the alternative grub boot grml has, I though I just could loopback
the iso, load kernel and initrd from it and rely on the
iso-scan/load-iso stuff to find the iso again.
Sadly, this does not work, as the initrd of the ISO does not contain the
iso-scan/load-iso like the hd-media [2].
Getting the hd-media initrd and using this works of course.
I wonder if it would be possible to add iso-scan/load-iso to the
CD-images and use it in case no cdrom could be found, removing the need
for a separate hd-media (and allowing creating of custom setups where a
dd of the iso to the usb-stick is not enough w/o downloading more than
just the iso).

Regards
Evgeni

[1] http://www.supergrubdisk.org/wiki/Loopback.cfg
[2]
http://ftp.de.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/MANIFEST.udebs


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ef5b96c.30...@debian.org



Bug#621393: xnecview: diff for NMU version 1.35-7.1

2011-05-02 Thread Evgeni Golov
tags 621393 + patch
tags 621393 + pending
thanks

Dear maintainer,

I've prepared an NMU for xnecview (versioned as 1.35-7.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
Evgeni Golov
diff -u xnecview-1.35/debian/changelog xnecview-1.35/debian/changelog
--- xnecview-1.35/debian/changelog
+++ xnecview-1.35/debian/changelog
@@ -1,3 +1,13 @@
+xnecview (1.35-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * R0 is already taken as a register name on armel, rename xnecview's
+constant to DEFFAULTR0.
+Closes: #621393
+  * Add ${misc:Depends} to Depends, thanks lintian.
+
+ -- Evgeni Golov evg...@debian.org  Mon, 02 May 2011 09:14:19 +0200
+
 xnecview (1.35-7) unstable; urgency=low
 
   * correct nonsensical standards version number of 3.8.22 to 3.8.2
diff -u xnecview-1.35/debian/control xnecview-1.35/debian/control
--- xnecview-1.35/debian/control
+++ xnecview-1.35/debian/control
@@ -7,7 +7,7 @@
 
 Package: xnecview
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: NEC structure and gain pattern viewer
  xnecview allows a representation of a NEC (Numerical Electromagnetics
  Code) structure, such as an antenna which is to be modelled to be
only in patch2:
unchanged:
--- xnecview-1.35.orig/freqplot.c
+++ xnecview-1.35/freqplot.c
@@ -28,7 +28,7 @@
 int plot2_z2=0;  /* show the phi(z)/abs(z) graph? */
 int plot2_dir=0; /* show the direction-of-maximum-gain graph? */
 
-double r0=R0;/* reference impedance for SWR calculation */
+double r0=DEFAULTR0;/* reference impedance for SWR calculation */
 
 
 
only in patch2:
unchanged:
--- xnecview-1.35.orig/config.h
+++ xnecview-1.35/config.h
@@ -57,6 +57,6 @@
 #define XFONT 6x10   /* font for text in the on-screen drawing */
 #define PSFONT helvetica /* font for postscript output (size is derived by scaling the X font) */
 
-#define R0  50.0   /* default reference impedance for SWR calculation */
+#define DEFAULTR0  50.0/* default reference impedance for SWR calculation */
 
 #define Polthr (M_SQRT2-1)  /* threshold of axial ratio used in polarization-colouring */


Bug#621393: xnecview: diff for NMU version 1.35-7.1

2011-05-02 Thread Evgeni Golov


Christian PERRIER bubu...@debian.org schrieb:

Quoting Evgeni Golov (evg...@debian.org):  tags 621393 + patch  tags 621393 + 
pending  thanks   Dear maintainer,   I've prepared an NMU for xnecview 
(versioned as 1.35-7.1) and  uploaded it to DELAYED/5. Please feel free to 
tell me if I  should delay it longer. Are you sure you're using the right bug 
number? #621393 is a bug against preseed 


Hi,

Sorry for the noise. I had a typo in the changelog, the actual nmu was for 
#621392 and thats whats currently in the queue, just forgot to comment on my 
mistake here (after having fun with dcut).

Regards
Evgeni

Re: How about playing a game while installing Debian?

2009-04-20 Thread Evgeni Golov
On Mon, 13 Apr 2009 21:06:51 +0200 Frans Pop wrote:

 - games shall only be loaded as additional components and only if the 
 system has sufficient memory

Sure

 - games should only be loaded/offered if the D-I user interface supports 
 them

From reading your old ideas in the wiki, it seems to me, that it was
planned for the GTK Installer only, but IMHO a decent curses game would
do too, as long D-I runs locally and not over a slow 9600baud serial
link, so yes, we'd have to define cases which games would work where.

 - games shall in no way get in the way of the installation itself

Well, they could crash, but mostly we just need to inform the user that
there is a D-I question ongoing which is more important than the game
(Marco's idea with SIGUSR1 is not bad indeed)

 - games will only be considered as long as they do not result in an 
 explosion of additional library udebs

Could anyone give me here a list of which libs/languages are ok? From
the wiki I just gathered no libstdc++, no gnome, no language whose
runtime is not-available in d-i/g-i which isn't tooo clear.

If someone has some handy lists on those, could he/she please add it to
http://wiki.debian.org/Games/D-I?

TIA
Evgeni


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



How about playing a game while installing Debian?

2009-04-11 Thread Evgeni Golov
Dear debian-boot,

some time ago I was cleaning the gnujump package and noticed some
commented notes about udeb creation in the packaging, asking the
main-maintainer, he said that this was an idea to give users the
possibility to play while waiting for D-I, but was never finished.

So now I'd like to ask you, what you think about the idea to add some
(small) games, so users can relax while D-I is fetching packages etc.
The games should be easy and fast-playing (no civilization clone where
you need 2 hours for a good game :)), so I'd suggest something like
bsdgames, sudoku, ninvaders etc, but also the already named gnujump
(sdl), maybe some poker and tetris games... You guess what I mean :)

Please add your 0.02€ to the bin, and tell us whether you like the idea
(and if so, which games you'd love to see).

Kind regards
Evgeni Golov
Debian Games Team

PS: please keep -games@ CC'ed if possible.

-- 
Bruce Schneier Fact Number 474:
My firewall cannot block www.schneier.com.


pgpVPF7erCGf7.pgp
Description: PGP signature