Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-18 Thread Greg Wooledge
On Fri, Jul 18, 2025 at 18:59:06 -0700, Michael Paoli wrote: > echo $(( $(echo 07:08:09 | sed -e 's/^0*\([0-9]\)/3600 * \1 + > /;s/:0*\([0-9]:\)/60 * \1/;s/:0*\([0-9]\)$/ + \1/;') )) This one is missing some * operators. You're only capturing a single digit in each segment, but there could be two

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-18 Thread Greg Wooledge
On Fri, Jul 18, 2025 at 13:16:17 -0700, Michael Paoli wrote: > E.g.: > printf 01:02:03 | (IFS=: read h m s; printf '%s\n' $(( $((h * 3600)) + > $((m * 60)) + $s ))) You still need to strip leading zeroes. hobbit:~$ echo 01:08:09 | (IFS=: read h m s; printf '%s\n' $(( $((h * 3600)) + > $((m * 60))

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-18 Thread Greg Wooledge
On Fri, Jul 18, 2025 at 12:34:36 +0200, Michael wrote: > On Friday, July 18, 2025 12:52:03 AM CEST, Greg Wooledge wrote: > > As far as the code goes, I'd rather start from scratch. > > just out of curiosity: > > i don't like fix global return values (like $r in yo

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-17 Thread Greg Wooledge
On Fri, Jul 18, 2025 at 00:31:17 +0100, Alain D D Williams wrote: > On Fri, Jul 18, 2025 at 01:21:08AM +0200, lbrt...@tutamail.com wrote: > > OK, the Math is right, but the assumptions made by date aren't smart. I > > "overtested" your one liner with the kinds of input you would grab using jq > >

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-17 Thread Greg Wooledge
On Thu, Jul 17, 2025 at 23:39:02 +0200, lbrt...@tutamail.com wrote: > Video durations are formatted in youtube's .info.json files as "HH:MM:SS"; OK. > _HHMMSS="19:09" > _HHMMSS="19:08" > IFS=$(echo -en "\n\b"); _SEKNDS_AR=($(echo "${_HHMMSS}" | tr ':' '\n')); > _SEKNDS_ARL=${#_SEKNDS_AR[@]} You

Re: Where did my character selection tool go?

2025-07-13 Thread Greg Wooledge
On Sat, Jul 12, 2025 at 23:47:15 -0500, David Wright wrote: > You can write your own sequences, so that they are meaningful to you. > For example: > : "𝄫" U1d12b # MUSICAL SYMBOL > DOUBLE FLAT > : "𝄪" U1d12a # MUSICAL SYMBOL > DOUBLE SHARP >

Re: Where did my character selection tool go?

2025-07-11 Thread Greg Wooledge
On Sat, Jul 12, 2025 at 09:51:19 +0700, Max Nikulin wrote: > On 12/07/2025 05:24, Greg Wooledge wrote: > > 1) Configure a Compose key, then pressto make ° > > > > 2) Do a web search for something like "UTF-8 degree symbol" > > grep -i degree /usr

Re: Where did my character selection tool go?

2025-07-11 Thread Greg Wooledge
On Fri, Jul 11, 2025 at 20:44:13 +0100, Chris Green wrote: > I only noticed because I just needed a 'degrees' symbol. I've used > the character map accessory for years and would really miss it if I > can't get it back. I can't help you with your Desktop Environment accessories, but here are a cou

Re: a bug on moving files with "Files" in Gnome environment

2025-07-11 Thread Greg Wooledge
On Fri, Jul 11, 2025 at 13:39:44 +0100, mick.crane wrote: > When moving files on the same disk impression is, at least with dragging in > the desktop file manager, it seems instant. Whereas to another disk seems to > make new files. I guess that when on the same disk the OS changes only > something

Re: Anyone newly interested in Debian - you're welcome here

2025-07-10 Thread Greg Wooledge
On Thu, Jul 10, 2025 at 19:34:58 +, Andy Smith wrote: > once alternatives are provided and > decently supported, people actively choose not to use email. *Some* people may choose that. The rest of us will stay here.

Re: Bugs?

2025-07-10 Thread Greg Wooledge
On Thu, Jul 10, 2025 at 07:13:48 -0400, Lee Winter wrote: > [A1] is that netinstall left /etc/sudoers missing and /etc/sudoers.d/README > empty -- there are no users at all. But that README file contains a strong > recommendation for using visudo, which no longer exists. > > [A2] is that visudo is

Re: Linux machine hit by ransomware

2025-07-10 Thread Greg Wooledge
On Wed, Jul 09, 2025 at 23:23:29 -0700, David Christensen wrote: > On 7/9/25 22:14, Rick Macdonald wrote: > > In 30 years I've never seen an isolated network. May I ask how this > > might be done? > > Assuming an Internet gateway with 4 LAN ports and Wi-Fi, and a server with 1 > LAN port, turn off

Re: Where does pure-ftpd store files when anonymous logs in?

2025-07-09 Thread Greg Wooledge
On Wed, Jul 09, 2025 at 23:08:05 +0200, hw wrote: > where does pure-ftpd store files when anonymous logs in? > > Even its man page is missing in Debian. According to packages.debian.org, the package "pure-ftpd" depends on the package "pure-ftpd-common", and the latter has all the man pages:

Re: A more minimal task-*-desktop

2025-07-03 Thread Greg Wooledge
On Thu, Jul 03, 2025 at 18:15:42 +0200, Federico Kircheis wrote: > Oh; i was not aware of that, is it specific for apt? > man apt does not seem to mention it. > I'll try it out. Mine says: install, reinstall, remove, purge (apt-get(8)) Performs the requested action on one or mor

Re: more problems with su and sudo

2025-07-01 Thread Greg Wooledge
On Mon, Jun 30, 2025 at 21:36:14 -0700, David Christensen wrote: > The next time you log in, sudo(8) should work: > > $ sudo pia-linux-3.6.1-08339.run Even if sudo works, that command won't. It would need to be something like: sudo chmod +x pia-linux-3.6.1-08339.run sudo ./pia-linux-3.6

Re: tput help

2025-06-28 Thread Greg Wooledge
On Sat, Jun 28, 2025 at 18:28:31 -0400, Eben King wrote: > A while back I wrote a script to take the output of dd and make a graph of > the transfer rate. It worked, but since it scrolls up I wasn't happy with > it. > > In a bash script, I'm trying to use tput commands to delete column 1 (tput >

Re: Please, don't reply to spam -- much less on list [was: ግěcůžላኣዝዩ]

2025-06-27 Thread Greg Wooledge
On Fri, Jun 27, 2025 at 13:46:40 -, Greg wrote: > On 2025-06-27, Greg Wooledge wrote: > > > > To be clear, what we're talking about here is what mutt does when you > > press the "b" key. It queues up a message for delivery, where the > > Bounce can

Re: Please, don't reply to spam -- much less on list [was: ግěcůžላኣዝዩ]

2025-06-26 Thread Greg Wooledge
On Fri, Jun 27, 2025 at 10:58:54 +0900, John Crawley wrote: > The Debian Wiki has these suggestions for how to deal with spam: > https://wiki.debian.org/Teams/ListMaster/ListArchiveSpam#nominate The fourth option there says: * Use your mail client's bounce/resend/redirect functionality to send

Re: SystemD ProtectSystem=full still can write File in /etc outside of WorkingDir or WritePath

2025-06-25 Thread Greg Wooledge
On Wed, Jun 25, 2025 at 11:33:02 +0200, Philipp Ewald wrote: > is it normal that a Service started with systemd still can write files > ouitside it working dir? Depends on the settings in the unit file. Write restrictions are not the default, but there are settings you can use which will cause w

Re: Please, don't reply to spam -- much less on list [was: ግěcůžላኣዝዩ]

2025-06-24 Thread Greg Wooledge
On Tue, Jun 24, 2025 at 16:33:38 -0700, Dan Hitt wrote: > On Tue, Jun 24, 2025 at 3:09 AM wrote: > > if you want to do everyone a favour, you bounce the original message > > to to help the list spam team train > > their filters (I did). > This like sounds like good and important advice, but how

Re: Trixie xorg crash (was: Trixie hangs during boot after upgrade)

2025-06-23 Thread Greg Wooledge
On Mon, Jun 23, 2025 at 23:59:11 +0200, Rainer Dorsch wrote: > It seems that symlinks have been missing: > > root@h370:/usr/lib/x86_64-linux-gnu# ln -s libGL.so libGL.so.1 > root@h370:/usr/lib/x86_64-linux-gnu# ln -s libEGL.so libEGL.so.1 > root@h370:/usr/lib/x86_64-linux-gnu# > > cures the i

Re: unixodbc-bin is not available - what to do?

2025-06-21 Thread Greg Wooledge
On Sat, Jun 21, 2025 at 15:37:38 +0100, Chris Green wrote: > I'm trying to install the libraries and drivers required to use a > sqlite3 database with libreoffice writer. However when I try to > install the required packages I get an error:- > > root@t470# apt install unixodbc-dev unixodbc-bin

Re: old entries in sources.list?

2025-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2025 at 22:15:21 +0200, 🦓 wrote: > Gisteren schreef li...@nodatagrabbing.com: > > I can't tell you if it is the "best" way to do things, but I have always > > just deleted the entries associated with the previous release when I > > upgraded distros. I never have noticed any disadvan

Re: [SOLVED] Re: old entries in sources.list?

2025-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2025 at 18:20:37 +0100, Tim Woodall wrote: > On Fri, 20 Jun 2025, The Wanderer wrote: > > > Personally, what I do in response to such a prompt is to have it show me > > a diff of the two files, and then if the changes involve losing any > > settings want to retain, I have it give m

Re: [SOLVED] Re: old entries in sources.list?

2025-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2025 at 12:12:09 -0400, Jeffrey Walton wrote: > Unfortunately, I cannot find a Debian specific article on > configuration directories. However, Red Hat has "Linux configuration: > Understanding *.d directories in /etc," >

Re: [SOLVED] Re: old entries in sources.list?

2025-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2025 at 11:40:59 -0400, Jeffrey Walton wrote: > On Fri, Jun 20, 2025 at 11:30 AM wrote: > > > > On Fri, Jun 20, 2025 at 11:06:51AM -0400, Jeffrey Walton wrote: > > > On Fri, Jun 20, 2025 at 10:37 AM Greg Wooledge wrote: > > > > > >

Re: [SOLVED] Re: old entries in sources.list?

2025-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2025 at 10:15:47 -0400, Jeffrey Walton wrote: > SSH config files are located in /etc, too. But admins are expected to > make changes to /etc/ssh/sshd_config.d/, and not /etc/ssh/sshd_config. That's definitely false.

Re: old entries in sources.list?

2025-06-19 Thread Greg Wooledge
On Thu, Jun 19, 2025 at 16:57:11 +0200, Hans wrote: > Which of one I should not do? The advice is only to include sources for the current stable release, and not for any older releases. > I fear, that when deleting any entries of the previous release, it might want > to deinstall packages ("app

Re: Run script after package install, update

2025-06-15 Thread Greg Wooledge
On Sun, Jun 15, 2025 at 12:14:30 -0500, David Wright wrote: > Well, I just plagiarised /etc/apt/apt.conf.d/99needrestart: > > $ cat /etc/apt/apt.conf.d/99redogrub > DPkg::Post-Invoke {"test -x /var/local/bin/redo && /var/local/bin/redo || > true"; }; > $ > > and wrote /var/local/bin/redo

Re: Run script after package install, update?

2025-06-15 Thread Greg Wooledge
On Sun, Jun 15, 2025 at 11:07:41 -0400, Boyan Penkov wrote: > So ultimately, my problem is addressed; however, the larger question > is still open: is there in fact a straightforward way for a user, not > the package maintainer, to tell the package management system: "If and > only if your operatio

Re: tbird problem

2025-06-06 Thread Greg Wooledge
On Fri, Jun 06, 2025 at 20:34:29 -0400, gene heskett wrote: > What is fastfetch? I haven't the executable or the manpage for it Open a web browser. Make sure focus is on the URL bar. Type "manpages.debian.org/" and then put the name of a man page you think might exist. For example, you could ty

Re: does debian-12.11.0 support adding i386 architecture

2025-06-06 Thread Greg Wooledge
On Fri, Jun 06, 2025 at 07:23:57 +0200, Mgr. Janusz Chmiel wrote: > Dear developers and users, > Please, is it still possible to add The I386 architecture by typing as Root > dpkg --add-architecture I386 > while working with debian-12.11.0? The architecture's name is "i386" with a lowercase "i".

Re: tbird problem

2025-06-04 Thread Greg Wooledge
On Wed, Jun 04, 2025 at 11:49:21 -0400, Stefan Monnier wrote: > > I'm using tbird 139, and it has grown vertically to expect the full screen > > of 1040 lines, meaning the bottom 2 tect lines that tbird uses for advirory > > msgs of attachment showing, are covered by the pager list and other such >

Re: tbird problem

2025-06-03 Thread Greg Wooledge
On Tue, Jun 03, 2025 at 22:05:33 +0100, Darac Marjal wrote: > On 03/06/2025 21:27, gene heskett wrote: > > I'm using tbird 139, and it has grown vertically to expect the full > > screen of 1040 lines, meaning the bottom 2 tect lines that tbird uses > > for advirory msgs of attachment showing, are c

Re: apt: WTH is a "second pre-image resistance"?

2025-06-02 Thread Greg Wooledge
On Mon, Jun 02, 2025 at 13:49:05 +0200, Harald Dunkel wrote: > Hi folks, > > trying Trixie "apt update" shows a warning about my local repo > (managed by reprepro on Bookworm) I don't know how to handle: > > Warning: http://debian.example.com/debian/dists/trixie-backports/InRelease: > Policy wil

Re: parallel gnu and parallel from moreutils

2025-06-01 Thread Greg Wooledge
On Sun, Jun 01, 2025 at 19:43:39 +0200, Federico Kircheis wrote: > moreutils should also provide /usr/bin/parallel.moreutils, even if gnu > parallel is not installed(!) > > gnu parallel should also provide /usr/bin/parallel.gnu I agree with you. However, in order to make anything happen, you nee

Re: Disable upgrades on grub

2025-05-29 Thread Greg Wooledge
On Thu, May 29, 2025 at 18:38:31 +, fxkl4...@protonmail.com wrote: > On Thu, 29 May 2025, Greg Wooledge wrote: > > > On Thu, May 29, 2025 at 17:54:00 +, xuser wrote: > >> How to configure apt to not install upgrades for grub? > > > > echo "PKGN

Re: Disable upgrades on grub

2025-05-29 Thread Greg Wooledge
On Thu, May 29, 2025 at 17:54:00 +, xuser wrote: > How to configure apt to not install upgrades for grub? echo "PKGNAME hold" | sudo dpkg --set-selections Do that for each package you want to put on hold.

Re: How to set umask for apache2

2025-05-28 Thread Greg Wooledge
On Wed, May 28, 2025 at 15:34:39 +0100, Chris Green wrote: > ... and I have set UMask in the systemd apache2.service:- > > chris$ more /etc/systemd/system/apache2.service.d/override.conf > [service] > UMask=0002 Shouldn't that square-bracket header be capitalized? [Service] instead o

Re: nmcli connection edit introduces duplicate connection

2025-05-27 Thread Greg Wooledge
On Tue, May 27, 2025 at 19:06:22 -0700, accipiter wrote: > At first it didn't seem to do any good, mis-replicating the eth0 connection > when I killed that particular eth0 using its UUID. But then I tried killing > *both* eth0 connections, then trying to re-edit / create the eth0 connection > - an

Re: nmcli connection edit introduces duplicate connection

2025-05-27 Thread Greg Wooledge
On Mon, May 26, 2025 at 20:46:37 -0700, accipiter wrote: > On 5/26/25 6:20 PM, Charles Curley wrote: > > On Mon, 26 May 2025 12:20:22 -0700 > > accipiter wrote: > > > > > it showed not 1 but 2 entries for eth0 - though with different UUIDs. > > > > If you are using Network Manager, you should no

Re: Restoring fvwm key bindings

2025-05-23 Thread Greg Wooledge
On Fri, May 23, 2025 at 15:02:56 +0200, Detlef Vollmann wrote: > And I have to correct myself: it's not starting firefox that causes > the loss of the key bindings, but a specific web site. > It's my internet banking site, and it only happens after I login, > so I can't give you a a test page. > >

Re: Restoring fvwm key bindings

2025-05-23 Thread Greg Wooledge
On Fri, May 23, 2025 at 13:33:58 +0200, Detlef Vollmann wrote: > Key LeftA SM Scroll -100 +0 > Key Right A SM Scroll +100 +0 > Key Up A SM Scroll +0 -100 > Key DownA SM Scroll +0 +100 I don't know about these *specific* key combina

Re: Arch Wiki (was Re: "Tips"?)

2025-05-21 Thread Greg Wooledge
On Wed, May 21, 2025 at 11:47:04 -0400, Stefan Monnier wrote: > Greg Wooledge [2025-05-20 16:49:28] wrote: > > On Tue, May 20, 2025 at 16:38:16 -0400, Stefan Monnier wrote: > >> In contrast my proposition means that when a new release happens we just > >> get a new set

Re: Arch Wiki (was Re: "Tips"?)

2025-05-20 Thread Greg Wooledge
On Tue, May 20, 2025 at 16:38:16 -0400, Stefan Monnier wrote: > In contrast my proposition means that when a new release happens we just > get a new set of pages, which start empty (this part can be done fully > automatically) and can be filled progressively, which should be much > more amenable to

Re: is there a bug in cp command ?

2025-05-20 Thread Greg Wooledge
On Tue, May 20, 2025 at 19:21:50 +0200, uw...@online.de wrote: > I solved the Problem for me by copy the File /usr/bin/cp from Debian 11 to > /usr/bin/cp2 on Debian 12 > > Now i can run "cp2 -ax / /mnt" and it works like expected. > > "cp -ax / /mnt" with original debian 12 cp brings error on thi

Re: Arch Wiki (was Re: "Tips"?)

2025-05-20 Thread Greg Wooledge
On Tue, May 20, 2025 at 11:04:58 -0400, Stefan Monnier wrote: > > FWIW I didn't find "keep it up to date" useful feedback. > > Here's my view: replace each current page with a list of "per Debian > version" pages. So, when someone edits a page, they don't edit the > "DebianBootstrap" page, but th

Re: Arch Wiki (was Re: "Tips"?)

2025-05-20 Thread Greg Wooledge
On Tue, May 20, 2025 at 14:21:32 -, Greg wrote: > On 2025-05-20, Greg Wooledge wrote: > > On Tue, May 20, 2025 at 09:41:21 -0400, Lee wrote: > >> Yes, keeping the wikis up to date for the current release would be > >> nice. But there isn't staff dedicat

Re: Arch Wiki (was Re: "Tips"?)

2025-05-20 Thread Greg Wooledge
On Tue, May 20, 2025 at 09:41:21 -0400, Lee wrote: > Yes, keeping the wikis up to date for the current release would be > nice. But there isn't staff dedicated to keeping everything current, > so how about having a "last updated" or "last reviewed" date on each > page so people would have an idea

Re: Checking for a mount in a shell script (Was: Re: Preparing for Debian 13)

2025-05-18 Thread Greg Wooledge
On Sun, May 18, 2025 at 19:51:04 -0400, Lee wrote: > On Sun, May 18, 2025 at 4:51 PM Andy Smith wrote: > > > > Hi, > > > > On Sun, May 18, 2025 at 12:47:25PM -0400, Default User wrote: > > > Since I know almost no shell scripting, the rsync usb drive A > > > to usb drive B copy is done with a simpl

Re: What file does Linux use to...

2025-05-18 Thread Greg Wooledge
On Sun, May 18, 2025 at 10:35:37 -0500, Nicholas Geovanis wrote: > If you mean "what file contains the IP address and hostname of my own > server?": It depends whether you use NetworkManager to configure networking > or the older style. > > In the older style the config file goes in /etc/sysconfig

Re: ssh, where do the host come from

2025-05-18 Thread Greg Wooledge
On Sat, May 17, 2025 at 23:09:18 -0500, David Wright wrote: > It may be installed, but I've always had to use: > > [ -f /etc/bash_completion ] && . /etc/bash_completion # Use bash-completion > if available > > in order for it to work: > > $ grep -A8 'bash completion' /etc/bash.bashrc > #

Re: ssh, where do the host come from

2025-05-17 Thread Greg Wooledge
On Sat, May 17, 2025 at 16:37:07 +0300, Henrik Ahlgren wrote: > and it is quite rare to SSH into localhost. It's not something I do on a daily basis, but I've done it several times, because it's an excellent way to test various things, such as changes to your dot files, sshd configuration, PAM con

Re: ssh, where do the host come from

2025-05-16 Thread Greg Wooledge
On Fri, May 16, 2025 at 16:39:15 +0100, Chris Green wrote: > fxkl4...@protonmail.com wrote: > > when i type ssh and two tabs i get a list of host > > numeric and names > > where do they come from > > Assuming you are using bash (or another shell that does TAB > completion) I think it's probably ju

Re: Re (2): Shell function.

2025-05-16 Thread Greg Wooledge
On Fri, May 16, 2025 at 08:05:50 -0700, pe...@easthope.ca wrote: > Currently have this. > ev () { /usr/bin/evince "$@" & } > > DISPLAY is set in .bashrc now. Not needed in trivial functions. Why are you setting the DISPLAY variable? That sounds like a really bad idea. Or, at best, it's only vi

Re: Problem with VLC H 264 after having installed ISPY package [SOLVED]

2025-05-13 Thread Greg Wooledge
On Tue, May 13, 2025 at 09:38:39 +, Andrew M.A. Cater wrote: > On Tue, May 13, 2025 at 11:32:20AM +0200, Bernard wrote: > > Hi to Everyone, > > > > This being done, I first thought that I could possibly succeed in just > > upgrading my Buster system to its last update, which I did, successfull

Re: Internet connection in rescue mode

2025-05-02 Thread Greg Wooledge
On Fri, May 02, 2025 at 15:31:18 +0200, Nicolas George wrote: > rhkra...@gmail.com (HE12025-05-02): > > What lesson is that? > > Never run a script with any privileges unless you know exactly what it > does. Or more generally: "Third-party package repositories are often not as high-quality as Deb

Re: gnome-shell: can't change PATH at gnome-shell level

2025-05-02 Thread Greg Wooledge
On Fri, May 02, 2025 at 12:19:52 +0700, Max Nikulin wrote: > I suggest to inspect PATH for each parent process PID in the tree reported > by > > ps xwf > > e.g. with proper PID number (single line) > > while IFS='' read -r -d ''; do if [[ "$REPLY" = PATH* ]]; then echo > "$REPLY"; break;

Re: sending short emails

2025-04-30 Thread Greg Wooledge
On Wed, Apr 30, 2025 at 15:21:26 -0400, Eben King wrote: > I guess I don't currently have an MTA. > > eben@cerberus:~$ type sendmail > bash: type: sendmail: not found > 1 The sendmail program (or symlink) lives in /usr/sbin which is probably not in your PATH as user eben. (There's also a histori

Re: Starting Debian 12 in run level 3

2025-04-29 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 13:06:44 -0700, Van Snyder wrote: > IIRC, it was the same in Unix Version 7, which Kernighan — or was it > Johnson or Richie? — said was an improvement on all of its successors. > And in BSD and SunOS and Solaris.

Re: Starting Debian 12 in run level 3

2025-04-29 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 13:30:18 -0500, David Wright wrote: > Is the break in communication between Grub and the kernel, or > the kernel and systemd? I'm not best qualified to answer that, > because my graphical.target.wants includes solely udisks2.service, > and I suspect that I don't even depend

Re: Starting Debian 12 in run level 3

2025-04-29 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 10:12:10 -0700, Van Snyder wrote: > On Tue, 2025-04-29 at 08:03 -0400, Greg Wooledge wrote: > > Your run levels are incorrect.  "3" included the graphical Display > > Manager and "2" did not. > > Level 0 is shutdown > Level 1 is

Re: Starting Debian 12 in run level 3

2025-04-29 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 14:21:46 +0200, Roger Price wrote: > On Tue, 29 Apr 2025, Greg Wooledge wrote: > > On Tue, Apr 29, 2025 at 13:58:31 +0200, Roger Price wrote: > > > What is the correct way of booting Debian 12 without a graphical > > > interface? > > >

Re: Starting Debian 12 in run level 3

2025-04-29 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 13:58:31 +0200, Roger Price wrote: > I would like to start a small server in what used to be known as run level 3, > i.e. with no graphical interface. I tried setting GRUB_CMDLINE_LINUX="3" in > /etc/default/grub and running update-grub, but this had no effect. > > What

Re: Missing shared library symbols… that don't seem to be missing

2025-04-28 Thread Greg Wooledge
On Tue, Apr 29, 2025 at 00:44:59 +, Andy Smith wrote: > $ cc -Wall -lxenstat -o foo foo.c > foo.c:(.text+0x18): undefined reference to `xenstat_init' > collect2: error: ld returned 1 exit status The library option (-lxenstat) has to appear *after* any objects that use it. cc -Wall -o foo foo.

Re: Different Debian for different users

2025-04-25 Thread Greg Wooledge
On Fri, Apr 25, 2025 at 21:51:47 -0400, Stefan Monnier wrote: > Is there some way to setup a machine such that one user can login into it > and see a Debian stable system, while another user can log into it (in > another vty) and get, say, a Debian sid system? > > I don't really want different VMs

Re: Network mounts in /etc/fstab causing service ordering cycle

2025-04-25 Thread Greg Wooledge
On Fri, Apr 25, 2025 at 17:58:20 +, tuxi...@posteo.de wrote: > I have added a few lines to /ets/fstab like this: > > //u271407.your-storagebox.de/backup /mnt/hetzner cifs > iocharset=utf8,rw,user=u271407,pass=**,uid=1000,gid=1000,cache=loose 0 3 You're missing the _netdev flag in your op

Re: apt update vs. KDE Discover?

2025-04-25 Thread Greg Wooledge
On Fri, Apr 25, 2025 at 11:33:54 -0400, Lee wrote: > > Also, you should quote "$tempf". > > > > [ -s "$tempf" ] && notify-send ... > > is there any way that > $(mktemp -q --tmpdir=/tmp -t updX) > would return a 0 status and a filename with embedded spaces .. or with > anything that would req

Re: apt update vs. KDE Discover?

2025-04-25 Thread Greg Wooledge
Just a few notes: On Fri, Apr 25, 2025 at 10:39:58 -0400, Lee wrote: > #!/bin/bash > # see if there are any Debian updates and pop-up a notice if there are > > # needs an /etc/sudoers.d/adm-apt-privs that has > # Cmnd_AliasADM_COMMANDS = /usr/bin/apt update > # %adm ALL = (root)

Re: Configure a "widows" key on a 102-key keyboard

2025-04-24 Thread Greg Wooledge
On Thu, Apr 24, 2025 at 08:57:16 -0300, Eduardo M KALINOWSKI wrote: > xev told me that the "Windows" key on my keyboard (which opens the KDE menu) > is "Super_L". "Menu" probably is another key that is meant to open the > context menu (same as right clicking generally). On my system (which has an

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Greg Wooledge
On Mon, Apr 21, 2025 at 08:04:44 +0200, to...@tuxteam.de wrote: > If you like to disappear in rabbit holes, this [3] one is nice. If > not, still the pic at the beginning still shows impressively an > exponential runaway for Perl's re engine compared to Tcl's which > uses a Thompson algorithm. Note

Re: https://wiki.debian.org/DotFiles

2025-04-19 Thread Greg Wooledge
On Sun, Apr 20, 2025 at 10:32:37 +0700, Max Nikulin wrote: > P.S. DotFiles does not mention that PATH may be set through /etc/login.defs. I don't think this is true; it changed in Debian 10 when the shadow-utils suite was dropped in favor of util-linux. hobbit:~$ man login.defs [...] BUGS

Re: https://wiki.debian.org/DotFiles

2025-04-19 Thread Greg Wooledge
On Sat, Apr 19, 2025 at 18:34:07 +0100, Jonathan Dowland wrote: > Aside, with my "concerned about content licensing hat on"; and I note the > paragraph on your wiki's front page. You are the principal but not sole > author of the page on your site, I see; do you have a view on what license > you co

Re: https://wiki.debian.org/DotFiles

2025-04-19 Thread Greg Wooledge
On Sat, Apr 19, 2025 at 08:12:02 -0700, pe...@easthope.ca wrote: > In https://wiki.debian.org/DotFiles the sixth paragraph states, "You > should therefore always have command source ~/.bashrc at the end of > your .bash_profile in order to force it to be read by a login shell." Just FYI, that pag

Re: Reverting back to the previous Chromium version

2025-04-12 Thread Greg Wooledge
On Sat, Apr 12, 2025 at 10:31:26 +0200, local10 wrote: > Apr 12, 2025, 05:44 by cbr...@t-online.de: > > > You could grab the .deb files from snapshot.debian.org > > Thanks, I found Cromium files I needed there and copied them to > "/var/cache/apt/archives/". I know I can install them with dpkg b

Re: Printing Problem with CUPS

2025-04-11 Thread Greg Wooledge
On Fri, Apr 11, 2025 at 14:41:04 +0200, Hans wrote: > Without any checks, my first thing would be, to check in both computers if > any > of the executables related to cups might have different rights settings. > > Especially the executable, which creates the file in /tmp. A file which is > crea

Re: Printing Problem with CUPS

2025-04-11 Thread Greg Wooledge
On Fri, Apr 11, 2025 at 14:16:17 +0200, Christoph Pleger wrote: > I have edited the source code of cups a little to get a some more > more detailed information about the problem (the actual code > only gives a meaningless message “The print file cannot be opened: > Permission denied") and then foun

Re: Admin Root user [not set to default]

2025-04-10 Thread Greg Wooledge
On Wed, Apr 09, 2025 at 13:44:14 +0100, James Freer wrote: > b] 'Sudo' - i thought came in with ubuntu (and some other > derivatives). Many distros use 'su -' for admin rights and i thought > Debian was one of those. Sudo i thought was introduced as a level of > safety for newbie users so they coul

Re: Fw: Re: Can you help me run Box64 on my Raspberry Pi 5?

2025-04-09 Thread Greg Wooledge
On Wed, Apr 09, 2025 at 19:15:31 +, Matt Timpson wrote: > I'd also like to know what "numpy" is and what is does. apt-cache show python3-numpy or do a Google/Duckduckgo/Bing search for it.

Re: Admin Root user [not set to default]

2025-04-09 Thread Greg Wooledge
On Wed, Apr 09, 2025 at 09:34:08 -0400, Jeffrey Walton wrote: > Disabling root logins by default is especially important when a > network attacker can use the login, like via SSH. The network attacker > is usually your #1 threat, There may be systems where this is true; for example, a public web s

Re: Admin Root user [not set to default]

2025-04-09 Thread Greg Wooledge
On Wed, Apr 09, 2025 at 10:50:54 +0100, James Freer wrote: > I've just done my install of Debian 12 Live XFCE version. I really don't understand why so many people do this. Why would you install using a "Live" medium instead of the real installer? Anyway, the Live version doesn't set a root pass

Re: Package kde-config-mobile-networking - what does it do?

2025-04-05 Thread Greg Wooledge
On Tue, Apr 01, 2025 at 19:54:19 -0400, Timothy M Butterworth wrote: > Try running `sudo apt info kde-config-mobile-networking` and see what the > info says. You don't even need sudo for that.

Re: DHCP and static addresses, nothing to do with Re:Who:Bookwormv.Trixie

2025-04-04 Thread Greg Wooledge
On Fri, Apr 04, 2025 at 10:46:35 -0500, John Hasler wrote: > Gene writes: > > Which is to fix the reason for a 30 second all system freeze of the > > system when trying to access a file I own, or want to create, in my > > /home/me directory. > > This happens only in that directory and only when yo

Re: DHCP and static addresses, nothing to do with Re: Who:Bookwormv.Trixie

2025-04-03 Thread Greg Wooledge
On Thu, Apr 03, 2025 at 22:15:57 -0400, Jeffrey Walton wrote: > Yeah, I'm going to lookup what Stevens has to say about the hosts file > in TCP/IP Illustrated. I need to figure out where the confusion lies. Here's what the Debian manual has to say about it:

Re: DHCP and static addresses, nothing to do with Re: Who:Bookwormv.Trixie

2025-04-03 Thread Greg Wooledge
On Thu, Apr 03, 2025 at 12:59:19 -0400, Jeffrey Walton wrote: > I think the idea is, software can always use 127.0.1.1 to find the > host's fully qualified domain name, No. Absolutely not. You have it exactly backwards. The purpose of putting the "127.0.1.1 my_hostname" line in /etc/hosts by de

Re: DHCP and static addresses, nothing to do with Re: Who:Bookwormv.Trixie

2025-04-03 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 22:28:24 -0500, David Wright wrote: > 127.0.1.1 coyote.coyote.den coyote > [...] > I don't see the point in leaving it there. If you want to send > something to coyote.coyote.den, why do you want the LAN address > when 127.0.1.1 is just as good. If the line is correct, it do

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-02 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > But installing libdigest-sha-perl does not provide Digest::SHA256: They are different modules. https://metacpan.org/pod/Digest::SHA256 https://metacpan.org/pod/Digest::SHA Digest::SHA256 appears to be much, much older and probabl

Re: Web server access

2025-04-02 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 12:03:32 -0700, Van Snyder wrote: > On Wed, 2025-04-02 at 11:25 -0700, Van Snyder wrote: > > On Wed, 2025-04-02 at 01:17 -0400, Timothy M Butterworth wrote: > > > I am able to reach The Van Snyder's Web Site using the above IP > > > address and URL on port 80 but not 443. I

Re: Web server access

2025-04-02 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 13:01:10 +0100, debian-u...@howorth.org.uk wrote: > wrote: > > On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-u...@howorth.org.uk > > wrote: > > > GET index.html > > > > should be: > > > > GET index.html HTTP/1.0 > > Well, practically it makes no difference. If I sen

Re: Web server access

2025-04-01 Thread Greg Wooledge
On Tue, Apr 01, 2025 at 17:52:55 -0700, Van Snyder wrote: > The server is on the LAN side of the router (192.168.1.65). It's not in > the DMZ. My server isn't running Apache ACLs or iptables or TCP > wrapper. The router is running a firewall.  I've forwarded WAN-side > ports 23, 80 and 443 to my se

Re: Who: Bookworm v. Trixie

2025-04-01 Thread Greg Wooledge
On Tue, Apr 01, 2025 at 15:03:34 -0600, Charles Curley wrote: > On Tue, 1 Apr 2025 15:19:48 -0400 > Michael Stone wrote: > > > If you touch /run/utmp it will magically start working again. > > Thank you. > > To be pedantic, any logins subsequent to touching it will show up. It > is necessary to

Re: Who: Bookworm v. Trixie

2025-03-31 Thread Greg Wooledge
On Mon, Mar 31, 2025 at 19:38:16 +0200, to...@tuxteam.de wrote: > On Mon, Mar 31, 2025 at 11:19:30AM -0400, gene heskett wrote: > > What makes the debian people treat hosts file users, like 3rd class users?   > > I'm a (heavy!) hosts file user. I'm being treated by Debian 1st class. > Perhaps it's

Re: Spurious emails from somewhere in "Debian hierarchy"

2025-03-29 Thread Greg Wooledge
On Sat, Mar 29, 2025 at 05:36:46 -0500, Richard Owlett wrote: > *TILT*!!! > I don't believe them to be spam. Show us an example of what you are talking about. Go to the list archives and find one of these messages, then paste its URL here.

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Greg Wooledge
On Wed, Mar 26, 2025 at 15:46:15 +0100, Nicolas George wrote: > $ su > # make install > > Whoopsie! The Makefile just pwned you. That's a COMPLETELY separate discussion. Obviously I was referring to software from reputable sources. > $ make DESTDIR=/tmp/i install > $ sud

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Greg Wooledge
On Thu, Mar 27, 2025 at 12:48:35 -0500, David Wright wrote: > It could be argued that it would be simple enough to communicate > the user's cwd to root, as a workaround, so that it didn't have to > be retyped. You know what does that for you? sudo -s. Or su if you've configured it with a one-lin

Re: ipv6 dns-nameservers#

2025-03-27 Thread Greg Wooledge
On Thu, Mar 27, 2025 at 13:58:49 +, Andy Smith wrote: > I think all DHCP clients in Debian have a "Recomends" relationship on > resolvconf to do this modification for them. hobbit:~$ apt-cache show isc-dhcp-client | grep -e Recommends -e resolv Recommends: isc-dhcp-common Suggests: resolvconf,

Re: ipv6 dns-nameservers

2025-03-27 Thread Greg Wooledge
On Thu, Mar 27, 2025 at 13:06:54 +, Andy Smith wrote: > Hi, > > On Thu, Mar 27, 2025 at 09:38:02PM +1030, Mal wrote: > > Without the conf package, I still don't get why it populated only one > > ipv4 nameserver target and ignored the ipv6 target. > > Are you sure this is not just what the ins

Re: ipv6 dns-nameservers

2025-03-27 Thread Greg Wooledge
On Thu, Mar 27, 2025 at 14:34:13 +1030, Mal wrote: > root@debian:/home/user# more /etc/network/interfaces > source /etc/network/interfaces.d/* > # The loopback network interface >  auto lo >  iface lo inet loopback > >  allow-hotplug enp1s0 >  iface enp1s0 inet static >  address 12.34.56.78 >  net

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Greg Wooledge
On Wed, Mar 26, 2025 at 07:48:16 -0500, Richard Owlett wrote: > On 3/26/25 6:55 AM, Greg Wooledge wrote: > > I normally use "sudo -s", which is the closest sudo approximation to > > the traditional behvior of "su" (before it was broken in buster). > >

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Greg Wooledge
On Wed, Mar 26, 2025 at 12:23:38 +0100, to...@tuxteam.de wrote: > On Wed, Mar 26, 2025 at 02:15:03PM +0300, J wrote: > > And i thought *sudo -i*, you speaking about, is something like > > *--interactive*, which is not, how i see now... > > The long form is "--login", not interactive. But the "-i"

  1   2   3   4   5   6   7   8   9   10   >