Re: lxd on Fedora for virtual machine

2023-02-01 Thread Peter Boy


> Am 01.02.2023 um 06:01 schrieb Robert McBroom via users 
> :
> 
> On 1/31/23 06:06, Patrick O'Callaghan wrote:
>> On Tue, 2023-01-31 at 00:00 -0500, Robert McBroom via users wrote:
>>> I see discussions of container tech with lxd and docker on ubuntu.
>>> dnf
>>> will install docker. Anyone have experience with a windows virtual
>>> machine with these systems?
>> If you mean running a Windows VM with a container as the hypervisor,
>> AFAIK that's not possible. A container is much lighter than a full VM
>> environment and won't in general allow emulation of a completely
>> different OS, which is one reason they are popular.
> 
> There is a tutorial for ubuntu,
> 
> https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd#1-overview

LXD started once as a (new) management tool for LXC container (mostly system 
containers in contrast to Docker). Later (I think with version 4) they expanded 
to manage VMs as well. So, you might be able to manage a virtual Windows 
instance with LXD, but you don’t use container technology. 

Fedora doesn’t include a LXD RPM. There is a RPM in COPR [1], which is 
maintained by one person, who is very active (at least in the past, I actually 
don’t use it anymore). And you can install it via another packaging tool, snap. 
So LXD on Fedora might not be such a superior user experience. 



[1] https://copr.fedorainfracloud.org/coprs/ganto/lxc4/


--
Peter Boy
https://fedoraproject.org/wiki/User:Pboy
p...@fedoraproject.org

Timezone: CET (UTC+1) / CEST (UTC+2)


Fedora Server Edition Working Group member
Fedora docs team contributor
Java developer and enthusiast


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: lxd on Fedora for virtual machine

2023-02-01 Thread Patrick O'Callaghan
On Wed, 2023-02-01 at 00:01 -0500, Robert McBroom via users wrote:
> On 1/31/23 06:06, Patrick O'Callaghan wrote:
> > On Tue, 2023-01-31 at 00:00 -0500, Robert McBroom via users wrote:
> > > I see discussions of container tech with lxd and docker on
> > > ubuntu.
> > > dnf
> > > will install docker. Anyone have experience with a windows
> > > virtual
> > > machine with these systems?
> > If you mean running a Windows VM with a container as the
> > hypervisor,
> > AFAIK that's not possible. A container is much lighter than a full
> > VM
> > environment and won't in general allow emulation of a completely
> > different OS, which is one reason they are popular.
> 
> There is a tutorial for ubuntu,
> 
> https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd#1-overview

Interesting. I'd say that's going beyond what would normally be
considered a container. I suspect they may be leveraging KVM or some
other hypervisor under the hood, but I don't know enough about it to be
sure.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: lxd on Fedora for virtual machine

2023-02-01 Thread Patrick O'Callaghan
On Wed, 2023-02-01 at 09:23 +0100, Peter Boy wrote:
> LXD started once as a (new) management tool for LXC container (mostly
> system containers in contrast to Docker). Later (I think with version
> 4) they expanded to manage VMs as well. So, you might be able to
> manage a virtual Windows instance with LXD, but you don’t use
> container technology. 

Just for completeness:

$ dnf info lxc
[...]
Summary  : Linux Resource Containers
URL  : https://linuxcontainers.org/lxc
License  : LGPLv2+ and GPLv2
Description  : Linux Resource Containers provide process and resource isolation 
without the
 : overhead of full virtualization.

(I realise that lxd is not the same thing).

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


VPN routing differences

2023-02-01 Thread Tibor Attila Anca
Hi,

Fedora 37 is amazing, thanks for the work! There is a small thing
however, that bothers me.

For a few services of my company I need VPN (openconnect). With the
required packages network-manager (recent GNOME on updated Fedora 37) is
able to establish the vpn connection, but it would not change routing in
a proper way. Neither Firefox nor Edge (why I use this, read below) find
the address of a specific service within the vpn-network. Connection is
however established.

I also can use the cisco-client. This sets everything fine, however,
Firefox keeps asking for login credentials in a loop, so that the system
locks my account and I have to contact the admins to unlock it. That is
why I use Edge...

Now, these are two different questions, but the first on is more
important.

Thanks
Tibor

-- 
Dr. Tibor Attila Anca
Pastor

Pfarramt II
Ev.-luth. Kirchengemeinde An Aue und Fuhse
Fuhsestr. 19, 31311 Uetze OT Dollbergen
Telefon: +49 (0)5177 922144
E-Mail: kg.auefu...@evlka.de

Direkter Kontakt:
Telefon: +49 (0)5132 5045860
Mobil: +49 (0)151 41624094
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Fedora 37: kernel: general protection fault, probably for non-canonical address PREEMPT SMP PT

2023-02-01 Thread Dario Lesca
I have try last kernel (6.1.8-200.fc37.x86_64) but none is changed.

NFS still not working and crash the server.
https://bugzilla.redhat.com/show_bug.cgi?id=2150630#c6

Thanks
Dario

Il giorno mer, 25/01/2023 alle 13.59 +0100, Dario Lesca ha scritto:
> Il giorno ven, 20/01/2023 alle 11.46 -0700, Jerry James ha scritto:
> > Maybe you could try this update:
> > 
> > https://bodhi.fedoraproject.org/updates/FEDORA-2023-0597579983
> 
> Thanks Jerry James, I have install this update and I'll reboot later.
> 
> I will let you know
> 
> Dario
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: VPN routing differences

2023-02-01 Thread Barry Scott


> On 1 Feb 2023, at 12:18, Tibor Attila Anca  wrote:
> 
> Hi,
> 
> Fedora 37 is amazing, thanks for the work! There is a small thing
> however, that bothers me.
> 
> For a few services of my company I need VPN (openconnect). With the
> required packages network-manager (recent GNOME on updated Fedora 37) is
> able to establish the vpn connection, but it would not change routing in
> a proper way. Neither Firefox nor Edge (why I use this, read below) find
> the address of a specific service within the vpn-network. Connection is
> however established.

Here are the steps I would use to try and find what is wrong.

Before you bring up the VPN get the output of:

$ ip route
$ resolvectl

Bring up the VPN and repeat these two commands.

Has the routes that you need to access work been added?
is resolvectl showing that the company domain is use the DNS servers from your 
company?

Can you use look up the name that you browse to to check DNS is working as you 
expect:

$ resolvectl query 
$ host 

Can you ping the IP returned?

Where I work I have to "fix" the routes that IT provides.

Barry



> 
> I also can use the cisco-client. This sets everything fine, however,
> Firefox keeps asking for login credentials in a loop, so that the system
> locks my account and I have to contact the admins to unlock it. That is
> why I use Edge...
> 
> Now, these are two different questions, but the first on is more
> important.
> 
> Thanks
> Tibor
> 
> -- 
> Dr. Tibor Attila Anca
> Pastor
> 
> Pfarramt II
> Ev.-luth. Kirchengemeinde An Aue und Fuhse
> Fuhsestr. 19, 31311 Uetze OT Dollbergen
> Telefon: +49 (0)5177 922144
> E-Mail: kg.auefu...@evlka.de
> 
> Direkter Kontakt:
> Telefon: +49 (0)5132 5045860
> Mobil: +49 (0)151 41624094
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


tar

2023-02-01 Thread Patrick Dupre
Hello,

To create a tar file, I used to create a list and to make
tar -cvzf arch.tgz $list

However, if there are file names with a space, this space is
interpreted as file name separator.

How can I fix this,
either when I tar, or when I create the list?

Thank

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Go Canes
On Wed, Feb 1, 2023 at 2:24 PM Patrick Dupre  wrote:
>
> Hello,
>
> To create a tar file, I used to create a list and to make
> tar -cvzf arch.tgz $list
>
> However, if there are file names with a space, this space is
> interpreted as file name separator.
>
> How can I fix this,
> either when I tar, or when I create the list?

Instead of putting the filenames in a variable, put them in a file
(one filename per line) and tell tar to get the filenames from the
file with "--verbatim-files-from" and "-T, --files-from=FILE".

I.e., put filenames in /tmp/list-for-tar, and then "tar -cvzf arch.tgz
--verbatim-files-from -T /tmp/list-for-tar".  See if that works for
you.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Jerry James
On Wed, Feb 1, 2023 at 12:41 PM Go Canes  wrote:
> On Wed, Feb 1, 2023 at 2:24 PM Patrick Dupre  wrote:
> > To create a tar file, I used to create a list and to make
> > tar -cvzf arch.tgz $list
> >
> > However, if there are file names with a space, this space is
> > interpreted as file name separator.
> >
> > How can I fix this,
> > either when I tar, or when I create the list?
>
> Instead of putting the filenames in a variable, put them in a file
> (one filename per line) and tell tar to get the filenames from the
> file with "--verbatim-files-from" and "-T, --files-from=FILE".
>
> I.e., put filenames in /tmp/list-for-tar, and then "tar -cvzf arch.tgz
> --verbatim-files-from -T /tmp/list-for-tar".  See if that works for
> you.

If you can make your list with find, you can also do something like this:

find [top directory] [find criteria here] -exec tar -cvzf arch.tgz {} +

Or, if you can generate the list with null characters instead of
spaces as the filename separators, you could do something like this:

[generate the list with nulls] | xargs -0 tar -cvzf arch.tgz

-- 
Jerry James
http://www.jamezone.org/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


OT: create a booklet from a pdf

2023-02-01 Thread olivares33561 via users
Dear kind fedora users,

I would like to ask for help creating a booklet from a pdf.  I used to use 
psnup, psbook pdftops/pdf2ps and create a booklet from pdf and it worked.  The 
secretaries at school helped me fix the booklet in order to print it and create 
a small booklet with the ordering correctly.  Now I create a booklet but the 
order is not correct and somethings are upside down.  The original file has 52 
pages.  I want to remove blank pages and reprocess/recreate the file in a 
postscript file if possible. 

something like 

pg 1 | pg 2
pg 3 | pg 4
pg 5 | pg 6 
pg 7 | pg 9

place two pages in one and then on the back of page 1 | page 2 the last pages 
of the pdf should appear and correctly placed. 

The pdf file as an example would be :

https://tea.texas.gov/sites/default/files/2022-staar-may-algebra-I-releasedtest.pdf

It has 52 pages and when after converting to ps and then making a booklet and 
processing with psnup -2 it comes down to 26 pages.  

The information I applied follows from [1], [2] and [3]

I have tried to use OpenOffice/Libreoffice Draw and remove blank pdfs and 
rearrange but with no success.  Some equations get changed and not kept as 
original.  So I have eliminated this choice.  I want to print a booklet so I 
can fold the pages into place if possible.  Any advice is appreciated. Save 
paper and save trees is the goal.   

Best Regards,


Antonio 
[olivares@fedora ~]$ uname -a
Linux fedora 6.1.8-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jan 24 20:32:16 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[olivares@fedora ~]$ 





[1]  https://www.peppertop.com/blog/?p=35 
[2]  
https://www.lix.polytechnique.fr/Labo/Michel.Nguyen-The/papers/booklets.html
[3]  https://www.dsl.org/cookbook/cookbook_25.html


Sent from ProtonMail, encrypted email based in Switzerland.

Sent with Proton Mail secure email.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


sigil ebook editor?

2023-02-01 Thread Tom Horsley
Wanted to see if I could edit a slightly busted epub and found
that the version of sigil in the fedora repos is very old.
Any chance it will be updated soon?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: sigil ebook editor?

2023-02-01 Thread Andras Simon
2023-02-01 23:01 UTC+01:00, Tom Horsley :
> Wanted to see if I could edit a slightly busted epub and found
> that the version of sigil in the fedora repos is very old.
> Any chance it will be updated soon?

I don't know, but wouldn't you be better off editing it by hand, using
your favourite text editor?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: sigil ebook editor?

2023-02-01 Thread Tom Horsley
On Wed, 1 Feb 2023 23:17:12 +0100
Andras Simon wrote:

> I don't know, but wouldn't you be better off editing it by hand, using
> your favourite text editor?

I've done a lot of that, but now I want to do things like
insert chapters and split files which requires a lot of getting
manifests and links to have the files they point at re-arranged
and it seems likely sigil could get it all right easier than
I could.

I do see the sigil web site says they have a linux flatpack,
but I avoid them like the plague :-).
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Cameron Simpson

On 01Feb2023 13:07, Jerry James  wrote:
If you can make your list with find, you can also do something like 
this:


find [top directory] [find criteria here] -exec tar -cvzf arch.tgz {} +


This recreates the tar file once per file, ending up with a tar file 
containing only the last file found.



Or, if you can generate the list with null characters instead of
spaces as the filename separators, you could do something like this:

[generate the list with nulls] | xargs -0 tar -cvzf arch.tgz


Unless there are enough files for xargs to break the files into multiple 
groups, in which case... again a tar file containing only the last 
group.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Cameron Simpson

On 01Feb2023 20:24, Patrick Dupre  wrote:

To create a tar file, I used to create a list and to make
tar -cvzf arch.tgz $list

However, if there are file names with a space, this space is
interpreted as file name separator.


If you can match the files with a glob (shell pattern):

tar cvzf arch.tgz *.ext

Obviously replacing *.ext appropriately. And of course you can give that 
many times.


If the files are the entire content of a directory, merely mentioning 
the directory is enough:


tar cvzf arch.tgz directoryname

Of course you can give multiple directories or globs.

And in modern shells there's a "**" pattern means a recursive walk. So:

tar cvzf arch.tgz subdir/**/*.py

to name all the .py files in subdir. And so forth.

All of these are space (and other weird characters) safe.

If you must make the tar file in a few goes/batches, do the first with 
"c" (create) and the rest with "r" (replace), which does an append.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: sigil ebook editor?

2023-02-01 Thread Jerry James
On Wed, Feb 1, 2023 at 3:27 PM Tom Horsley  wrote:
> I've done a lot of that, but now I want to do things like
> insert chapters and split files which requires a lot of getting
> manifests and links to have the files they point at re-arranged
> and it seems likely sigil could get it all right easier than
> I could.
>
> I do see the sigil web site says they have a linux flatpack,
> but I avoid them like the plague :-).

See https://bugzilla.redhat.com/show_bug.cgi?id=1724109 for the story.
-- 
Jerry James
http://www.jamezone.org/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread ToddAndMargo via users

On 2/1/23 11:24, Patrick Dupre wrote:

Hello,

To create a tar file, I used to create a list and to make
tar -cvzf arch.tgz $list

However, if there are file names with a space, this space is
interpreted as file name separator.

How can I fix this,
either when I tar, or when I create the list?

Thank


I wild guess:

Escape the space(s) with a backslash(s)

 Who Am I
 Who\ Am\ I
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread wwp
Hello Patrick,


On Wed, 1 Feb 2023 20:24:22 +0100 Patrick Dupre  wrote:

> To create a tar file, I used to create a list and to make
> tar -cvzf arch.tgz $list
> 
> However, if there are file names with a space, this space is
> interpreted as file name separator.
> 
> How can I fix this,
> either when I tar, or when I create the list?

Somebody suggested that you use --files-from=FILE and
--verbatim-files-from, this is IMO the right way.

If you really need to use $list, it all depends how you store the file
list in it, and how you expand the variable in the command-line.
Playing with the IFS env. var. can also help.

See:

# supposing that "a b" and "c d" exist:

$ list=`find . -name "a b" -o -name "c d"`
or
$ list=`ls -1 "a b" "c d"`
$ echo $list
a b c d
$ echo "$list"
a b
c d

$ tar cvzf arch.tgz "$list"
a b
c d

Isn't what you wanted?


Regards,

-- 
wwp
https://useplaintext.email/


pgpxQ8BgkLt0B.pgp
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: VPN routing differences

2023-02-01 Thread Samuel Sieb

On 2/1/23 04:18, Tibor Attila Anca wrote:

For a few services of my company I need VPN (openconnect). With the
required packages network-manager (recent GNOME on updated Fedora 37) is
able to establish the vpn connection, but it would not change routing in
a proper way. Neither Firefox nor Edge (why I use this, read below) find
the address of a specific service within the vpn-network. Connection is
however established.


As Barry mentioned, you need to checking the routing that is getting 
setup.  You might need to add some routing settings to the config yourself.

When you say it can't "find the address", do you mean DNS or IP?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Felix Miata
Patrick Dupre composed on 2023-02-01 20:24 (UTC+0100):

> To create a tar file, I used to create a list and to make
> tar -cvzf arch.tgz $list

> However, if there are file names with a space, this space is
> interpreted as file name separator.

> How can I fix this,
> either when I tar, or when I create the list? 

Rename the files to exclude spaces.

Filenames with spaces are administrative headaches.

mothersRecipesForPancakes01.txt is understandable enough that spaces aren't 
necessary.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: tar

2023-02-01 Thread Samuel Sieb

On 2/1/23 11:24, Patrick Dupre wrote:

To create a tar file, I used to create a list and to make
tar -cvzf arch.tgz $list

However, if there are file names with a space, this space is
interpreted as file name separator.

How can I fix this,
either when I tar, or when I create the list?


You aren't providing enough information for a good answer.

How are you creating the list?
What is the format of the data in that variable?
Generally, it's not a good idea to store a lot of data in an environment 
variable, so how many files are involved?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: OT: create a booklet from a pdf

2023-02-01 Thread Samuel Sieb

On 2/1/23 13:25, olivares33561 via users wrote:

I would like to ask for help creating a booklet from a pdf.  I used to use 
psnup, psbook pdftops/pdf2ps and create a booklet from pdf and it worked.  The 
secretaries at school helped me fix the booklet in order to print it and create 
a small booklet with the ordering correctly.  Now I create a booklet but the 
order is not correct and somethings are upside down.  The original file has 52 
pages.  I want to remove blank pages and reprocess/recreate the file in a 
postscript file if possible.


Install pdfmixtool.  Also pdfarranger if you want to graphically move 
pages around or remove them.  (pdfmixtool will let you edit, but only 
numerically.)



something like

pg 1 | pg 2
pg 3 | pg 4
pg 5 | pg 6
pg 7 | pg 9

place two pages in one and then on the back of page 1 | page 2 the last pages 
of the pdf should appear and correctly placed.


That order isn't quite correct, but the program will do the right thing. 
 I tested it with that pdf file.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


What is wrong with my dnf exclude for wine?

2023-02-01 Thread ToddAndMargo via users

Hi All,

What is wrong with my wine dnf excludes?

# grep -i wine  /etc/dnf/dnf.conf
excludepkgs=wine*
excludepkgs=wine-*

dnf still tried to upgrade wine


And wine 8 IS EVEN WORSE THAN WINE 7

Wine 8.0.1 cannot print to a local printer, but can to a network printer
https://bugs.winehq.org/show_bug.cgi?id=54428

I need to stay on wine 6 and also be able to
update everything else.

Many thanks,
-T


--

If I had a dime every time I didn't know
what was going on, I'd be like, "Why is
everyone giving me all these dimes?"

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-01 Thread Jeffrey Walton
On Thu, Feb 2, 2023 at 12:55 AM ToddAndMargo via users
 wrote:
>
> What is wrong with my wine dnf excludes?
>
> # grep -i wine  /etc/dnf/dnf.conf
> excludepkgs=wine*
> excludepkgs=wine-*
>
> dnf still tried to upgrade wine
>
>
> And wine 8 IS EVEN WORSE THAN WINE 7
>
> Wine 8.0.1 cannot print to a local printer, but can to a network printer
> https://bugs.winehq.org/show_bug.cgi?id=54428
>
> I need to stay on wine 6 and also be able to
> update everything else.

It seems like you want to versionlock, and not exclude, wine.

Maybe something like https://unix.stackexchange.com/a/606854 ?

Jeff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-01 Thread ToddAndMargo via users

On 2/1/23 22:01, Jeffrey Walton wrote:

On Thu, Feb 2, 2023 at 12:55 AM ToddAndMargo via users
 wrote:


What is wrong with my wine dnf excludes?

# grep -i wine  /etc/dnf/dnf.conf
excludepkgs=wine*
excludepkgs=wine-*

dnf still tried to upgrade wine


And wine 8 IS EVEN WORSE THAN WINE 7

Wine 8.0.1 cannot print to a local printer, but can to a network printer
https://bugs.winehq.org/show_bug.cgi?id=54428

I need to stay on wine 6 and also be able to
update everything else.


It seems like you want to versionlock, and not exclude, wine.

Maybe something like https://unix.stackexchange.com/a/606854 ?

Jeff


I never had any trouble with my excludes under Fedora 36.
This occurred since Fedora 37.   Hm.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-01 Thread Joe Zeff

On 02/01/2023 10:55 PM, ToddAndMargo via users wrote:

# grep -i wine  /etc/dnf/dnf.conf
excludepkgs=wine*
excludepkgs=wine-*


The second exclude should be redundant, as it's already covered by the 
first one.  That doesn't explain what's going on, but I did want to 
mention it.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue