Re: [qubes-users] Next question related to cloning of Minimal TemplateVMs

2020-05-30 Thread Viktor Ransmayr
Hello unman,

On Sat, May 30, 2020, 19:49 unman  wrote:

> On Sat, May 30, 2020 at 10:21:16AM -0700, viktor.ransm...@gmail.com wrote:
> > Now that I have resolved (?) my problem concerning copying text from
> xterm
> > sessions, I'm running into the next strange behavior :-(
> >
> > The short version, is a simple question:
> >
> > *Are you able to create a clone from 'fedora-31-minimal' and extend it
> with
> > packages?*
> >
> >
>
> Thanks for the detailed report.
> The minimal template does not contain the qubes-passwordless-root
> package. The full template does.
> Read this:
> https://www.qubes-os.org/doc/templates/minimal/#passwordless-root


Thanks for this link. - Now it's clear.

With kind regards,

VR

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAAeSrGJVjhr4A89RRndeeEu6VEHJVkFjhNJrHGbbQGgmXdX4Vw%40mail.gmail.com.


Re: [qubes-users] Next question related to cloning of Minimal TemplateVMs

2020-05-30 Thread unman
On Sat, May 30, 2020 at 10:21:16AM -0700, viktor.ransm...@gmail.com wrote:
> Hello community,
> 
> Now that I have resolved (?) my problem concerning copying text from xterm 
> sessions, I'm running into the next strange behavior :-(
> 
> The short version, is a simple question:
> 
> *Are you able to create a clone from 'fedora-31-minimal' and extend it with 
> packages?*
> 
> 

Thanks for the detailed report.
The minimal template does not contain the qubes-passwordless-root
package. The full template does.
Read this: https://www.qubes-os.org/doc/templates/minimal/#passwordless-root

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200530174948.GA6701%40thirdeyesecurity.org.


[qubes-users] Next question related to cloning of Minimal TemplateVMs

2020-05-30 Thread viktor . ransmayr
Hello community,

Now that I have resolved (?) my problem concerning copying text from xterm 
sessions, I'm running into the next strange behavior :-(

The short version, is a simple question:

*Are you able to create a clone from 'fedora-31-minimal' and extend it with 
packages?*


The longer version contains some details on what I experienced today on my 
Qubes OS system:

The obvious next step for me was to create a clone of 'fedora-31-minimal' 
and extend it with additional packages.

Since I do all my documentation in reST & transforming it into HTML as 
output format, I'll require a web browser in most of my VMs.

Therefore I wanted to have 'Firefox' available - but - this was not 
possible :-(

Here's the log of what I did (including logs at the end):

###

Create a new template based on 'Fedora-31-Minimal' with Firefox added. - 
Not OK. - See "Log-001"

* Unable to `sudo dnf install firefox` ...
* Restart the Qube OS system ...

### 2020-05-30 ~ 14:05 (UTC)

* Start 'fedora-31-minimal-firefox' & try to `sudo dnf install firefox` - 
Again not OK.
* Delete the clone 'fedora-31-minimal'.

### 2020-05-30 ~ 14:15 (UTC)

Create a new template clone based on 'Fedora-31-Minimal' - OK.

* Start & update 'fedora-31-minimal-firefox'
* Try to `sudo dnf install firefox` - Again not OK ...

### 2020-05-30 ~ 14:30 (UTC)

Create a new template clone based on 'Fedora-31' - OK.

* Start & update 'fedora-31-java'
* Try to `sudo dnf install java-11` - OK. - See "Log-002".

###




[user@fedora-31-minimal-firefox ~]$ pwd
/home/user
[user@fedora-31-minimal-firefox ~]$ ls -al
total 44
drwx-- 3 user user 4096 May 30 16:43 .
drwxr-xr-x 3 root root 4096 May 27 04:17 ..
-rw-rw-r-- 1 user user   34 May 30 16:43 .Xresources
-rw--- 1 user user  284 May 30 16:44 .bash_history
-rw-r--r-- 1 user user   18 Dec  6 13:06 .bash_logout
-rw-r--r-- 1 user user  141 Dec  6 13:06 .bash_profile
-rw-r--r-- 1 user user  376 Dec  6 13:06 .bashrc
drwxr-xr-x 3 user user 4096 May 27 04:17 .local
-rw-rw-r-- 1 user user 4322 May 30 16:44 .xsession-errors
-rw--- 1 user user   60 May 30 14:32 XTerm2020-05-30.14:32:53
[user@fedora-31-minimal-firefox ~]$ sudo dnf install firefox

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for user: 
Sorry, try again.
[sudo] password for user: 
Sorry, try again.
[sudo] password for user: 
sudo: 3 incorrect password attempts
[user@fedora-31-minimal-firefox ~]$ 




Obviously I typed in the correct PW - otherwise - I would not be able to 
use the rest of the system ...

To confirm that this is not a simple issue on my side I created a clone of 
'fedora-31' with Java 11 added to the default.

That's working w/o an issue!





[user@fedora-31-java ~]$ sudo dnf install java-11
Last metadata expiration check: 0:21:11 ago on Sat May 30 14:18:32 2020.
Dependencies resolved.

 Package Arch  Version Repository 
 Size

Installing:
 java-11-openjdk x86_641:11.0.7.10-0.fc31  updates   
 249 k
Installing dependencies:
 copy-jdk-configsnoarch3.7-4.fc31  fedora 
 24 k
 java-11-openjdk-headlessx86_641:11.0.7.10-0.fc31  updates 
38 M
 javapackages-filesystem noarch5.3.0-6.fc31fedora 
 11 k
 lksctp-toolsx86_641.0.18-3.fc31   updates 
95 k
 lua x86_645.3.5-6.fc31fedora 
181 k
 lua-posix   x86_6433.3.1-14.fc31  fedora 
174 k
 tzdata-java noarch2020a-1.fc31updates   
 156 k

Transaction Summary

Install  8 Packages

Total download size: 39 M
Installed size: 175 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): lksctp-tools-1.0.18-3.fc31.x86_64.rpm285 kB/s |  95 kB 00:00 
   
(2/8): java-11-openjdk-11.0.7.10-0.fc31.x86_64. 667 kB/s | 249 kB 00:00 
   
(3/8): copy-jdk-configs-3.7-4.fc31.noarch.rpm29 kB/s |  24 kB 00:00 
   
(4/8): tzdata-java-2020a-1.fc31.noarch.rpm  172 kB/s | 156 kB 00:00 
   
(5/8): javapackages-filesystem-5.3.0-6.fc31.noa  13 kB/s |  11 kB 00:00 
   
(6/8): lua-5.3.5-6.fc31.x86_64.rpm  152 kB/s | 181 kB 00:01 
   
(7/8): lua-posix-33.3.1-14.fc31.x86_64.rpm  104 kB/s | 174 kB 00:01 
   
(8/8): java-11-openjdk-headless-11.0.7.10-0.fc3 7.9 MB/s |  38 MB 00:04 
   

Total   5.2 MB/s |  39 MB 00:07 

Running