Re: Raid array empty after restart - SOLVED

2020-05-25 Thread Gabriel Ramirez

On 5/25/20 5:23 PM, Patrick O'Callaghan wrote:

Yes, I understand that. I still think the behaviour of mdadm in this
case is counter-intuitive. When I explicitly ask for the creation of an
array called /dev/md0 and the command first of all warns me that this
will (not "may") destroy the existing partition table and do I want to
proceed, then when I say yes apparently succeeds, I think I'm entitled
to think that /dev/md0 has been created, but it hasn't.


remember /dev is created at linux boot so the devices names are dynamic 
(/dev/mdN)


if you want give a name to the array and a device name under /dev/md 
something like:


mdadm --create /dev/md/var-even --raid-devices=2 --level=1 
--name=var-even /dev/sd[ab]12


the above command uses partition number 12 type fd00 on /dev/sd[ab]

and format with:

mkfs.ext4 -L 'var-even' /dev/md/var-even

to prevent name collisions (if you mount the disk in another computer 
with identical setup) find the partition uuid with:


ls -lht /dev/md/var-even
lrwxrwxrwx. 1 root root 8 May 20 21:48 /dev/md/var-even -> ../md121

and find the uuid pointing to md121 with:

ls -lht /dev/disk/by-uuid/

...

lrwxrwxrwx. 1 root root 11 May 20 21:48 
2108ba12-2ee3-5067-8de4-01c454867c5a -> ../../md121


...

and use that uuid in fstab.


Gabriel
___
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


Re: Firewalld and none superuser

2020-05-25 Thread Ed Greshko
On 2020-05-26 08:17, Earl Ramirez wrote:
> Previously, when I run firewall-cmd --list-all or any firewalld
> commands as a regular user it will failed, with authorization failure.
> Today I noticed that if I run firewall-cmd --list-all I can see the
> rules; however, I am not able to modify the firewall rules without a
> superuser privileges. 
>
> Is this the expected behaviour to be able to see the firewall rules as
> a regular user or should I file a bug?

The ability to run certain firewall commands is controlled by polkit and which 
policy is in effect.

Running Workstation/GNOME, those are allowed without authentication.  That is 
not the case if running
the KDE spin.

I don't generally use GNOME so I can't comment on when/if those changes were 
made.  In both
F31 and F32 GNOME it is not needed to authenticate. 

-- 
The key to getting good answers is to ask good questions.
___
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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread None via users



Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐ Original Message ‐‐‐
On Monday, May 25, 2020 7:58 PM, Samuel Sieb  wrote:

> On 5/25/20 12:08 PM, None via users wrote:
>
> > Sent from ProtonMail, encrypted email based in Switzerland.
> > ‐‐‐ Original Message ‐‐‐
> > On Monday, May 25, 2020 5:38 PM, Samuel Sieb sam...@sieb.net wrote:
> >
> > > On 5/25/20 3:12 AM, None via users wrote:
> > >
> > > > I have heard of R but I am looking for awk/bash, bc or dc solution. A 
> > > > website does give 3 as q3 instead of 2.75. Please see below
> > >
> > > I realize that, but I'm saying that datamash and R are also correct.
> > > They use the calculation method instead of the splitting method.
> > >
> > > > I would like to get the same since and correct solution since datamash 
> > > > and R do not output the same.
> > >
> > > You're looking for an answer that isn't used much. I just checked
> > > LibreOffice Calc and it gives 2.75 as well. I can't check Excel, but I
> > > would assume it's the same.
> > > 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
> >
> > Thank you. I see what you mean. I have checked and see here
> > http://mathforum.org/library/drmath/view/60969.html
> > Still I wonder if I can get awk/bash/bc/dc it would be nice.
>
> Why do you want to use a complicated solution instead of the simple
> tool? I could easily make a bash script to do it, but what's the point?
>

Portability.  Ability to run on live systems, cell phones with termux and 
datamash and R are not installed, or there is not enough space to install them 
:)

Hopefully some day I can get a pinephone and install fedora on it and install 
most of the great software that does the work easy for us.  I can use gnuplot 
to create the boxplots for the five number Summary, but a shell script where it 
is not installed/unavailable would be nice.  Then we can make use of  metapost 
to create the box and whiskers plot.

Best Regards,

Antonio



___
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


Firewalld and none superuser

2020-05-25 Thread Earl Ramirez
Dear All,

Previously, when I run firewall-cmd --list-all or any firewalld
commands as a regular user it will failed, with authorization failure.
Today I noticed that if I run firewall-cmd --list-all I can see the
rules; however, I am not able to modify the firewall rules without a
superuser privileges. 

Is this the expected behaviour to be able to see the firewall rules as
a regular user or should I file a bug?


signature.asc
Description: This is a digitally signed message part
___
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


Re: wayland or not with nvidia

2020-05-25 Thread Samuel Sieb

On 5/25/20 2:52 PM, hw wrote:

On Mon, 2020-05-25 at 10:55 -0700, stan via users wrote:

Why do you think this is a fedora or even wayland question?


Do you think it is not?


Fedora does not distribute NVidia drivers.  You got them from a third 
party.  They are not "supported" except maybe by the third party.



   It is the
drivers in the kernel that determine what video resources are
available.  I don't run wayland because it doesn't provide a service I
need, but because nvidia is ubiquitous, if the kernel provides an
interface to the device, wayland almost certainly can utilize the
device.


Does the kernel shipped with Fedora provide such an interface?  If so, then
why does wayland not use the device?  Or does Fedora come with a version of
wayland that is made not to work with Fedora kernels?


Wayland works perfectly well with Fedora kernels.  The proprietary 
NVidia driver is not part of the Fedora kernels.
Fedora does ship an interface for NVidia cards, but it's in the nouveau 
drivers.  If you don't use those, then it's not from Fedora.  It's up to 
NVidia to provide the interface for wayland to use in their drivers.



Besides, what's the alternative to nvidia?


AMD.  They work great out of the box.

If you have trouble getting an NVidia card to work on Linux, go complain 
to NVidia.

___
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


Re: Raid array empty after restart

2020-05-25 Thread Samuel Sieb

On 5/25/20 2:22 PM, Patrick O'Callaghan wrote:

On Mon, 2020-05-25 at 11:03 -0700, Samuel Sieb wrote:

On 5/25/20 2:25 AM, Patrick O'Callaghan wrote:

On Sun, 2020-05-24 at 16:22 -0700, Samuel Sieb wrote:

On 5/24/20 3:39 PM, Patrick O'Callaghan wrote:


So although the above message says the existing partition table will be
lost, for some reason I'm still getting a partition, while you
apparently didn't. I copied the --create command directly from the man
page. Is this not the "standard" way you mentioned in an earlier reply?


That message is a little misleading.  What happened was you created an

array out of disks with existing data on them.  Only the superblock gets

rewritten, the rest of the drive just gets resynced, not erased.  So

your existing partition table is still there.


More than a little misleading.  I'd call the message downright wrong.
I'll consider reporting it to BZ.


It depends on which drive has the partition table and which drive gets
cloned to.  For example, you have one blank drive and one with a
partition table.  If the blank one get cloned to the other, then the
partition table gets wiped out.  If it goes the other way, then your
raid has a partition table.  But even in that case, depending on where
the raid metadata goes and other factors, it could mess up the table or
have it point to the wrong place.  It's best to just assume that the
partition table will be invalid even if it appears to still be there.
Unless you're really sure about what you're doing, you should always
reinitialize a newly created raid array, not trusting the existing data.


That decision was taken by mdadm without input from me, i.e. it's the
default. I see there is an "--assume-clean" option which would possibly
have skipped that step, though the man page doesn't recommend it unless
you know what you're doing, which I clearly don't. All the same, saying
"the partition table *will* be lost or meaningless after creating
array" is certainly wrong.


It's not wrong.  You were in a very special case where you are 
recreating the same raid from two drives that were in exactly the same 
configuration.  In any other case, the partition table would be 
overwritten or would be invalid.  You probably could have even used the 
"--assume-clean" option to avoid the resync.

___
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


Re: Raid array empty after restart - SOLVED

2020-05-25 Thread Patrick O'Callaghan
On Tue, 2020-05-26 at 05:42 +0800, Ed Greshko wrote:
> On 2020-05-26 00:24, Patrick O'Callaghan wrote:
> > I still ended up with /dev/md127p1 as before, and /dev/md0 wa's not
> > created.
> 
> I didn't think you would.  As I mentioned in another post, you didn't start 
> out with a "fresh" drive.  It already
> had info on it that mdadm had created and then just reused.  If you wanted to 
> do a really new set-up
> you would have had to done something like "dd if=/dev/zero of=" to both of 
> the physical drives.

Yes, I understand that. I still think the behaviour of mdadm in this
case is counter-intuitive. When I explicitly ask for the creation of an
array called /dev/md0 and the command first of all warns me that this
will (not "may") destroy the existing partition table and do I want to
proceed, then when I say yes apparently succeeds, I think I'm entitled
to think that /dev/md0 has been created, but it hasn't.

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


Re: wayland or not with nvidia

2020-05-25 Thread hw
On Mon, 2020-05-25 at 10:55 -0700, stan via users wrote:
> On Mon, 25 May 2020 19:32:02 +0200
> hw  wrote:
> 
> > On Mon, 2020-05-25 at 11:03 -0300, George N. White III wrote:
> > > On Mon, 25 May 2020 at 10:33, hw  wrote:
> > >   
> > > > Hi,
> > > > 
> > > > what is the current status of wayland with nvidia drivers in
> > > > Fedora 32? 
> > > 
> > > This is meaningless without mentioning the hardware you want to use.
> > > Older hardware is not supported by nvidia drivers, but does work
> > > using nouveau.
> > > 
> > >   
> > > > Some search results seem to indicate that it's supposed to work by
> > > > default.
> > > > Others indicate that it still doesn't work.  
> > > 
> > > Unless the search results specify the hardware they are pretty much
> > > useless.
> > >   
> > 
> > So which hardware exactly does wayland work with?  I guess that needs
> > to be specified for otherwise wayland is useless.
> > 
> > Since wayland is supposedly the default for Fedora, Fedora surely has
> > tons of documentation about this and I just couldn't find it.  Or
> > maybe Fedora is useless ...
> 
> Why do you think this is a fedora or even wayland question?

Do you think it is not?

>   It is the
> drivers in the kernel that determine what video resources are
> available.  I don't run wayland because it doesn't provide a service I
> need, but because nvidia is ubiquitous, if the kernel provides an
> interface to the device, wayland almost certainly can utilize the
> device.

Does the kernel shipped with Fedora provide such an interface?  If so, then
why does wayland not use the device?  Or does Fedora come with a version of
wayland that is made not to work with Fedora kernels?

>   Have you installed the nvidia drivers from rpmfusion?

yes

>   As
> George said, nvidia recently stopped providing support for their older
> hardware, so if you have that hardware, you are probably out of luck,
> unless you install a linux that is older generation.  I stopped using
> nvidia because of the constant irritation their closed source drivers
> caused me, so I can't help with that.

Why do George and you assume that the hardware is too old?  Please read my
question again.

Besides, what's the alternative to nvidia?

___
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


Re: Raid array empty after restart - SOLVED

2020-05-25 Thread Ed Greshko
On 2020-05-26 00:24, Patrick O'Callaghan wrote:
> I still ended up with /dev/md127p1 as before, and /dev/md0 wa's not
> created.

I didn't think you would.  As I mentioned in another post, you didn't start out 
with a "fresh" drive.  It already
had info on it that mdadm had created and then just reused.  If you wanted to 
do a really new set-up
you would have had to done something like "dd if=/dev/zero of=" to both of the 
physical drives.

-- 
The key to getting good answers is to ask good questions.
___
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


Re: Raid array empty after restart

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 11:03 -0700, Samuel Sieb wrote:
> On 5/25/20 2:25 AM, Patrick O'Callaghan wrote:
> > On Sun, 2020-05-24 at 16:22 -0700, Samuel Sieb wrote:
> > > On 5/24/20 3:39 PM, Patrick O'Callaghan wrote:
> > > 
> > > > So although the above message says the existing partition table will be
> > > > lost, for some reason I'm still getting a partition, while you
> > > > apparently didn't. I copied the --create command directly from the man
> > > > page. Is this not the "standard" way you mentioned in an earlier reply?
> > > 
> > > That message is a little misleading.  What happened was you created an
> > > 
> > > array out of disks with existing data on them.  Only the superblock gets
> > > 
> > > rewritten, the rest of the drive just gets resynced, not erased.  So
> > > 
> > > your existing partition table is still there.
> > 
> > More than a little misleading.  I'd call the message downright wrong.
> > I'll consider reporting it to BZ.
> 
> It depends on which drive has the partition table and which drive gets 
> cloned to.  For example, you have one blank drive and one with a 
> partition table.  If the blank one get cloned to the other, then the 
> partition table gets wiped out.  If it goes the other way, then your 
> raid has a partition table.  But even in that case, depending on where 
> the raid metadata goes and other factors, it could mess up the table or 
> have it point to the wrong place.  It's best to just assume that the 
> partition table will be invalid even if it appears to still be there. 
> Unless you're really sure about what you're doing, you should always 
> reinitialize a newly created raid array, not trusting the existing data.

That decision was taken by mdadm without input from me, i.e. it's the
default. I see there is an "--assume-clean" option which would possibly
have skipped that step, though the man page doesn't recommend it unless
you know what you're doing, which I clearly don't. All the same, saying
"the partition table *will* be lost or meaningless after creating
array" is certainly wrong.

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


Driver for Epson Photo Printer

2020-05-25 Thread S.Bob

All;


I just ordered this printer:

 Epson SureColor P900 17" Photo Printer


Any thoughts on where I can get a driver for it to print large photos? 
Or even the driver for it's predecessor the P800?



Thanks

in advance





--
`When you say "I wrote a program that crashed Windows", people just stare at you blankly 
and say "Hey, I got those with the system, *for free*".' (By Linus Torvalds)
___
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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread Samuel Sieb

On 5/25/20 12:08 PM, None via users wrote:




Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐ Original Message ‐‐‐
On Monday, May 25, 2020 5:38 PM, Samuel Sieb  wrote:


On 5/25/20 3:12 AM, None via users wrote:


I have heard of R but I am looking for awk/bash, bc or dc solution. A website 
does give 3 as q3 instead of 2.75. Please see below


I realize that, but I'm saying that datamash and R are also correct.
They use the calculation method instead of the splitting method.


I would like to get the same since and correct solution since datamash and R do 
not output the same.


You're looking for an answer that isn't used much. I just checked
LibreOffice Calc and it gives 2.75 as well. I can't check Excel, but I
would assume it's the same.

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


Thank you.  I see what you mean.  I have checked and see here

http://mathforum.org/library/drmath/view/60969.html

Still I wonder if I can get awk/bash/bc/dc it would be nice.


Why do you want to use a complicated solution instead of the simple 
tool?  I could easily make a bash script to do it, but what's the point?

___
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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread None via users



Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐ Original Message ‐‐‐
On Monday, May 25, 2020 5:38 PM, Samuel Sieb  wrote:

> On 5/25/20 3:12 AM, None via users wrote:
>
> > I have heard of R but I am looking for awk/bash, bc or dc solution. A 
> > website does give 3 as q3 instead of 2.75. Please see below
>
> I realize that, but I'm saying that datamash and R are also correct.
> They use the calculation method instead of the splitting method.
>
> > I would like to get the same since and correct solution since datamash and 
> > R do not output the same.
>
> You're looking for an answer that isn't used much. I just checked
> LibreOffice Calc and it gives 2.75 as well. I can't check Excel, but I
> would assume it's the same.
>
> 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

Thank you.  I see what you mean.  I have checked and see here

http://mathforum.org/library/drmath/view/60969.html

Still I wonder if I can get awk/bash/bc/dc it would be nice.

Best Regards,


Antonio
___
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


Re: Raid array empty after restart

2020-05-25 Thread Samuel Sieb

On 5/25/20 2:25 AM, Patrick O'Callaghan wrote:

On Sun, 2020-05-24 at 16:22 -0700, Samuel Sieb wrote:

On 5/24/20 3:39 PM, Patrick O'Callaghan wrote:


So although the above message says the existing partition table will be
lost, for some reason I'm still getting a partition, while you
apparently didn't. I copied the --create command directly from the man
page. Is this not the "standard" way you mentioned in an earlier reply?



That message is a little misleading.  What happened was you created an

array out of disks with existing data on them.  Only the superblock gets

rewritten, the rest of the drive just gets resynced, not erased.  So

your existing partition table is still there.


More than a little misleading.  I'd call the message downright wrong.
I'll consider reporting it to BZ.


It depends on which drive has the partition table and which drive gets 
cloned to.  For example, you have one blank drive and one with a 
partition table.  If the blank one get cloned to the other, then the 
partition table gets wiped out.  If it goes the other way, then your 
raid has a partition table.  But even in that case, depending on where 
the raid metadata goes and other factors, it could mess up the table or 
have it point to the wrong place.  It's best to just assume that the 
partition table will be invalid even if it appears to still be there. 
Unless you're really sure about what you're doing, you should always 
reinitialize a newly created raid array, not trusting the existing data.

___
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


Re: wayland or not with nvidia

2020-05-25 Thread stan via users
On Mon, 25 May 2020 19:32:02 +0200
hw  wrote:

> On Mon, 2020-05-25 at 11:03 -0300, George N. White III wrote:
> > On Mon, 25 May 2020 at 10:33, hw  wrote:
> >   
> > > Hi,
> > > 
> > > what is the current status of wayland with nvidia drivers in
> > > Fedora 32? 
> > 
> > This is meaningless without mentioning the hardware you want to use.
> > Older hardware is not supported by nvidia drivers, but does work
> > using nouveau.
> > 
> >   
> > > Some search results seem to indicate that it's supposed to work by
> > > default.
> > > Others indicate that it still doesn't work.  
> > 
> > Unless the search results specify the hardware they are pretty much
> > useless.
> >   
> 
> So which hardware exactly does wayland work with?  I guess that needs
> to be specified for otherwise wayland is useless.
> 
> Since wayland is supposedly the default for Fedora, Fedora surely has
> tons of documentation about this and I just couldn't find it.  Or
> maybe Fedora is useless ...

Why do you think this is a fedora or even wayland question?  It is the
drivers in the kernel that determine what video resources are
available.  I don't run wayland because it doesn't provide a service I
need, but because nvidia is ubiquitous, if the kernel provides an
interface to the device, wayland almost certainly can utilize the
device.  Have you installed the nvidia drivers from rpmfusion?  As
George said, nvidia recently stopped providing support for their older
hardware, so if you have that hardware, you are probably out of luck,
unless you install a linux that is older generation.  I stopped using
nvidia because of the constant irritation their closed source drivers
caused me, so I can't help with that.
___
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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread Samuel Sieb

On 5/25/20 3:12 AM, None via users wrote:

I have heard of R but I am looking for awk/bash, bc or dc solution.  A website 
does give 3 as q3 instead of 2.75. Please see below


I realize that, but I'm saying that datamash and R are also correct. 
They use the calculation method instead of the splitting method.



I would like to get the same since and correct solution since datamash and R do 
not output the same.


You're looking for an answer that isn't used much.  I just checked 
LibreOffice Calc and it gives 2.75 as well.  I can't check Excel, but I 
would assume it's the same.

___
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


Re: wayland or not with nvidia

2020-05-25 Thread hw
On Mon, 2020-05-25 at 11:03 -0300, George N. White III wrote:
> On Mon, 25 May 2020 at 10:33, hw  wrote:
> 
> > Hi,
> > 
> > what is the current status of wayland with nvidia drivers in Fedora 32?
> > 
> 
> This is meaningless without mentioning the hardware you want to use.
> Older hardware is not supported by nvidia drivers, but does work using
> nouveau.
> 
> 
> > Some search results seem to indicate that it's supposed to work by
> > default.
> > Others indicate that it still doesn't work.
> 
> Unless the search results specify the hardware they are pretty much
> useless.
> 

So which hardware exactly does wayland work with?  I guess that needs to be
specified for otherwise wayland is useless.

Since wayland is supposedly the default for Fedora, Fedora surely has tons
of documentation about this and I just couldn't find it.  Or maybe Fedora
is useless ...

___
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


Re: Raid array empty after restart

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 06:24 -0600, Greg Woods wrote:
> In fairness to systemd, it has never been possible to edit /etc/fstab and
> have your changes automatically applied. It has always been necessary to
> run some sort of mount command (or reboot) after modifying fstab.

Which is what I thought I was doing:

* Modify /etc/fstab
* Run mount
* Mount doesn't give an error, but doesn't mount the correct
filesystem.

Requiring the systemctl-reload is a significant departure from
traditional semantics. I understand that it's been around for a while,
but it's nonetheless disconcerting to find that something so basic and
well-understood has changed.

Surely the mount command could notice that /etc/fstab had changed since
systemd last read it and poke it to do the reload?

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


Re: Raid array empty after restart - SOLVED

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 07:49 -0500, Roger Heflin wrote:
> His issue was he did the manual mount on /raid (already in fstab with
> 
> a different device) and systemd immediately unmounted it.  The mount
> 
> succeeds with no error, and the umount happens so fast you are left
> 
> confused about what is going on.It did at least note it in
> 
> messages so long as you can guess the stupid action it took.  This
> 
> action of systemd is pretty badly designed, since it is overriding
> 
> what had to be someone/somethings explicit action (and even if this is
> 
> documented, documenting stupidity does not make it "right", it is
> 
> still wrong).
> 
> 

I *think* I've got it now. Re-creating the array made no difference
whatever, as it just left everything exactly the same apart from taking
many hours in useless resynching (why it does this is a mystery, as it
clearly knows the layout and should know that the array was already
synchronised). IOW even though I ran:

# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[de]

I still ended up with /dev/md127p1 as before, and /dev/md0 wa's not
created. However by putting that into /etc/fstab and running systemctl
daemon-reload', I can now mount the array correctly. It even survives a
system reboot.

Fingers crossed, it seems to be working now.

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


Re: Raid array empty after restart

2020-05-25 Thread Tim via users
On Mon, 2020-05-25 at 06:24 -0600, Greg Woods wrote:
> I would guess that keeping an eye on dozens of config files to see if
> any of them have changed would use a lot of system resources over
> time, but I expect there are more serious and less obvious reasons
> why this is not done.

On a gigaHertz PC with gigabytes of RAM?
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
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


Re: fedora 32 live DVD crashes

2020-05-25 Thread Michael Hennebry

On Sun, 24 May 2020, Michael Hennebry wrote:


I tried adding nomodeset grub_gfxmode=1440x900 ,
but still got 640x480 .

cat cmdline
BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-32-1-6 
rd.live.image nomodeset grub_gfxmode=1440x900


[liveuser@localhost-live proc]$ xrandr --fb 1440x900
xrandr: Failed to get size of gamma for output default
xrandr: screen cannot be larger than 640x480 (desired size 1440x900)
[liveuser@localhost-live proc]$

Grrr.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards
___
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


gonvert and umit/zenmap equivalent

2020-05-25 Thread Amadeus WM via users
Gonvert and umit (nmap frontend) are no longer available in F32. Any 
replacements?

___
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


Re: The restorecon problem is coming back

2020-05-25 Thread Ed Greshko
On 2020-05-25 21:52, Patrick O'Callaghan wrote:
> On Mon, 2020-05-25 at 20:35 +0800, Ed Greshko wrote:
>> On 2020-05-25 20:20, Patrick O'Callaghan wrote:
>>> On Mon, 2020-05-25 at 16:56 +0800, Ed Greshko wrote:
 On 2020-05-25 15:36, Ron Yorston wrote:

> On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
> caused all filesystems to be relabelled.  In my case this took over
> twelve hours.  I was not happy.
 Thanks for the Heads-UP.  I suppose we'll soon find out how many people 
 didn't read this.  :-)



 Lucky for me the time it takes on most of my systems is less than 15 
 minutes.
>>> Didn't even notice it. I just rebooted and it did take longer than
>>> usual (a minute or two instead of 30 seconds) but I put that down to my
>>> current RAID problems.
>> So, you're now at selinux-policy-3.14.5-39.fc32?  If you didn't notice it, I 
>> want your darn fast
>> CPU's.  :-)
> No, 3.14.5-38 as the previous message said. I read that as "to
> " rather than "for ". Why "for"? Presumably the
> update works for more than one existing version.

I see.

Oh, and the restorecon happens when the scriplet is run during the update.  So, 
not a
"re-label" in the sense of "fixfiles onboot".


-- 
The key to getting good answers is to ask good questions.
___
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


Re: wayland or not with nvidia

2020-05-25 Thread George N. White III
On Mon, 25 May 2020 at 10:33, hw  wrote:

>
> Hi,
>
> what is the current status of wayland with nvidia drivers in Fedora 32?
>

This is meaningless without mentioning the hardware you want to use.
Older hardware is not supported by nvidia drivers, but does work using
nouveau.


> Some search results seem to indicate that it's supposed to work by default.
> Others indicate that it still doesn't work.


Unless the search results specify the hardware they are pretty much useless.


> The actual result is that it
> does not work unless I use the nouveau driver instead.  Unfortunately, the
> lack of performance with nouveau still requires nvidia drivers.
>
> If it's supposed to work, how do I get it to work?
>

-- 
George N. White III
___
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


Re: The restorecon problem is coming back

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 20:35 +0800, Ed Greshko wrote:
> On 2020-05-25 20:20, Patrick O'Callaghan wrote:
> > On Mon, 2020-05-25 at 16:56 +0800, Ed Greshko wrote:
> > > On 2020-05-25 15:36, Ron Yorston wrote:
> > > 
> > > > On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
> > > > caused all filesystems to be relabelled.  In my case this took over
> > > > twelve hours.  I was not happy.
> > > 
> > > Thanks for the Heads-UP.  I suppose we'll soon find out how many people 
> > > didn't read this.  :-)
> > > 
> > > 
> > > 
> > > Lucky for me the time it takes on most of my systems is less than 15 
> > > minutes.
> > Didn't even notice it. I just rebooted and it did take longer than
> > usual (a minute or two instead of 30 seconds) but I put that down to my
> > current RAID problems.
> 
> So, you're now at selinux-policy-3.14.5-39.fc32?  If you didn't notice it, I 
> want your darn fast
> CPU's.  :-)

No, 3.14.5-38 as the previous message said. I read that as "to
" rather than "for ". Why "for"? Presumably the
update works for more than one existing version.

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


wayland or not with nvidia

2020-05-25 Thread hw

Hi,

what is the current status of wayland with nvidia drivers in Fedora 32?

Some search results seem to indicate that it's supposed to work by default.
Others indicate that it still doesn't work.  The actual result is that it
does not work unless I use the nouveau driver instead.  Unfortunately, the
lack of performance with nouveau still requires nvidia drivers.

If it's supposed to work, how do I get it to work?

___
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


Re: Raid array empty after restart

2020-05-25 Thread Roger Heflin
His issue was he did the manual mount on /raid (already in fstab with
a different device) and systemd immediately unmounted it.  The mount
succeeds with no error, and the umount happens so fast you are left
confused about what is going on.It did at least note it in
messages so long as you can guess the stupid action it took.  This
action of systemd is pretty badly designed, since it is overriding
what had to be someone/somethings explicit action (and even if this is
documented, documenting stupidity does not make it "right", it is
still wrong).

On Mon, May 25, 2020 at 7:25 AM Greg Woods  wrote:
>
>
>
> On Mon, May 25, 2020, 3:29 AM Patrick O'Callaghan  
> wrote:
>>
>> I wonder why systemd doesn't notice
>> that the file has changed and reload accordingly.
>
>
> The obvious as stupid answer is because it is not designed to work that way. 
> The process is actually documented; see for example 
> systemd-fstab-generator(8).
>
> I would guess that keeping an eye on dozens of config files to see if any of 
> them have changed would use a lot of system resources over time, but I expect 
> there are more serious and less obvious reasons why this is not done.
>
> In fairness to systemd, it has never been possible to edit /etc/fstab and 
> have your changes automatically applied. It has always been necessary to run 
> some sort of mount command (or reboot) after modifying fstab.
>
> --Greg
>
> ___
> 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
___
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


Re: The restorecon problem is coming back

2020-05-25 Thread Ed Greshko
On 2020-05-25 20:20, Patrick O'Callaghan wrote:
> On Mon, 2020-05-25 at 16:56 +0800, Ed Greshko wrote:
>> On 2020-05-25 15:36, Ron Yorston wrote:
>>
>>> On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
>>> caused all filesystems to be relabelled.  In my case this took over
>>> twelve hours.  I was not happy.
>>
>> Thanks for the Heads-UP.  I suppose we'll soon find out how many people 
>> didn't read this.  :-)
>>
>>
>>
>> Lucky for me the time it takes on most of my systems is less than 15 minutes.
> Didn't even notice it. I just rebooted and it did take longer than
> usual (a minute or two instead of 30 seconds) but I put that down to my
> current RAID problems.

So, you're now at selinux-policy-3.14.5-39.fc32?  If you didn't notice it, I 
want your darn fast
CPU's.  :-)


-- 
The key to getting good answers is to ask good questions.
___
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


Re: Raid array empty after restart

2020-05-25 Thread Roger Heflin
I had a bug submitted on a RHEL contract 2-3 years ago about it.  I
get emails each quarter saying they are still evaluating it.  I am not
holding my breath.

The reload could have bad effects since it might shuffle things around
if fstab changed that really only could happen on a reboot, the only
real solution I saw was that once it is clear someone/something else
mounted something remove the systemd rule for the mount that it
happened to.

On Mon, May 25, 2020 at 4:29 AM Patrick O'Callaghan
 wrote:
>
> On Sun, 2020-05-24 at 18:07 -0500, Roger Heflin wrote:
> > Did you originally have /dev/md0p1 in fstab and you have edited fstab
> >
> > since you booted?
> >
> >
> >
> > If so the great and amazing systemd will not be amused and will still
> >
> > have a job for the old device, you will need to run systemctl
> >
> > daemon-reload for it to read the fstab file as it is not smart enough
> >
> > to do that itself.
>
> That's ... illuminating ... I haven't come across this behaviour
> before, but I now see that there is a warning to that effect in
> /etc/fstab (which of course I've never noticed before now). It could
> explain some of what's happened. I wonder why systemd doesn't notice
> that the file has changed and reload accordingly.
>
> 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
___
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


Re: Raid array empty after restart

2020-05-25 Thread Greg Woods
On Mon, May 25, 2020, 3:29 AM Patrick O'Callaghan 
wrote:

> I wonder why systemd doesn't notice
> that the file has changed and reload accordingly.
>

The obvious as stupid answer is because it is not designed to work that
way. The process is actually documented; see for example
systemd-fstab-generator(8).

I would guess that keeping an eye on dozens of config files to see if any
of them have changed would use a lot of system resources over time, but I
expect there are more serious and less obvious reasons why this is not done.

In fairness to systemd, it has never been possible to edit /etc/fstab and
have your changes automatically applied. It has always been necessary to
run some sort of mount command (or reboot) after modifying fstab.

--Greg

>
___
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


Re: Finding Trusted and Reliable Packers and Movers

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 09:58 +, Mukesh Singal wrote:
> Home relocation isn’t a cup of coffee that you would take out easily. 
> Instead, it’s a hell lot of tougher tasks you might have ever gone through! 
> It involves a lot of activities that need perfect planning and execution. You 
> can’t move to and from Mumbai on your own. And if you would, you may face a 
> lot of hassles, troubles, problems, and annoyance. 

What is this garbage doing on the Fedora list?

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


Re: The restorecon problem is coming back

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 16:56 +0800, Ed Greshko wrote:
> On 2020-05-25 15:36, Ron Yorston wrote:
> 
> > On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
> > caused all filesystems to be relabelled.  In my case this took over
> > twelve hours.  I was not happy.
> 
> 
> Thanks for the Heads-UP.  I suppose we'll soon find out how many people 
> didn't read this.  :-)
> 
> 
> 
> Lucky for me the time it takes on most of my systems is less than 15 minutes.

Didn't even notice it. I just rebooted and it did take longer than
usual (a minute or two instead of 30 seconds) but I put that down to my
current RAID problems.

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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread George N. White III
On Sun, 24 May 2020 at 21:35, None via users 
wrote:

> Dear fellow fedora users,
>
> If I have a data file called 15.dat with the following content:
>
> $ cat 15.dat
> 1
> 3
> 1
> 0
> 2
>
> And I want to find min, quartile 1, median, quartile 3 and maximum (Five
> number summary)
> We can use datamash like
> $   cat 15.dat | datamash min 1 q1 1 median 1 q3 1 max 1

   0   1   1.5 2.756


> Q3 is reported as 2.75 but if we split the data file in half the number is
> 3.
>

R makes it easy to see what is being done:

> fivenum
function (x, na.rm = TRUE)
{
xna <- is.na(x)
if (any(xna)) {
if (na.rm)
x <- x[!xna]
else return(rep.int(NA, 5))
}
x <- sort(x)
n <- length(x)
if (n == 0)
rep.int(NA, 5)
else {
n4 <- floor((n + 3)/2)/2
d <- c(1, n4, (n + 1)/2, n + 1 - n4, n)
0.5 * (x[floor(d)] + x[ceiling(d)])
}
}



-- 
George N. White III
___
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


Re: bash/awk equivalent code to gnu datamash

2020-05-25 Thread None via users



Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐ Original Message ‐‐‐
On Monday, May 25, 2020 3:01 AM, Samuel Sieb  wrote:

> On 5/24/20 5:34 PM, None via users wrote:
>
> > Dear fellow fedora users,
> > If I have a data file called 15.dat with the following content:
> > $ cat 15.dat
> > 1
> > 3
> > 1
> > 0
> > 2
>
> I think you dropped the "6" from this copy.
>
> > And I want to find min, quartile 1, median, quartile 3 and maximum (Five 
> > number summary)
> > We can use datamash like
> > $ cat 15.dat | datamash min 1 q1 1 median 1 q3 1 max 1 0 1 1.5 2.75 6
> > Q3 is reported as 2.75 but if we split the data file in half the number is 
> > 3.
>
> I looked at the various ways of calculating quartiles and I can't find
> one that gives this result, but it is the same result as you can get
> from R (which datamash claims to be equivalent to):
> data <- c(0,1,1,2,3,6)
> summary(data)
>
> Min. 1st Qu. Median Mean 3rd Qu. Max.
> 0.000 1.000 1.500 2.167 2.750 6.000
>
> I can't tell you any more than that.
>
> 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

I have heard of R but I am looking for awk/bash, bc or dc solution.  A website 
does give 3 as q3 instead of 2.75. Please see below


https://www.hackmath.net/en/calculator/five-number-summary

1 3 1 0 2 6


Minimum: 0
Quartile Q1: 1
Median: 1.5
Quartile Q3: 3
Maximum: 6

Calculation:

Statistical file:
{14, 0, 4, 0, 0, 1, 1, 7, 1, 0, 3, 1, 2, 0}

Minimum: 0
Quartile Q1: 0
Median: 1
Quartile Q3: 3
Maximum: 14

I would like to get the same since and correct solution since datamash and R do 
not output the same.

Best Regards


Antonio
___
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


Finding Trusted and Reliable Packers and Movers

2020-05-25 Thread Mukesh Singal
Home relocation isn’t a cup of coffee that you would take out easily. Instead, 
it’s a hell lot of tougher tasks you might have ever gone through! It involves 
a lot of activities that need perfect planning and execution. You can’t move to 
and from Mumbai on your own. And if you would, you may face a lot of hassles, 
troubles, problems, and annoyance. 
 
Why suffer a lot in your moving jaunt, when you could find reliable packers and 
movers in Mumbai! Yes, chuck out the hassles and troubles. Having good 
expertise in the industry a professional moving company knows what has to be 
done and which way. 
 
Be a sensible customer and identify the best packers and movers in Mumbai 
beforehand. 
 
How to do that? Check out below given tips: 
 
1. Explore online word and research 
Thanks to the World Wide Web that has simplified almost every task for us so as 
finding the right mover. If you are looking for the one in your area, doing an 
online search would surely be beneficial. This will help you come across 
several ones that provide the best packing and moving services. Shortlist the 
ones that match your needs. Join online discussion forums for better help 
Contacting online discussion forum is yet another way to find the best packers 
and movers in Mumbai. 
 
2. Ask your relatives or friends 
Get in touch with people who have moved lately. They can be beneficial to solve 
all your queries. Ask them, phone them, or seek their help whenever needed. You 
can even ask for their references that will help you in the long run. So, don’t 
worry more. Keep every worry aside as the above-suggested tips are gonna help 
you out.  
 
3. Don't look for cheap deals, go with brand value. 
Many packers and movers in Mumbai have established themselves in the city. 
Since the beginning they have been serving people with their home or office 
shifting jaunts. Those who want to save some bucks look for cheap packers and 
movers in Mumbai. They in fact, invite troubles for themselves by not checking 
the background of the mover, but just finding their deals attractive. 
 
4. Enquire about packing and moving process
There is a mushrooming number of packers and movers out there who claim to give 
outstanding services. But the true story tells another tale. Hence, it’s not 
good but dangerous for your goods if you follow their steps. 
 
Many packers and movers in Mumbai have a different process for packing and 
moving process. You should definitely be aware beforehand how your good will be 
packed and shipped. You don’t want to end up in broken good when you unpack 
them. 
 
5. Enquire about insurance of goods
If you don’t want to take any risk with your goods, ask packers and movers 
about insurance. They can guide you about the insurance process. Some packers 
and movers like TBPM packers and movers will guaranty your good safety. 
 
 
https://www.tbpackersmovers.com
___
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


Re: Raid array empty after restart

2020-05-25 Thread Patrick O'Callaghan
On Sun, 2020-05-24 at 18:07 -0500, Roger Heflin wrote:
> Did you originally have /dev/md0p1 in fstab and you have edited fstab
> 
> since you booted?
> 
> 
> 
> If so the great and amazing systemd will not be amused and will still
> 
> have a job for the old device, you will need to run systemctl
> 
> daemon-reload for it to read the fstab file as it is not smart enough
> 
> to do that itself.

That's ... illuminating ... I haven't come across this behaviour
before, but I now see that there is a warning to that effect in
/etc/fstab (which of course I've never noticed before now). It could
explain some of what's happened. I wonder why systemd doesn't notice
that the file has changed and reload accordingly.

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


Re: Raid array empty after restart

2020-05-25 Thread Patrick O'Callaghan
On Sun, 2020-05-24 at 16:22 -0700, Samuel Sieb wrote:
> On 5/24/20 3:39 PM, Patrick O'Callaghan wrote:
> 
> > So although the above message says the existing partition table will be
> > lost, for some reason I'm still getting a partition, while you
> > apparently didn't. I copied the --create command directly from the man
> > page. Is this not the "standard" way you mentioned in an earlier reply?
> 
> 
> That message is a little misleading.  What happened was you created an 
> 
> array out of disks with existing data on them.  Only the superblock gets 
> 
> rewritten, the rest of the drive just gets resynced, not erased.  So 
> 
> your existing partition table is still there.

More than a little misleading.  I'd call the message downright wrong.
I'll consider reporting it to BZ.

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


Re: The restorecon problem is coming back

2020-05-25 Thread Ed Greshko
On 2020-05-25 15:36, Ron Yorston wrote:
> On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
> caused all filesystems to be relabelled.  In my case this took over
> twelve hours.  I was not happy.

Thanks for the Heads-UP.  I suppose we'll soon find out how many people didn't 
read this.  :-)

Lucky for me the time it takes on most of my systems is less than 15 minutes.


>
> It appears the developers have a workaround for the problem but the
> update that applies it will cause all filesystems to be relabelled
> if you already have the borked 3.14.5-38.fc32 update.
>
> The new update is currently in updates-testing and will no doubt be
> making its way onto our systems soon enough.  The developers say[1]:
>
>Please note updating from the previous package version
>selinux-policy-3.14.5-38.fc32 will have all filesystems relabeling
>as a result which cannot be prevented. If relabeling takes a lot
>of time, consider unmounting some filesystems, updating manually,
>postponing the update to later.
>
> You have been warned.
>
> Ron
>
> [1] https://bodhi.fedoraproject.org/updates/FEDORA-2020-886cc9af08
>

-- 
The key to getting good answers is to ask good questions.
___
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


Re: X server crashes when system is busy but server is idle

2020-05-25 Thread Tim via users
Joe Zeff:
>> And for those of us who don't use Gnome?  There are two folders of
>> that name in different places: /etc/X11 and /usr/share/X11 so which
>> one do I look in?

Samuel Sieb:
> I wasn't aware of that /usr/share one, but local modifications are 
> supposed to go in /etc.  /usr/share/ is for distributed default
> configs.

It's a per-user keyboard layout option, in the keyboard preferences (on
MATE, and friends), so there's a setting for it within your homespace. 
If I toggle a keyboard option, I see that my .config/dconf/user file
gets updated (I'm just looking at the datestamp).

I dare say that there's probably a way to preset it for all users, too.

-- 
 
uname -rsvp
Linux 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
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


The restorecon problem is coming back

2020-05-25 Thread Ron Yorston
On 6th May an update to selinux-policy for Fedora 32 (3.14.5-38.fc32)
caused all filesystems to be relabelled.  In my case this took over
twelve hours.  I was not happy.

It appears the developers have a workaround for the problem but the
update that applies it will cause all filesystems to be relabelled
if you already have the borked 3.14.5-38.fc32 update.

The new update is currently in updates-testing and will no doubt be
making its way onto our systems soon enough.  The developers say[1]:

   Please note updating from the previous package version
   selinux-policy-3.14.5-38.fc32 will have all filesystems relabeling
   as a result which cannot be prevented. If relabeling takes a lot
   of time, consider unmounting some filesystems, updating manually,
   postponing the update to later.

You have been warned.

Ron

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2020-886cc9af08
___
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