Re: 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



Adding postgresql as pre-depends for gitlab

2017-04-16 Thread Pirate Praveen
Currently #859200 is open as rc bug as upgrading postgresql and gitlab together 
fails. gitlab installation and updates need to write to database (currently 
only postgresql is supported). I'm planning to add potgresql to pre depends, 
but policy mandates discussing it here first.

Thanks
Praveen
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Adding postgresql as pre-depends for gitlab

2017-04-16 Thread Peter Palfrader
On Sun, 16 Apr 2017, Pirate Praveen wrote:

> Currently #859200 is open as rc bug as upgrading postgresql and gitlab
> together fails. gitlab installation and updates need to write to
> database (currently only postgresql is supported). I'm planning to add
> potgresql to pre depends, but policy mandates discussing it here
> first.

Having the DBMS on a different host should be a supported way of setup.
You should not depend on a postgres server on the same machine running
gitlab, and therefore neither should you pre-depend on postgres.

Cheers,
-- 
|  .''`.   ** Debian **
  Peter Palfrader   | : :' :  The  universal
 https://www.palfrader.org/ | `. `'  Operating System
|   `-https://www.debian.org/



Re: Adding postgresql as pre-depends for gitlab

2017-04-16 Thread Ondrej Novy
Hi,

2017-04-16 15:08 GMT+02:00 Peter Palfrader :
>
> Having the DBMS on a different host should be a supported way of setup.
> You should not depend on a postgres server on the same machine running
> gitlab, and therefore neither should you pre-depend on postgres.
>

yep and why do SQL schema update during package upgrade? init script / solo
script is better place imho.

-- 
Best regards
 Ondřej Nový

Email: n...@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B