Re: mounting a drive on F37

2023-03-29 Thread Joe Zeff

On 03/29/2023 10:45 PM, Ranjan Maitra wrote:

So, how do I mount this drive onto my /etc/fstab? Sorry if things are not 
clear, but I am happy to clarify further and provide more information.


Use gparted to give it a label.
___
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: mounting a drive on F37

2023-03-29 Thread Samuel Sieb

On 3/29/23 21:45, Ranjan Maitra wrote:

I am trying to modify my /etc/fstab to mount a drive (where I want to place a 
backup). From looking at the current setup created by anaconda, it looks like I 
have to setup using UUID or LABEL (however these seem to be blank, see below).

First, my setup.

I have one SSD that has / and all the partitions associated with it.

I have three additional drives, two of which are hardware (for historical reasons) 
RAIDed, and have /home in them, and a third new drive that is  a "free agent" 
(sorry for not knowing the correct term, but I hope that I can convey the meaning).

I want this to be mounted at boot as /mnt/whatever (I have verified that this 
mount-point has been created and exists).

So, I look at my /dev/disk/by-disk-seq and see:

~$ ls
  1@  2@  4@  5@  6@

~$ ll *
  lrwxrwxrwx. 1 root root 9 Mar 29 14:01 1 -> ../../sda
  lrwxrwxrwx. 1 root root 9 Mar 29 14:01 2 -> ../../sdb
  lrwxrwxrwx. 1 root root 9 Mar 29 14:01 4 -> ../../sdc
  lrwxrwxrwx. 1 root root 9 Mar 29 14:01 5 -> ../../sr0
  


OK, there is an a, b and c. The d is the first drive that has the /, the sr0 is 
the swap, and the a, b and c are the three drives.


zram0 is the swap.  sr0 is an optical disk drive of some sort.


It appears to me that the sda and sdc are the ones raided (they have the same 
UUID and also lsblk indicates so (I have made up the part numbers here, for 
security). I have to say that I expected sda and sdb to be the RAIDed drives, I 
thought that sdc would be the new one that has been put in. But perhaps I am 
wrong in my understanding.


The UUID has no security ramifications.  It only matters if someone has 
physical access to your computer and if so, they would be able to read 
them anyway.  The disk numbering depends on which port they're plugged 
into and which order those ports are scanned.



$ lsblk -f
  NAMEFSTYPE  FSVER  LABEL UUID  FSAVAIL FSUSE% 
MOUNTPOINTS
  sda isw_raid_member 1.3.00
sda1  ext41.0  x
md126
  md126p1 ext41.0  x 116.3G8% /home
md127
  sdb
  sdc isw_raid_member 1.3.00
sdc1  ext41.0  x
md126
  md126p1 ext41.0  x 116.3G8% /home
md127
  sdd
sdd1  vfatFAT32E56F-E0D8
sdd2  ext41.0  y 595.9M8% /boot
sdd3  vfatFAT321616-D18F 933.7M 2% 
/boot/efi
sdd4  ext41.0  u 43.2G 0% /tmp
sdd5  ext41.0  v 43.2G 0% 
/usr/local
sdd6  swap1w[SWAP]
sdd7  ext41.0  z 76.3G14% /
  sr0
  zram0 
   [SWAP]
  


But, my problem is that /dev/sdb does not appear to have a UUID number. Indeed, 
I get nothing back when I try:

$ sudo blkid /dev/sdb1


Does that give nothing or an error?  That listing indicates that the 
drive isn't partitioned at all.  What does "fdisk -l /dev/sdb" show?  Or 
run the "Disks" application (if you have Gnome) to see what's there and 
create a partition.

___
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


mounting a drive on F37

2023-03-29 Thread Ranjan Maitra
Hi,

I am trying to modify my /etc/fstab to mount a drive (where I want to place a 
backup). From looking at the current setup created by anaconda, it looks like I 
have to setup using UUID or LABEL (however these seem to be blank, see below).

First, my setup.

I have one SSD that has / and all the partitions associated with it.

I have three additional drives, two of which are hardware (for historical 
reasons) RAIDed, and have /home in them, and a third new drive that is  a "free 
agent" (sorry for not knowing the correct term, but I hope that I can convey 
the meaning).

I want this to be mounted at boot as /mnt/whatever (I have verified that this 
mount-point has been created and exists).

So, I look at my /dev/disk/by-disk-seq and see:

~$ ls
 1@  2@  4@  5@  6@

~$ ll *
 lrwxrwxrwx. 1 root root 9 Mar 29 14:01 1 -> ../../sda
 lrwxrwxrwx. 1 root root 9 Mar 29 14:01 2 -> ../../sdb
 lrwxrwxrwx. 1 root root 9 Mar 29 14:01 4 -> ../../sdc
 lrwxrwxrwx. 1 root root 9 Mar 29 14:01 5 -> ../../sr0
 

OK, there is an a, b and c. The d is the first drive that has the /, the sr0 is 
the swap, and the a, b and c are the three drives.

It appears to me that the sda and sdc are the ones raided (they have the same 
UUID and also lsblk indicates so (I have made up the part numbers here, for 
security). I have to say that I expected sda and sdb to be the RAIDed drives, I 
thought that sdc would be the new one that has been put in. But perhaps I am 
wrong in my understanding.


Anyway, 

$ lsblk -f
 NAMEFSTYPE  FSVER  LABEL UUID  FSAVAIL FSUSE% 
MOUNTPOINTS
 sda isw_raid_member 1.3.00 
  
   sda1  ext41.0  x
   md126
  
 md126p1 ext41.0  x 116.3G8% /home
   md127
  
 sdb
  
 sdc isw_raid_member 1.3.00 
  
   sdc1  ext41.0  x
   md126
  
 md126p1 ext41.0  x 116.3G8% /home
   md127
  
 sdd
  
   sdd1  vfatFAT32E56F-E0D8 
  
   sdd2  ext41.0  y 595.9M8% /boot
   sdd3  vfatFAT321616-D18F 933.7M 2% 
/boot/efi
   sdd4  ext41.0  u 43.2G 0% /tmp
   sdd5  ext41.0  v 43.2G 0% 
/usr/local
   sdd6  swap1w[SWAP]
   sdd7  ext41.0  z 76.3G14% /
 sr0
  
 zram0  
  [SWAP]
 

But, my problem is that /dev/sdb does not appear to have a UUID number. Indeed, 
I get nothing back when I try:

$ sudo blkid /dev/sdb1

or even

$ sudo blkid /dev/sdb

So, how do I mount this drive onto my /etc/fstab? Sorry if things are not 
clear, but I am happy to clarify further and provide more information.


Many thanks for your help, and best wishes,
Ranjan
___
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 my dns?

2023-03-29 Thread Joe Zeff

On 03/29/2023 08:22 PM, Tim via users wrote:

Perhaps initially, but if you're sent to a page with Google ads, you
check your gmail, you use your Android phone, or do any number of
ordinary internet activities, and you're identifiable.


That may be so, but at least by using startpage.com you're not letting 
them mine your search history as well.

___
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 my dns?

2023-03-29 Thread Tim via users
Tim:
>> Look at Google, it's goal is databasing everything.  Tie a bunch of
>> queries to the same IP, roll it all together, it doesn't matter what
>> privacy options you attempt, which different browsers you use, or if
>> you remove cookies.  If you don't want some queries in that database,
>> don't use Google for them.  They continually find ways to work around
>> any things we do to stop them doing that.

Joe Zeff:
> Try using startpage.com instead.  Yes, it sends its queries through 
> google, but the queries are sent from them, not you, and there's nothing 
> tying them to your IP.

Perhaps initially, but if you're sent to a page with Google ads, you
check your gmail, you use your Android phone, or do any number of
ordinary internet activities, and you're identifiable.  I seem to
recall some research saying you only needed to do about four things on
the internet before you analysable.  If you run a browse with script
blocker, you notice that so many pages have over a dozen different
domains running scripts for that page.  The world-wide-web was aptly
named.

Since we're not planning malfeasance, most of us have less concerns
about getting on a list (depending on what country you live it).  Many
have lost their pissed-off-ness about that, but the advertising
following you around is annoying, can be considered harassment, and
medical issues people read up about can ruin job opportunities, etc.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: what is my dns?

2023-03-29 Thread Joe Zeff

On 03/29/2023 04:22 AM, Tim via users wrote:

Look at Google, it's goal is databasing everything.  Tie a bunch of
queries to the same IP, roll it all together, it doesn't matter what
privacy options you attempt, which different browsers you use, or if
you remove cookies.  If you don't want some queries in that database,
don't use Google for them.  They continually find ways to work around
any things we do to stop them doing that.


Try using startpage.com instead.  Yes, it sends its queries through 
google, but the queries are sent from them, not you, and there's nothing 
tying them to your 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: what is my dns?

2023-03-29 Thread Tim via users
On Tue, 2023-03-28 at 15:59 -0700, ToddAndMargo via users wrote:
> I was just wanting to see what DNS I was actually using.
> 
> I have this in my /etc/naned/conf
> 
> options {
>  # the following forwarders is Family Friendly Open DNS (no porn 
> sites):
>  forwarders { 208.67.222.123; 208.67.220.123; };
> };

The above name servers will actually handle the beginning of your
queries for all domains (they'll going the through the same processes
as if your name server did it, itself), except for any exceptions that
you've configured, such as:

> and
> 
> zone "bravesoftware.com" IN {
>  type forward;
>  forward only;
>  forwarders {8.8.8.8; 8.8.4.4; };
> };

Your name server will pass the task onto 8.8.8.8 and 8.8.4.4 for that
domain name (and its subdomains, e.g. www.bravesoftware.com, it's mail
servers, etc), and that name server will do the queries.

In essence, your name server is doing nothing but pass some queries
here, other's there.


> The purpose is that Open DNS blocks Brave Browser's
> Private Window with Tor's name resolution as it
> is a work around for viewing pron sites.
> 
> Since I do not deliberately go to porn sites,
> I use Family friendly Open DNS to protect me
> from an funny business and trickery and
> me being a kluz with the mosue at times.
> 
> But I still  want to be able to use Brave's TOR
> private window for looking up stuff that is just
> nobody else's business, such as medical things or
> things that can be easily misunderstood by law
> enforcement, such as the common name for the
> polymer polyvinyl carboxy.  (I would not look
> it up, except on TOR).

I was under the impression that privacy based anonymising browsers
shouldn't use your general DNS servers (because that leaks
information).  They should find some anonymous servers when they start
up, and use them.

Look at Google, it's goal is databasing everything.  Tie a bunch of
queries to the same IP, roll it all together, it doesn't matter what
privacy options you attempt, which different browsers you use, or if
you remove cookies.  If you don't want some queries in that database,
don't use Google for them.  They continually find ways to work around
any things we do to stop them doing that.

I'm sick of being asked to set a cookie setting the fact that I don't
want cookies.  FFS!  If I completely switch off cookies in my browser,
it's a dead loop of an unanswerable question, rather than not being
asked the question.

It's been quite some time since I accidentally ended up at a porn site,
some bright spark decided a great way to hook people into their site
was to have some pages about fixing common problems your printer.  You
google that innocent thing, as will a huge number of people, and ended
up at a page with porn banners.  Google's got better at derating those
kinds of baiting page results these days.


> So I was curious as to what DNS was looking up what.

Switch on logging in your nameserver, do "tail -f" on the log file, or
figure out how rndc works, watch some queries go through.  Try some in
your normal browser, try some in your privacy browser.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: what is my dns?

2023-03-29 Thread Tim via users
On Tue, 2023-03-28 at 13:47 -0700, ToddAndMargo via users wrote:
> the ones that answered the queries that your name
> server asked of it

The general process for asking a real domain server for a domain name
like www.example.com is that it'd consult its records (*) to find a
root server, ask one of the various root servers who deals with .com,
then it'd ask one of the .com servers who has the records for
example.com, then it'd query it, for whatever subdomain you wanted
(www.example.com).

i.e. It reads the domain name backwards from how you do.
 .
 .com
 example.com
 www.example.com

* (Your name server will have these as part of its install, and it will
update them, or yum/dnf will with rpm updates.)

It's a wee bit more convoluted than that, it goes a bit like this:

  who holds the records for .
  that's held by 
  what's the IP address for that 
  connect to that 
  who holds the record for 
  that's held by 
  what's the IP...

There's a reason why the queries might go along the line of who holds
the records for example.com?  They're held by nameserver.example.net,
rather than being directly told they're being held at 93.184.216.34. 
It allows a consistent nameserver name to be used for the records, but
the IP addresses may be variable.

If you look in your own domain records, it'll will give a nameserver
for your domain as a domain-NAME-address, further down will be a record
giving a numerical-IP-address for that domain-NAME-address.

I've had a few people go, "no, it doesn't work that way."  Yes, it
does, look in the files for a nameserver!

There aren't a great number of steps for finding out domain name
records, it's reasonably straightforward, other than a couple of things
off the top of my head:  If you're using forwarders, they're an extra
step.  And if a domain uses glue records, that's another step.

If you have forwarders for certain domains, they'll follow a different
sequence.  Likewise, if you forward all queries.  Your server will ask
the forwarder to do that work.  Essentially, your server will only
answer some queries (the ones without any forwarders).

Glue records:  The public records may say that a domain is handled by a
big hosting server, everyone queries it.  It has a record that
redirects them to some other host that actually handles them.  I always
forget what advantage that's supposed to have.  I do know of the
problems they can cause, where someone foollishly sets things up so the
records are held somewhere that isn't publicly accessible.

Some domains will have their records hosted by several name servers
(think of Google having 4 domain servers, to spread the load around). 
Queries will randomly get responded to by one of them.

dig example.com will tell you

the records for that domain (the answer section)
the nameserver that holds those records (the authority section) [the one that 
provided the answers]
and the one that directly answered you (the query section) [and that'll be your 
server]

You can think of the last two as passing a note to you across the room.

It's generally all you need to know, until you're trying to track down
where something is going wrong.  Such as sometimes you get an answer,
sometimes you don't.  Is a server failing?  Are four backup servers
handling the queries, and one of them is bad.

The dig tool will allow you to directly query individual servers, so
you can trace such things.

-- 
 
uname -rsvp
Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue