Re: Help to find the Debians repository

2023-11-08 Thread David Christensen

On 11/8/23 13:34, ARY SAYD SAULT wrote:

Dear Debian's Team,

I hope this email finds you well. My name is Ary I am a software 
engineering student at Catholic University of Salvador. I am reaching

out to you because the team and I need to analyze the evolution of
Debian software over the years and correlate it with Lehman's laws.
Obviously, for this type of work, we would not need to analyze all
the software since its release, just the most recent versions.

I would greatly appreciate it if you could help me and my colleagues
to find a repository where we could do this kind of analysis. If you
need any additional information from me, please let me know.

Thank you for your time and consideration. I look forward to hearing
back from you soon.

Best regards, Ary



On 11/8/23 14:05, Greg Wooledge wrote:

  has most of
it.



If you want source code:

https://sources.debian.org/


David



Re: How to use dmsetuup?

2023-11-08 Thread Tom Dial




On 11/8/23 03:20, gene heskett wrote:

On 11/8/23 00:34, to...@tuxteam.de wrote:

On Tue, Nov 07, 2023 at 07:19:40PM -0500, gene heskett wrote:

[...]


What do I do if a gpt partition table has already been made and an ext4
system is already installed? IOW just how "bare" a disk is needed? Is
writing a null gpt sufficient?


Hm. I may have missed something, but I've got the impression we are a
second round through this: you just slap the LVM infrastructure over
current data, it will overwrite what it needs to and mark the rest as
free space. It just replaces what was before on disk.


Sounds good.
However I may go a different route. I have a not installed 2T WD-Black SN770 NVMe 
SSD, format 2280. This Asus prime z370-A II modo has two M2 sockets which the docs 
say both can use a 2280, but they operate differently w/o really explaining the 
difference. The one in the middle of the board, the A socket 2_2 looks like I have 
to pull the CPU and its radiator to be able to really get to it, and actually only 
shows how to install in the lower 2_1 socket which also has a heat sinking cover 
that must be removed & reinstalled. Is this then the preferred location, or is 
there an advantage to the other socket nearer the CPU?.


This is a different question entirely.




It /might/ warn you that you're about overwriting potentially valuable
data, I don't remember.


By my recollection, LVM operations DO NOT WARN. I might be wrong, but don't 
recommend the alternative. Use with care.



But before I do yet another reinstall, 24th or so. two of the sata 2t's are 
installed, and I'm tempted to rsych the raid to one of them to see if 
reassigning /home to a copy of /home does away with this horrible lag I'm 
wanting to blame on the raid10.


Unless, of course, the data is sensitive: in that case you want to zero
(or better: random) it.

Cheers


Thank you.

They are empty except for the ext4 install and if pvcreate just slams the new format regardless, I'll rsync the 2T /home back to the raid10, and unplug that controller before I put the install dvd in. I also have another sata controller, this one with all 16 ports installed.> 
And I just looked at tht pair, and acc gparted they have both been pvcreated, so I'll leave then alone and steal the dvd cable, puttin a new 2T drive if I can rig power to it.

This mobo also claims to be able to do the intel version of a raid on its own 
sata ports.  Does anyone here have experience doing that?


Mixing hardware RAID with either LVM (or ZFS) has no benefit that I know of. 
ZFS guidance recommends against it. I suggest picking any one method to create 
your /home, carrying it through, and if you don't like the result, redo it with 
another. I've used LVM for more than 25 years on HP-UX and Linux with good 
results. I switched a few years back to ZFS for new installs, also with good 
results. Both are reliable, expandable, and easy to manage, albeit with 
learning curves. I haven't used hardware raid because the software ones are 
quite good enough, and they also have their learning curve.

Regards,
Tom






Thanks Tomas
Cheers, Gene Heskett.




Re: How to use dmsetuup?

2023-11-08 Thread Tom Dial




On 11/7/23 17:19, gene heskett wrote:

On 11/7/23 18:42, Tom Dial wrote:



On 11/6/23 08:47, Franco Martelli wrote:

On 03/11/23 at 17:27, gene heskett wrote:

Greetings all;
As usual, the man page may as well be written in swahili. The NDE syndrome, 
meaning No D-d Examples.

I have those 2 2T SSD's with a gpt partition table on both, allocated as sdc1 
and sdk1, formatted to ext4, named and labeled as lvm1 and lvm2.
Temp mounted as sdc1 and sdk1 to /mnt/lvm1 and /mnt/lvm2

How do I create a single managed volume of labels lvm1 and lvm2 of these to 
make a single volume that I can then rsynch /home to it, then switch fstab to 
mount it as /home on a reboot?


You do not put a file system on the partitions you are using as LVM physical 
volumes. And you do not mount them.


What do I do if a gpt partition table has already been made and an ext4 system is already 
installed? IOW just how "bare" a disk is needed? Is writing a null gpt 
sufficient?

Hi Gene,

You can ignore them, or not, as you like. If you want, you could overwrite them 
with zeros or a pattern of your choice; I would not bother.

Logical volume creation and mkfs operations on the logical volume(s) will 
replace them.

Tom



Thank you Tom.


The rough procedure is

Create LVM physical volumes on raw disk partitions using pvcreate  (or lvm 
pvcreate) e. g.,

pvcreate /dev/sdc1
pvcreate /dev/sdk1

This gives you two physical volumes to use to create one or two volume groups
Create an LVM volume group using vgcreate (or lvm vgcreate), e. g.,

vgcreate home-vg sdc1 sdk1

This gives you a volume group named "home-vg" with 4.4 TB raw storage in which 
you can create one or more logical volumes.
Create the logical volumes you want. It appears you want only one, to mounted 
at /home. For instance,

lvcreate --size 1024G -n home-volume home-vg

will create a 1 TB logical volume, represented under dev by 
/dev/home-vg/home-volume

Put a file system on the logical volume in the normal way, such  as:

mkfs -t ext4 /dev/home-vg/home-volume

mount the new volume (and put it in /etc/fstab for mounting at boot:

mount /dev/home-vg/home-volume /home

Doing this probably will not give you what you want. (For instance, if I 
remember right, the entire logical volume would, in this case, wind up on the 
first-named physical volume vgcreate command.) The man pages for lvm and its 
subcommands offer a lot of options for things like storage allocation 
between/among multiple physical volumes that make up a volume group, the size 
of allocation units, such things as RAID level, and a large number of other 
properties. You probably know what you want, and from what I've seen on this 
list seem quite able to fish it up out of the man pages, some of which have 
usefully suggestive examples.

OTOH, I would recommend ZFS for this based on experience with LVM and ZFS in 
both commercial (e. g., HP-UX and SolaRIS) and Linux environments. Both have 
learning curves that I would judge comparable, both are flexible and fairly 
easy to manage, and both are or can be highly resilient. On the whole, though, 
I prefer ZFS.

Regards,
Tom Dial





How about to use debian-installer: burn the dvd image of Bookworm 12.2, put into the DVD 
drive then reboot the system. You have to choose "Expert Install" and it's all 
menu driven from RAID device creation to LVM logical device and logical volume names.
I don't know if you can do that from debian-installer rescue disk mode.

HTH
kinds regards



.


Cheers, Gene Heskett.




Re: Removal of Libdb5.3

2023-11-08 Thread Dan Ritter
Busireddy, Nikhitha Reddy wrote: 
> Hey Team,
> 
> We are building a project on Debian:bullseye, and due to security issues, we 
> are trying to remove libdb5.3 package. Is it recommended to remove this 
> package? And is there any better alternative package for libdb5.3? Because, 
> when we delete libdb5.3, it’s deleting some essential packages such as 
> apt-get, even holding these packages doesn’t seem to work. Could you please 
> provide some suggestions on this?

First: what security issues? If you know of a problem in libdb,
have you reported it to the package maintainer?

Here's the bug page for it: 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=stable;package=libdb5.3


You cannot remove libdb and have a usable Debian system;
apt-utils depends on it. 

-dsr-



Re: Removal of Libdb5.3

2023-11-08 Thread Greg Wooledge
On Wed, Nov 08, 2023 at 11:20:29PM +, Andy Smith wrote:
> On Wed, Nov 08, 2023 at 03:57:15PM +, Busireddy, Nikhitha Reddy wrote:
> 
> > We are building a project on Debian:bullseye, and due to security
> > issues, we are trying to remove libdb5.3 package.
> 
> As you have discovered, libdb3.5 is required for several essential
> parts of the Debian 12 release, such as libpam-modules.
> 
> If you can't solve your security issues you'll need to avoid using
> Debian.
> 
> It is likely that your "security issues" are that something says a
> particular version of libdb has a certain bug and must not be used,
> but you will probably find upon research that Debian has already
> patched that particular bug or is not affected by it in the first
> place.
> 
> Looking for the particular CVE number at
> https://security-tracker.debian.org/tracker/ can often help to
> resolve these sorts of issues.

It would be nice if the OP told us which issue is a concern, and why.
A quick google search turns up
 but I
don't know how much of a concern that is on any given system.

(Does a default Debian installation even *have* any sqlite databases
on it?)



Re: Removal of Libdb5.3

2023-11-08 Thread Andy Smith
Hi,

On Wed, Nov 08, 2023 at 03:57:15PM +, Busireddy, Nikhitha Reddy wrote:
> Hey Team,

Here we are all volunteer users of Debian; we are a "team" only in
the sense of our informal interest in Debian.

> We are building a project on Debian:bullseye, and due to security
> issues, we are trying to remove libdb5.3 package.

As you have discovered, libdb3.5 is required for several essential
parts of the Debian 12 release, such as libpam-modules.

If you can't solve your security issues you'll need to avoid using
Debian.

It is likely that your "security issues" are that something says a
particular version of libdb has a certain bug and must not be used,
but you will probably find upon research that Debian has already
patched that particular bug or is not affected by it in the first
place.

Looking for the particular CVE number at
https://security-tracker.debian.org/tracker/ can often help to
resolve these sorts of issues.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Removal of Libdb5.3

2023-11-08 Thread Busireddy, Nikhitha Reddy
Hey Team,

We are building a project on Debian:bullseye, and due to security issues, we 
are trying to remove libdb5.3 package. Is it recommended to remove this 
package? And is there any better alternative package for libdb5.3? Because, 
when we delete libdb5.3, it’s deleting some essential packages such as apt-get, 
even holding these packages doesn’t seem to work. Could you please provide some 
suggestions on this?

Thanks!


Re: Help to find the Debians repository

2023-11-08 Thread Greg Wooledge
On Wed, Nov 08, 2023 at 06:34:12PM -0300, ARY SAYD SAULT wrote:
> software over the years and correlate it with Lehman's laws. Obviously, for
> this type of work, we would not need to analyze all the software since its
> release, just the most recent versions.

 has most of it.



Re: How to use dmsetuup?

2023-11-08 Thread jeremy ardley



On 9/11/23 02:02, Andrew M.A. Cater wrote:

Double check - sometimes one socket may be intended primarily for "other"
M2 devices. There shouldn't be any particular difference
between the two - one is obviously easier to reach than the other.
Occasionally, having two may mean that they run slightly slower.



I don't know about that model, but my ASUS Prime B550M-A has 2x M.2 PCIE 
sockets. One runs PCIE 4.0 the other PCIE 3.0 So a significant speed 
difference.


Other boards, mainly SBC, have additional M.2 sockets for short devices 
such as WiFi




Help to find the Debians repository

2023-11-08 Thread ARY SAYD SAULT
Dear Debian's Team,

I hope this email finds you well. My name is Ary I am a software
engineering student at Catholic University of Salvador. I am reaching out
to you because the team and I need to analyze the evolution of Debian
software over the years and correlate it with Lehman's laws. Obviously, for
this type of work, we would not need to analyze all the software since its
release, just the most recent versions.

I would greatly appreciate it if you could help me and my colleagues to
find a repository where we could do this kind of analysis. If you need any
additional information from me, please let me know.

Thank you for your time and consideration. I look forward to hearing back
from you soon.

Best regards,
Ary


Re: AW: Anybody familiar with dd (copy)?

2023-11-08 Thread David Christensen

On 11/8/23 05:22, Schwibinger Michael wrote:

Von: David Christensen Gesendet: Freitag, 3. November 2023 21:56
On 11/3/23 12:37, Schwibinger Michael wrote:

I want to copy a problem-DVD to HD with DD.
Or is there any other software which can do it in an easy way?

I found:

dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct

It does not work.

What do I do wrong?


Please run the following commands as root and post the complete console
session -- prompts, commands entered, and output displayed:

# cat /etc/debian_version ; uname -a

# df

# dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror,fsync iflag=fullblock
bs=2048 status=progress



> dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden
>
> could not open '/dev/sr0': No media found
>
>
> Good afternoon
> Thats the same bug report
> with the task I did post at the beginning.
> Where do I have to start the task?


Thank you for translating to English.


Please use inline posting style.


When you post console output, please include the prompt, the command 
entered, and the output obtained.  For example:


2023-11-08 12:02:28 root@taz ~
# cat /etc/debian_version ; uname -a
11.8
Linux taz 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 
GNU/Linux



Please open the optical drive drawer, shutdown the computer, use a 
cotton swap and isopropyl alcohol to clean the lens of the optical 
drive, wait for the alcohol to evaporate completely, boot the computer, 
and run the following commands as root.  Post the complete console

session -- prompts, commands entered, and output displayed:

# cat /etc/debian_version ; uname -a

# df

# dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror,fsync iflag=fullblock 
bs=2048 status=progress



David



Re: WiFi b/g/n

2023-11-08 Thread Marco M.
Am 08.11.2023 um 11:04:54 Uhr schrieb William Torrez Corea:

> 06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless

|A highly integrated, all CMOS combo-chip for 2.4 GHz 802.11n wireless
|local area networks (WLANs) and Bluetooth 4 solution for PC
|applications.

https://www.qualcomm.com/products/internet-of-things/networking/wi-fi-networks/qca9565

You cannot use 5 GHz (nor 60 GHz) because it only support 2.4 GHz.



Re: How to use dmsetuup?

2023-11-08 Thread Andrew M.A. Cater
On Wed, Nov 08, 2023 at 05:20:47AM -0500, gene heskett wrote:
> On 11/8/23 00:34, to...@tuxteam.de wrote:
> > On Tue, Nov 07, 2023 at 07:19:40PM -0500, gene heskett wrote:


> > 
> Sounds good.
> However I may go a different route. I have a not installed 2T WD-Black SN770
> NVMe SSD, format 2280. This Asus prime z370-A II modo has two M2 sockets
> which the docs say both can use a 2280, but they operate differently w/o
> really explaining the difference. The one in the middle of the board, the A
> socket 2_2 looks like I have to pull the CPU and its radiator to be able to
> really get to it, and actually only shows how to install in the lower 2_1
> socket which also has a heat sinking cover that must be removed &
> reinstalled. Is this then the preferred location, or is there an advantage
> to the other socket nearer the CPU?.
> 

Double check - sometimes one socket may be intended primarily for "other"
M2 devices. There shouldn't be any particular difference
between the two - one is obviously easier to reach than the other.
Occasionally, having two may mean that they run slightly slower.

> They are empty except for the ext4 install and if pvcreate just slams the
> new format regardless, I'll rsync the 2T /home back to the raid10, and
> unplug that controller before I put the install dvd in. I also have another
> sata controller, this one with all 16 ports installed.
> 

It might be sensible to think about rebuilding the machine to use _one_
controller. If the 16 port controller has a JBOD mode, use that and
use mdadm. Splitting between some MB SATA ports, some on a card may not
be efficient. [JBOD == "just a bunch of disks" == no RAID intelligence
applied by the card itself]

> And I just looked at tht pair, and acc gparted they have both been
> pvcreated, so I'll leave then alone and steal the dvd cable, puttin a new 2T
> drive if I can rig power to it.
> This mobo also claims to be able to do the intel version of a raid on its
> own sata ports.  Does anyone here have experience doing that?

"Motherboard RAID" is not portable - mdadm is at least as efficient.
On the one machine I have that has "motherboard RAID", it's effectively
something like mdadm but writes some signature to the disk that means
it can only be read by that software. A "proper" RAID controller has
large amounts of RAM, battery backup - they generally cost $$$
> 
> Thanks Tomas
> Cheers, Gene Heskett.
> -- 

All the very best, as ever,

Andy

[amaca...@debian.org]

> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> 



Re: Help ! No syslog anymore

2023-11-08 Thread Sven Joachim
On 2023-11-08 08:26 +, Bhasker C V wrote:

>  I moved my syslog to a different location  '/tmp/server.log'

A rather strange decision, since /tmp is usually pruned on reboot.

> This was working all fine until I moved to selinux in enforcing mode.
>
> I have tried putting selinux in permissive state and that too did not help

Most likely your problem has nothing to do with selinux, but is rather
due to the hardening features implemented in rsyslog 8.2310.0-1.  Among
other things, rsyslogd now gets its own /tmp directory (PrivateTmp=yes
in rsyslog.service) which is not shared with other processes.

> Please could someone help ? Or if there is a procedure to move syslog file
> /var/log/syslog to a different location, I am happy to follow ...

If you insist on moving it to /tmp, one possibility is to use a bind
mount for /tmp/server.log.  Run "systemctl edit rsyslog.service" and put
the following two lines in the file:

[Service]
BindPaths=-/tmp/server.log

You may also need a tmpfiles.d(5) snippet to create /tmp/server.log on
reboot if it does not exist.

Good luck,
Sven



Re: locate question

2023-11-08 Thread Greg Wooledge
On Wed, Nov 08, 2023 at 05:16:26PM +0100, to...@tuxteam.de wrote:
> On Wed, Nov 08, 2023 at 11:45:30AM -0400, Roy J. Tellason, Sr. wrote:
> > On Tuesday 07 November 2023 11:32:21 am gene heskett wrote:
> > > so locate isn't working as I think it should.
> > > try find but it finds the whole my whole local net:
> > > gene@coyote:~$ find .scad .  |wc -l
> > > find: ‘.scad’: No such file or directory
> > 
> > Try putting a * before the period in that find command?
> 
> No, it is more than that. [...]

> Putting a * in front of it would get expanded *by the
> shell* (not by find), as was discussed elsewhere in this
> thread. Find would see the expanded result, so, if e.g.
> you have foo.scad, bar.scad and baz.scad in your current
> dir, the command actually run would be
> 
>   find foo.scad bar.scad baz.scad

Also note that there are *two* periods in Gene's original find command.
He's asking find to look for stuff, beginning in ".scad" and then also
beginning in ".".

If you changed it to

find *.scad .

then it would ask find to look for stuff beginning in "foo.scad" and
also beginning in "bar.scad" and also beginning in ".".

Changing it to

find '*.scad' .

would ask find to look for stuff beginning in "*.scad" (a literal
asterisk character) and then also beginning in ".".  That's still not
what's wanted.

What's wanted was already posted earlier, but just for redundancy:

find . -iname '*.scad'

is probably the best answer.  You can use -name instead of -iname if
you want the matching to be case sensitive.



Re: locate question

2023-11-08 Thread tomas
On Wed, Nov 08, 2023 at 11:45:30AM -0400, Roy J. Tellason, Sr. wrote:
> On Tuesday 07 November 2023 11:32:21 am gene heskett wrote:
> > so locate isn't working as I think it should.
> > try find but it finds the whole my whole local net:
> > gene@coyote:~$ find .scad .  |wc -l
> > find: ‘.scad’: No such file or directory
> 
> Try putting a * before the period in that find command?

No, it is more than that. The non-option arguments to find
are the starting points. So "find .scad" would look for
something (hopefully a directory, but in a pinch, a file
would do, see below) and find everything in there which
fulfills the search criteria.

Since those are empty, you would get a listing of .scad
and everything below it. If there's no .scad, the result
is empty.

Putting a * in front of it would get expanded *by the
shell* (not by find), as was discussed elsewhere in this
thread. Find would see the expanded result, so, if e.g.
you have foo.scad, bar.scad and baz.scad in your current
dir, the command actually run would be

  find foo.scad bar.scad baz.scad

which would, if those are plain files, just list those
three (something you can get far cheaper with ls).

Cheers
-- 
tomás


signature.asc
Description: PGP signature


Re: locate question

2023-11-08 Thread Roy J. Tellason, Sr.
On Tuesday 07 November 2023 11:32:21 am gene heskett wrote:
> so locate isn't working as I think it should.
> try find but it finds the whole my whole local net:
> gene@coyote:~$ find .scad .  |wc -l
> find: ‘.scad’: No such file or directory

Try putting a * before the period in that find command?

-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin



Re: How do I connect my new wifi router (Mi Router 4C)?

2023-11-08 Thread Martin
On Sun, Nov 05, 2023 at 10:55:12PM +0700, Max Nikulin wrote:
> It should be checked first and
> 
> journalctl -b -u nftables.service
> 
> alongside with searching for any nft messages in "journalctl -b". I
> suggested earlier to read /usr/share/doc/nftables/README.Debian It
> explicitly recommends to enable the service.

I just enabled it (again) now:
root@redmoon:~# systemctl enable nftables.service
Created symlink /etc/systemd/system/sysinit.target.wants/nftables.service → 
/lib/systemd/system/nftables.service.
root@redmoon:~# systemctl status nftables.service
○ nftables.service - nftables
 Loaded: loaded (/lib/systemd/system/nftables.service; enabled; preset: 
enabled)
 Active: inactive (dead)
   Docs: man:nft(8)
 http://wiki.nftables.org
root@redmoon:~# journalctl -b -u nftables.service
-- No entries --

> > 2: enp3s0:  mtu 1500 qdisc fq_codel state 
> > UP group default qlen 1000
> > inet 192.168.231.3/24 brd 192.168.231.255 scope global enp3s0
> 
> I hope, your router allows to view configuration received from the DHCP
> server. Since static addresses were working (and it can be rechecked), I
> guess, gateway is not explicitly configured, so the router tries to send
> packets to 192.168.231.1. Either change the interface IP or configure
> dnsmasq to send 192.168.231.3.

I think WiFi is configured properly (with automatic setup it does have same
settings as I did with manual settings)

Here is output from phone connected to WiFi setup program:
Connectino type: DHCP
 IP address: 192.168.231.243
Subnet mask: 255.255.255.0
Default gateway: 192.168.231.3
DNS: 192.168.231.3

Those are same values I was providing previously when I used manual setup too.

> To debug run wireshark or tcpdump on enp3s0 and wlxe8de27a5ab1c to check
> that packets from the phone are properly received and routed.

Well this is the part where my knowledge is thin as it can be, sadly.
I have read part of manual page for tcpdump, some web page with tutorials
and all I came with is to issue command:
$ sudo tcpdump -s 0 -i any -w  any-0.pcap
$ tcpdump -r any-0.pcap  > any-0.tcpdump

While tcpdump was recording what was going on network I issued those commands
from my phone:
connect to with browser: http://www.google.com
In terminal program that I downloaded on phone I issued those commands
(2 top ping worked third did not)
ping -c1 192.168.0.16
ping -c1 192.168.231.3
ping -c1 google.come
connect to with browser: http://192.168.231.3/test.html

The connection to www.google.com did not worked, but connection to my own
web server did showed test.html page (which I created for this)

I have run this commands 2 times once right after rebooting when my changes to
nftables where not done yet and second time after I added this to nftables:
table ip masqrule {
chain postrouting {
type nat hook postrouting priority srcnat; policy accept;
ip saddr 192.168.231.0/24 oifname "wlxe8de27a5ab1c" masquerade
}
}

and here are the outputs of tcpdump (I did post them to pastebin as they are 
not tiny)
(tcpdump -r any-0-no_masq.pcap  > any-0-no_masq.tcpdump) (pastebinit -i 
any-0-no_masq.tcpdump)
https://paste.debian.net/hidden/be2f7994/
(tcpdump -r any-0.pcap  > any-0.tcpdump) (pastebinit -i any-0.tcpdump)
https://paste.debian.net/hidden/1589ec04/

There are also same outputs with '-n' (to print IP numbers instead of names) 
option too:
(tcpdump -r any-0-no_masq.pcap -n > any-0-no_masq-n.tcpdump) (pastebinit -i 
any-0-no_masq-n.tcpdump)
https://paste.debian.net/hidden/08ecfd39/
(tcpdump -r any-0.pcap -n > any-0-n.tcpdump) (pastebinit -i any-0-n.tcpdump)
https://paste.debian.net/hidden/a55e6f77/

Here is extract from https://paste.debian.net/hidden/a55e6f77/ that I thing is
doing connection to google:

10:47:52.614642 enp3s0 In  IP 192.168.231.243.48257 > 192.168.231.3.53: 29809+ 
A? www.google.com. (32)
10:47:52.614851 wlxe8de27a5ab1c Out IP 192.168.0.16.34673 > 81.24.247.14.53: 
10155+ A? www.google.com. (32)
10:47:52.614902 wlxe8de27a5ab1c Out IP 192.168.0.16.34673 > 81.24.247.44.53: 
10155+ A? www.google.com. (32)
10:47:52.791389 wlxe8de27a5ab1c In  IP 81.24.247.14.53 > 192.168.0.16.34673: 
10155 1/0/0 A 142.251.208.132 (62)
10:47:52.791559 enp3s0 Out IP 192.168.231.3.53 > 192.168.231.243.48257: 29809 
1/0/0 A 142.251.208.132 (62)
10:47:52.794704 enp3s0 In  IP 192.168.231.243.46639 > 142.251.208.132.80: Flags 
[S], seq 4183167263, win 29200, options [mss 1460,sackOK,TS val 19413 ecr 
0,nop,wscale 6], length 0
10:47:52.846385 enp3s0 In  IP 192.168.231.243.46640 > 142.251.208.132.80: Flags 
[S], seq 1626803236, win 29200, options [mss 1460,sackOK,TS val 19418 ecr 
0,nop,wscale 6], length 0
10:47:53.819034 enp3s0 In  IP 192.168.231.243.46639 > 142.251.208.132.80: Flags 
[S], seq 4183167263, win 29200, options [mss 1460,sackOK,TS val 19513 ecr 
0,nop,wscale 6], length 0
10:47:53.843797 enp3s0 In  IP 192.168.231.243.46640 > 142.251.208.132.80: Flags 
[S], seq

AW: Anybody familiar with dd (copy)?

2023-11-08 Thread Schwibinger Michael
dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden

could not open '/dev/sr0': No media found


Good afternoon
Thats the same bug report
with the task I did post at the beginning.
Where do I have to start the task?

Thank You
Regards
Sophie


Von: David Christensen 
Gesendet: Freitag, 3. November 2023 21:56
An: debian-user@lists.debian.org 
Betreff: Re: Anybody familiar with dd (copy)?

On 11/3/23 12:37, Schwibinger Michael wrote:
> Good evening
> I want to copy a problem-DVD to HD with DD.
> Or is there any other software which can do it in an easy way?
>
> I found:
>
> dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct
>
> It does not work.
>
> What do I do wrong?
>
> Regards
> Sophie


Please run the following commands as root and post the complete console
session -- prompts, commands entered, and output displayed:


# cat /etc/debian_version ; uname -a

# df

# dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror,fsync iflag=fullblock
bs=2048 status=progress


David



Re: All the unicorns are dead on Linux

2023-11-08 Thread tomas
On Wed, Nov 08, 2023 at 07:33:20AM -0500, Stefan Monnier wrote:
> > Ah.. that world is called DOS.
> 
> It's usually spelled "DoS", tho.

:-D

Thank you! You just made three unicorns alive. Do you hear
them niighing?

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: locate question

2023-11-08 Thread Jörg-Volker Peetz

If you just want to see files in /home/gene try

  locate -r 'home/gene/.*\.scad'

In that way, regex syntax can be used to narrow down the search.

Regards,
Jörg.



Re: All the unicorns are dead on Linux

2023-11-08 Thread Stefan Monnier
> Ah.. that world is called DOS.

It's usually spelled "DoS", tho.


Stefan



Re: Request to Establish a Debian Mirror Server for Bangladeshi Users

2023-11-08 Thread Jeffrey Walton
On Wed, Nov 8, 2023 at 4:51 AM Md Shehab  wrote:
>
> I hope this email finds you well. I am writing to propose the establishment 
> of a Debian mirror server in Bangladesh
>
> I am confident that a Debian mirror server in Bangladesh would be a valuable 
> resource for the local tech community
>
> I would like to request your support for this proposal. I am open to any 
> suggestions or feedback you may have.

See  and
. The pages provide the
instructions for you to host a mirror, how to get added to the list of
mirrors, the mailing list for mirror operators, etc.

Jeff



Re: How to use dmsetuup?

2023-11-08 Thread gene heskett

On 11/8/23 00:34, to...@tuxteam.de wrote:

On Tue, Nov 07, 2023 at 07:19:40PM -0500, gene heskett wrote:

[...]


What do I do if a gpt partition table has already been made and an ext4
system is already installed? IOW just how "bare" a disk is needed? Is
writing a null gpt sufficient?


Hm. I may have missed something, but I've got the impression we are a
second round through this: you just slap the LVM infrastructure over
current data, it will overwrite what it needs to and mark the rest as
free space. It just replaces what was before on disk.


Sounds good.
However I may go a different route. I have a not installed 2T WD-Black 
SN770 NVMe SSD, format 2280. This Asus prime z370-A II modo has two M2 
sockets which the docs say both can use a 2280, but they operate 
differently w/o really explaining the difference. The one in the middle 
of the board, the A socket 2_2 looks like I have to pull the CPU and its 
radiator to be able to really get to it, and actually only shows how to 
install in the lower 2_1 socket which also has a heat sinking cover that 
must be removed & reinstalled. Is this then the preferred location, or 
is there an advantage to the other socket nearer the CPU?.



It /might/ warn you that you're about overwriting potentially valuable
data, I don't remember.


But before I do yet another reinstall, 24th or so. two of the sata 2t's 
are installed, and I'm tempted to rsych the raid to one of them to see 
if reassigning /home to a copy of /home does away with this horrible lag 
I'm wanting to blame on the raid10.


Unless, of course, the data is sensitive: in that case you want to zero
(or better: random) it.

Cheers


Thank you.

They are empty except for the ext4 install and if pvcreate just slams 
the new format regardless, I'll rsync the 2T /home back to the raid10, 
and unplug that controller before I put the install dvd in. I also have 
another sata controller, this one with all 16 ports installed.


And I just looked at tht pair, and acc gparted they have both been 
pvcreated, so I'll leave then alone and steal the dvd cable, puttin a 
new 2T drive if I can rig power to it.
This mobo also claims to be able to do the intel version of a raid on 
its own sata ports.  Does anyone here have experience doing that?


Thanks Tomas
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Request to Establish a Debian Mirror Server for Bangladeshi Users

2023-11-08 Thread Byung-Hee HWANG
On Wed, Nov 08, 2023 at 10:10:51AM +0600, Md Shehab wrote:
> Dear Debian Community,
> 
> I hope this email finds you well. I am writing to propose the establishment
> of a Debian mirror server in Bangladesh
> I am confident that a Debian mirror server in Bangladesh would be a
> valuable resource for the local tech community
> 
> I would like to request your support for this proposal. I am open to any
> suggestions or feedback you may have.
> 
> Thank you for your time and consideration.
> 
> Sincerely,
> 
> Shehab Uddin

There is LUG in Bangladesh? Nice to meet you Shehab!

Sincrely, Byung-Hee from South Korea



Help ! No syslog anymore

2023-11-08 Thread Bhasker C V
Hi,

 I moved my syslog to a different location  '/tmp/server.log'
This was working all fine until I moved to selinux in enforcing mode.

I have the file context as system_u:object_r:syslogd_runtime_t:s0
now, the file is empty
Strangely ...
lsof shows rsyslog is using this file

rsyslogd 25561 root4r   CHR1,9  0t0 18
/dev/urandom
rsyslogd 25561 root5r   REG   0,440 4026532059
/proc/kmsg
rsyslogd 25561 root6u  unix 0xc5984619  0t0 136109
type=DGRAM (CONNECTED)
rsyslogd 25561 root7w   REG   0,35 8952   4873
/tmp/server.log
rsyslogd 25561 root8w   REG   0,35 8952   4873
/tmp/server.log
rsyslogd 25561 root9w   REG   0,35 8952   4873
/tmp/server.log

But, the file says it is not being used by rsyslog

 $ sudo lsof /tmp/server.log
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
tail24848  bcv3r   REG   0,35   39   37 /tmp/server.log

There are also no messages in the kernel which I can use to audit any
access/deny issues for selinux.
I have tried putting selinux in permissive state and that too did not help
Please could someone help ? Or if there is a procedure to move syslog file
/var/log/syslog to a different location, I am happy to follow ...