Hey,

Dnia Sunday, November 12, 2017 4:51:20 PM CET rysiek pisze:
> is there any movement on this? Is there any way I can jump into this and
> help? Any docs I should read to get me started along the way of fixing
> Ubuntu templates for R4.0?

got it to start building. For this I had to make some changes in:

 - debian/qubes-core-agent.install (from `qubes-core-agent-linux` repo)
 - debian/qubes-gui-agent.install  (from `qubes-gui-agent-linux` repo)

Diffs at the bottom.

Didn't make a PR since I have no idea what are the ramifications and potential 
consequences of these particular changes for the operation/security of built 
templates. I assume the files removed are important (otherwise they wouldn't 
have been there in the first place).

Now, during template build I got:
./create_template_list.sh: line 13: xenstore-read: command not found 

Not sure how serious it is; the template seems to have been built. Installing 
it, however, spits out an error:
trusty: qubes.PostInstall service failed
(full log below).

Running anything in a new AppVM based on this template fires it up for a few 
seconds, shows what I can only assume are boot messages (screenshot attached) 
and then the window disappears and nothing else happens.

Any pointers how to proceed with debugging and fixing the Ubuntu templates 
would be appreciated.



$ sudo yum install qubes-template-trusty-4.0.0-201711122203.noarch.rpm 
Redirecting to '/usr/bin/dnf install qubes-template-
trusty-4.0.0-201711122203.noarch.rpm' (see 'man yum2dnf')

Qubes OS Repository for Dom0                     13 MB/s |  77 kB     00:00    
Dependencies resolved.
================================================================================
 Package                  Arch      Version               Repository       
Size
================================================================================
Installing:
 qubes-template-trusty    noarch    4.0.0-201711122203    @commandline    436 
M

Transaction Summary
================================================================================
Install  1 Package

Total size: 436 M
Installed size: 1.9 G
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : qubes-template-trusty-4.0.0-201711122203.noarch                 
                                                                                
                          
1/1 
trusty: Importing data
2621440+0 records in
2621440+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 30.3018 s, 354 MB/s
trusty: qubes.PostInstall service failed
  Verifying   : qubes-template-trusty-4.0.0-201711122203.noarch                 
         
1/1 

Installed:
  qubes-template-trusty.noarch 4.0.0-201711122203                               
             

Complete!


diff --git a/debian/qubes-core-agent.install b/debian/qubes-core-agent.install  
                                                                                
                                                                                
   
index 7c1b0c3..ea90569 100644                                                   
                                                                                
                                                                                
   
--- a/debian/qubes-core-agent.install                                           
                                                                                
                                                                                
   
+++ b/debian/qubes-core-agent.install                                           
                                                                                
                                                                                
   
@@ -56,15 +56,12 @@ lib/systemd/system/NetworkManager-wait-online.service.d/
30_qubes.conf                                                                   
                                                                                
       
 lib/systemd/system/NetworkManager.service.d/30_qubes.conf                      
                                                                                
                                                                                
    
lib/systemd/system/anacron-resume.service.d/30_qubes.conf                       
                                                                                
                                                                                
  
 lib/systemd/system/anacron.service.d/30_qubes.conf                             
                                                                                
                                                                                
   
-lib/systemd/system/avahi-daemon.service.d/30_qubes.conf                        
                                                                                
                                                                                
   
 lib/systemd/system/chronyd.service.d/30_qubes.conf                             
                                                                                
                                                                                
   
 lib/systemd/system/cron.service.d/30_qubes.conf                                
                                                                                
                                                                                
   
 lib/systemd/system/cups.path.d/30_qubes.conf                                   
                                                                                
                                                                                
   
 lib/systemd/system/cups.service.d/30_qubes.conf                                
                                                                                
                                                                                
   
 lib/systemd/system/cups.socket.d/30_qubes.conf                                 
                                                                                
                                                                                
   
-lib/systemd/system/exim4.service.d/30_qubes.conf                               
                                                                                
                                                                                
   
 lib/systemd/system/getty@tty.service.d/30_qubes.conf                           
                                                                                
                                                                                
   
-lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf                
                                                                                
                                                                                
    
lib/systemd/system/org.cups.cupsd.path.d/30_qubes.conf                          
                                                                                
                                                                                
  
 lib/systemd/system/org.cups.cupsd.service.d/30_qubes.conf                      
                                                                                
                                                                                
   
 lib/systemd/system/org.cups.cupsd.socket.d/30_qubes.conf                       
                                                                                
                                                                                
   
@@ -98,7 +95,7 @@ usr/bin/qvm-open-in-vm                                        
                                                                                
                                                                                
   
 usr/bin/qvm-run-vm                                                             
                                                                                
                                                                                
    
usr/bin/qvm-sync-clock                                                          
                                                                                
                                                                                
  
 usr/bin/xenstore-watch-qubes                                                   
                                                                                
                                                                                
   
-usr/lib/python2.7/dist-packages/qubesxdg.py                                    
                                                                                
                                                                                
   
+usr/lib/python2.7/dist-packages/qubesxdg.py*                                   
                                                                                
                                                                                
   
 usr/lib/python2.7/dist-packages/qubesagent-*.egg-info/*                        
                                                                                
                                                                                
   
 usr/lib/python2.7/dist-packages/qubesagent/*                                   
                                                                                
                                                                                
   
 usr/lib/qubes-bind-dirs.d/30_cron.conf

diff --git a/debian/qubes-gui-agent.install b/debian/qubes-gui-agent.install    
                                                                                
                                                                                
   
index 1b2dfe9..2aee21f 100644                                                   
                                                                                
                                                                                
   
--- a/debian/qubes-gui-agent.install                                            
                                                                                
                                                                                
   
+++ b/debian/qubes-gui-agent.install                                            
                                                                                
                                                                                
   
@@ -3,7 +3,6 @@ etc/profile.d/*                                                 
                                                                                
                                                                                
   
 etc/security/limits.d/90-qubes-gui.conf                                        
                                                                                
                                                                                
    
etc/qubes-rpc/qubes.SetMonitorLayout                                            
                                                                                
                                                                                
  
 etc/xdg/autostart/qubes-icon-sender.desktop                                    
                                                                                
                                                                                
   
-etc/xdg/Trolltech.conf                                                         
                                                                                
                                                                                
   
 etc/xdg/Xresources                                                             
                                                                                
                                                                                
   
 etc/xdg/fonts.conf                                                             
                                                                                
                                                                                
   
 etc/xdg/xsettingsd

-- 
Pozdrawiam,
Michał "rysiek" Woźniak

Zmieniam klucz GPG :: http://rys.io/pl/147
GPG Key Transition :: http://rys.io/en/147

-- 
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/2439942.H0Y1rIWSGj%40lapuntu.
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to