Re: [qubes-users] cannot build ubuntu template

2018-02-19 Thread Tim W
Yes I agree it would be best ifnthe unsupported templates were commented out 
with a notation in the doc of it incase some reason it needs to be built.   Its 
frustrating when you see 15 + template choices in the s ript but really only 6 
actually work.   The config may aslo ideally be adjusted so template choices 
are different for 3.2 and 4.0 to reflect the currently supported ones.   
Currently I have found that as part of an iso build none of the none standard 
templates will build correctly.   I can only make a qubes iso using fedora and 
debain whonix templates.  Archlinux. Ubuntu, Centos all error out.  On 4.0 even 
fc23 errors out.  Normally not a big deal but its nice to be able to build a 
kernel for 3.2 if you have dupli ate laptops.  I like ha ing active templates 
for current dom0 fc versions regardless it being in 4.0 or 3.2.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6ac39a1c-84b2-4264-808d-38546c6d4ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] cannot build ubuntu template

2018-02-19 Thread snowboard789
On Sunday, February 18, 2018 at 5:39:01 PM UTC+1, Unman wrote:
> On Sat, Feb 17, 2018 at 07:54:17AM -0800, snowboard...@gmail.com wrote:
> > running qubes 3.2
> > 
> > I am following default instructions from Archlinux.Tried to build template 
> > for trusty.
> > 
> > I cloned the default repo.
> > 
> > there is a problem with python2 because in fedora 23 there is no such 
> > package. I had to manually edit and put python-sh in Makefile, builder.conf 
> > and setup script. After that everything seems to be working fine but it 
> > crashes during make qubes-vm with this message:
> > 
> > ln -s ../../bin/qrexec-client-vm 
> > /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes/qrexec_client_vm
> > install qrexec-fork-server 
> > /home/user/qubes-src/core-agent-linux/debian/tmp/usr/bin
> > install qubes-rpc-multiplexer 
> > /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes
> > make[2]: Leaving directory `/home/user/qubes-src/core-agent-linux/qrexec'
> > make[1]: Leaving directory `/home/user/qubes-src/core-agent-linux'
> >dh_install
> > cp: cannot stat 
> > 'debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf':
> >  No such file or directory
> > dh_install: cp -a 
> > debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf 
> > debian/qubes-core-agent//lib/systemd/system/netfilter-persistent.service.d/ 
> > returned exit code 1
> > make: *** [binary] Error 2
> > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
> > status 2
> > /home/user/qubes-builder/qubes-src/builder-debian/Makefile.qubuntu:200: 
> > recipe for target 'dist-package' failed
> > make[2]: *** [dist-package] Error 2
> > Makefile.generic:156: recipe for target 'packages' failed
> > make[1]: *** [packages] Error 1
> > Makefile:212: recipe for target 'core-agent-linux-vm' failed
> > 
> > 
> > Why is it so difficult to build a default template? Should be working oob 
> > right?
> > 
> It should indeed work oob.
> Truth is that I only really support 1 LTS and the latest Ubuntu
> version. I havent built Trusty for some time, and it's difficult to keep
> it up to date with the changing code base.The right thing to do would be
> to take it out the build configs.
> If there's some specific reason that you need trusty, and you cant
> install as HVM, I'll take a quick look and see if the build issues can
> be fixed. It may be simple.
> Can you let me know?

I am sorry, new to Qbues here didn't realize I can install anything with HVM. 
cheers

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f6f2fbd4-3753-4915-a64e-ed413531beb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] cannot build ubuntu template

2018-02-18 Thread Unman
On Sat, Feb 17, 2018 at 07:54:17AM -0800, snowboard...@gmail.com wrote:
> running qubes 3.2
> 
> I am following default instructions from Archlinux.Tried to build template 
> for trusty.
> 
> I cloned the default repo.
> 
> there is a problem with python2 because in fedora 23 there is no such 
> package. I had to manually edit and put python-sh in Makefile, builder.conf 
> and setup script. After that everything seems to be working fine but it 
> crashes during make qubes-vm with this message:
> 
> ln -s ../../bin/qrexec-client-vm 
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes/qrexec_client_vm
> install qrexec-fork-server 
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/bin
> install qubes-rpc-multiplexer 
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes
> make[2]: Leaving directory `/home/user/qubes-src/core-agent-linux/qrexec'
> make[1]: Leaving directory `/home/user/qubes-src/core-agent-linux'
>dh_install
> cp: cannot stat 
> 'debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf': 
> No such file or directory
> dh_install: cp -a 
> debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf 
> debian/qubes-core-agent//lib/systemd/system/netfilter-persistent.service.d/ 
> returned exit code 1
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
> 2
> /home/user/qubes-builder/qubes-src/builder-debian/Makefile.qubuntu:200: 
> recipe for target 'dist-package' failed
> make[2]: *** [dist-package] Error 2
> Makefile.generic:156: recipe for target 'packages' failed
> make[1]: *** [packages] Error 1
> Makefile:212: recipe for target 'core-agent-linux-vm' failed
> 
> 
> Why is it so difficult to build a default template? Should be working oob 
> right?
> 
It should indeed work oob.
Truth is that I only really support 1 LTS and the latest Ubuntu
version. I havent built Trusty for some time, and it's difficult to keep
it up to date with the changing code base.The right thing to do would be
to take it out the build configs.
If there's some specific reason that you need trusty, and you cant
install as HVM, I'll take a quick look and see if the build issues can
be fixed. It may be simple.
Can you let me know?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20180218163858.zneywsadxvgi3fbf%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] cannot build ubuntu template

2018-02-17 Thread Tim W
There is a python2.sh rpm if you do a google search under centos I found and 
use and have been sucessfully building iso and templates.  But there is an 
issue I came across that started 5 or so days ago at least building iso that 
fails on the stretch standard build.   Further the centos 7 does not build 
correctly for 3.2 either now so maybe its effecting all but fedora templates at 
this point but a ticket is open on it.

Again not sure if it effects the zesty but as they are all debain based it 
might.   The 4.0 issues may just not be updated yet but 3.2 should have worked 
as they have in the past so an update/s have caused this.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d5d3b1b6-1f4a-4a89-bfe3-5f2f30b1f09c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] cannot build ubuntu template

2018-02-17 Thread 'awokd' via qubes-users
On Sat, February 17, 2018 3:54 pm, snowboard...@gmail.com wrote:
> running qubes 3.2
>
> I am following default instructions from Archlinux.Tried to build
> template for trusty.
>
> I cloned the default repo.
>
>
> there is a problem with python2 because in fedora 23 there is no such
> package. I had to manually edit and put python-sh in Makefile,
> builder.conf and setup script. After that everything seems to be working
> fine but it crashes during make qubes-vm with this message:
>
> ln -s ../../bin/qrexec-client-vm
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes/qrexec_cli
> ent_vm install qrexec-fork-server
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/bin
> install qubes-rpc-multiplexer
> /home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes
> make[2]: Leaving directory `/home/user/qubes-src/core-agent-linux/qrexec'
> make[1]: Leaving directory `/home/user/qubes-src/core-agent-linux'
> dh_install cp: cannot stat
> 'debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.co
> nf': No such file or directory
> dh_install: cp -a
> debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.con
> f
> debian/qubes-core-agent//lib/systemd/system/netfilter-persistent.service.
> d/ returned exit code 1 make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
> /home/user/qubes-builder/qubes-src/builder-debian/Makefile.qubuntu:200:
> recipe for target 'dist-package' failed make[2]: *** [dist-package] Error
> 2
> Makefile.generic:156: recipe for target 'packages' failed
> make[1]: *** [packages] Error 1
> Makefile:212: recipe for target 'core-agent-linux-vm' failed
>
>
>
> Why is it so difficult to build a default template? Should be working oob
> right?

Might be related to this issue:
https://github.com/QubesOS/qubes-issues/issues/3596



-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/57fe35e755abb8dc408d2295715313a6.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] cannot build ubuntu template

2018-02-17 Thread snowboard789
running qubes 3.2

I am following default instructions from Archlinux.Tried to build template for 
trusty.

I cloned the default repo.

there is a problem with python2 because in fedora 23 there is no such package. 
I had to manually edit and put python-sh in Makefile, builder.conf and setup 
script. After that everything seems to be working fine but it crashes during 
make qubes-vm with this message:

ln -s ../../bin/qrexec-client-vm 
/home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes/qrexec_client_vm
install qrexec-fork-server 
/home/user/qubes-src/core-agent-linux/debian/tmp/usr/bin
install qubes-rpc-multiplexer 
/home/user/qubes-src/core-agent-linux/debian/tmp/usr/lib/qubes
make[2]: Leaving directory `/home/user/qubes-src/core-agent-linux/qrexec'
make[1]: Leaving directory `/home/user/qubes-src/core-agent-linux'
   dh_install
cp: cannot stat 
'debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf': 
No such file or directory
dh_install: cp -a 
debian/tmp/lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf 
debian/qubes-core-agent//lib/systemd/system/netfilter-persistent.service.d/ 
returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
/home/user/qubes-builder/qubes-src/builder-debian/Makefile.qubuntu:200: recipe 
for target 'dist-package' failed
make[2]: *** [dist-package] Error 2
Makefile.generic:156: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
Makefile:212: recipe for target 'core-agent-linux-vm' failed


Why is it so difficult to build a default template? Should be working oob right?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0460ce2c-4f50-48f9-ae7b-7b9305e919ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.