On Sat, 27 Aug 2022, to...@tuxteam.de wrote:
On Sat, Aug 27, 2022 at 11:22:09AM +1000, David wrote:
On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
Has anyone managed to reproduce the OP's results, either getting
"interactive" from a bash -c call, or seeing *any* evidence that
/etc/bash.b
On Sat, 27 Aug 2022 at 15:07, wrote:
> On Sat, Aug 27, 2022 at 11:22:09AM +1000, David wrote:
> > On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
> > > Has anyone managed to reproduce the OP's results, either getting
> > > "interactive" from a bash -c call, or seeing *any* evidence that
> > >
On Sat 27 Aug 2022 at 00:23:10 (-0400), gene heskett wrote:
> On 8/26/22 20:35, David wrote:
> > On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
> > > I get these results as well, with Debian 11's packaged bash.
> > Yeah, sorry, I forgot to include, for the record:
> >
> > $ echo $BASH_VERSION
On Sat, Aug 27, 2022 at 11:22:09AM +1000, David wrote:
> On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
>
> > Has anyone managed to reproduce the OP's results, either getting
> > "interactive" from a bash -c call, or seeing *any* evidence that
> > /etc/bash.bashrc or ~/.bashrc is sourced from
On Sat, Aug 27, 2022 at 10:32:06AM +1000, David wrote:
> On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
> > On Sat, Aug 27, 2022 at 10:21:08AM +1000, David wrote:
>
> > > Just sharing something that I tried, to shed some more light
> > > on this, in case that's useful ...
> > >
> > > $ foo()
On 8/26/22 20:35, David wrote:
On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
On Sat, Aug 27, 2022 at 10:21:08AM +1000, David wrote:
Just sharing something that I tried, to shed some more light
on this, in case that's useful ...
$ foo() { case "$-" in *i* ) i=interactive ;; * ) i=not-inte
Thanks!
The problem is solved.
On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:
On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing,
'echo $PATH' reports -
/usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr
On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
> Has anyone managed to reproduce the OP's results, either getting
> "interactive" from a bash -c call, or seeing *any* evidence that
> /etc/bash.bashrc or ~/.bashrc is sourced from a bash -c call?
On Debian 11, when I create a test user, login
On Sat, 27 Aug 2022 at 10:27, Greg Wooledge wrote:
> On Sat, Aug 27, 2022 at 10:21:08AM +1000, David wrote:
> > Just sharing something that I tried, to shed some more light
> > on this, in case that's useful ...
> >
> > $ foo() { case "$-" in *i* ) i=interactive ;; * ) i=not-interactive ;;
> > es
On Sat, Aug 27, 2022 at 10:21:08AM +1000, David wrote:
> Just sharing something that I tried, to shed some more light
> on this, in case that's useful ...
>
> $ foo() { case "$-" in *i* ) i=interactive ;; * ) i=not-interactive ;;
> esac ; echo $BASHPID $i ; }
> $ declare -fx foo
> $ foo
> 2415 int
Yes, thank you! That worked.
On 2022-08-26 11:52 a.m., Brad Rogers wrote:
On Fri, 26 Aug 2022 06:14:36 -0400
Amn wrote:
Hello Amn,
In KDE's System Settings;
Hardware Section, Input Devices->Keyboard
You can Set On, Off or Leave Unchanged. Also set keyboard model there,
too - Acer Laptop be
On Sat, 27 Aug 2022 at 08:54, Tim Woodall wrote:
> On Fri, 26 Aug 2022, to...@tuxteam.de wrote:
> > On Fri, Aug 26, 2022 at 10:57:44AM -0400, Greg Wooledge wrote:
> I modified /etc/bash.bashrc to prove it was only being sourced in the
> second case above (it prints the value of PS1)
>
> And now I
On 27/8/22 6:06 am, Ross Boylan wrote:
In Debian 11/bullseye my system keeps reporting timeouts while trying
to bring up the first non-loopback interface. According to ip, the
interface actually is up, but ifup/down do not know that. My 2nd
interface is down, and there is no mention of attempt
On Fri, Aug 26, 2022 at 11:54:06PM +0100, Tim Woodall wrote:
> I modified /etc/bash.bashrc to prove it was only being sourced in the
> second case above (it prints the value of PS1)
>
> And now I can reproduce without -u
> $ bash -c :
> $ ( bash -c : )
> 'PS1='
> $ ( bash -c : ; : )
> $
I can't r
Ross Boylan composed on 2022-08-26 15:06 (UTC-0700):
> I'd appreciate any suggestions about how to diagnose or cure the problem.
I switched most of my static installations to systemd-networkd.service last
year:
# inxi -Snz
System:
Kernel: 5.10.0-17-amd64 arch: x86_64 bits: 64 Console: pty pts/
On Fri, 26 Aug 2022, to...@tuxteam.de wrote:
On Fri, Aug 26, 2022 at 10:57:44AM -0400, Greg Wooledge wrote:
[...]
There are also various hacks that are compiled into Debian's version
of bash [...]
At this moment, I'm kind of leaning toward one of those hacks being
triggered by your specifi
On Fri, Aug 26, 2022 at 03:06:24PM -0700, Ross Boylan wrote:
> In Debian 11/bullseye my system keeps reporting timeouts while trying
> to bring up the first non-loopback interface. According to ip, the
> interface actually is up, but ifup/down do not know that. My 2nd
> interface is down, and the
In Debian 11/bullseye my system keeps reporting timeouts while trying
to bring up the first non-loopback interface. According to ip, the
interface actually is up, but ifup/down do not know that. My 2nd
interface is down, and there is no mention of attempting to bring it
up in the logs. I can bri
Amn composed on 2022-08-26 06:14 (UTC-0400):
> Every time I restart my Acer Aspire E5-771G running Debian 11 I find
> that NumLock is off, is there a way to set up Deb11 to automatically
> turn on the NumLock?
There are many opportunities for NUM to be toggled. For those this frustrates:
1-Ens
On Fri, Aug 26, 2022 at 11:37:41AM -0600, tony mollica wrote:
> Good morning (Mountain time).
>
> Here's the problem I'm having. Debian is so stable that issues I've
> resolved years ago took place so far back and with no issues that I forget
> how I did it. So it is with this latest issue. The
Good morning (Mountain time).
Here's the problem I'm having. Debian is so stable that issues I've resolved
years ago took place so far back and with no issues that I forget how I did it.
So it is with this latest issue. The problem is I need to log into a router and
make some changes, prefer
On 26/08/2022 10:18, rudu wrote:
You should be right, but after booting on both 5.10 kernels I found in
my repositories :
ii linux-image-5.10.0-13-amd64 5.10.106-1 amd64 Linux 5.10
for 64-bit PCs (signed)
ii linux-image-5.10.0-16-amd64 5.10.127-1 amd64 Linux 5.10
for 64-b
On 26.08.2022 21:24, Amn wrote:
Hey there!!
As the subject suggests, this combo [BlueTooth - Acer - Qualcomm
Atheros] is my problem.
But before going any further I'd like to leave clear that I am not, by
any means, a Linux Power User [LPU], I just installed Debian 11 in my
laptop and are now
Could you please provide us with more information.Such as excerpts of log
files and dmsg.
Thanks,
Chip
On August 26, 2022 3:14:36 AM PDT, Amn wrote:
>Hi there!!
>Every time I restart my Acer Aspire E5-771G running Debian 11 I find that
>NumLock is off, is there a way to set up Deb11 to automa
Hey there!!
As the subject suggests, this combo [BlueTooth - Acer - Qualcomm
Atheros] is my problem.
But before going any further I'd like to leave clear that I am not, by
any means, a Linux Power User [LPU], I just installed Debian 11 in my
laptop and are now discovering the pros and cons of
On Fri, Aug 26, 2022 at 10:57:44AM -0400, Greg Wooledge wrote:
[...]
> There are also various hacks that are compiled into Debian's version
> of bash [...]
> At this moment, I'm kind of leaning toward one of those hacks being
> triggered by your specific combination of factors.
That's the most
On Fri, 26 Aug 2022 06:14:36 -0400
Amn wrote:
Hello Amn,
In KDE's System Settings;
Hardware Section, Input Devices->Keyboard
You can Set On, Off or Leave Unchanged. Also set keyboard model there,
too - Acer Laptop being one of the options.
--
Regards _
/ ) "The blindingly ob
On 8/26/22, Cindy Sue Causey wrote:
> On 8/26/22, Amn wrote:
>> Hi there!!
>> Every time I restart my Acer Aspire E5-771G running Debian 11 I find
>> that NumLock is off, is there a way to set up Deb11 to automatically
>> turn on the NumLock?
>
>
> Hi.. You didn't name which desktop environment y
On Fri, Aug 26, 2022 at 06:14:36AM -0400, Amn wrote:
> Hi there!!
> Every time I restart my Acer Aspire E5-771G running Debian 11 I find that
> NumLock is off, is there a way to set up Deb11 to automatically turn on the
> NumLock?
> Thanks.
>
You may find that there's a setting in the firmware/BI
On Fri, Aug 26, 2022 at 02:51:47PM +0100, Tim Woodall wrote:
> The real Makefile has -euo pipefail
I have stopped reading and caring now. Good luck.
On Fri, Aug 26, 2022 at 02:40:55PM +0100, Tim Woodall wrote:
> But that's backwards, make is starting an interactive shell when its
> output is redirected. When I don't redirect make's output it works.
I thought you were piping in the original message. There is a difference
between a pipe, and a
On Fri, 26 Aug 2022 at 23:41, Tim Woodall wrote:
> On Fri, 26 Aug 2022, David wrote:
> > On Fri, 26 Aug 2022 at 22:14, wrote:
> >> And then, there's that other riddle: why is a shell invoked from a
> >> Makefile sourcing /etc/bash.bashrc in the first place?
> >
> > Hi, my understanding is that t
On 8/26/22, Amn wrote:
> Hi there!!
> Every time I restart my Acer Aspire E5-771G running Debian 11 I find
> that NumLock is off, is there a way to set up Deb11 to automatically
> turn on the NumLock?
Hi.. You didn't name which desktop environment you're using so I'm
sharing what I found in LXQt
On Fri, 26 Aug 2022, David wrote:
On Fri, 26 Aug 2022 at 22:14, wrote:
On Fri, Aug 26, 2022 at 07:24:44AM -0400, Greg Wooledge wrote:
On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
[...]
On Fri, Aug 26, 2022 at 11:04:25AM +0200, Thomas Schmitt wrote:
to...@tuxteam.de wrote:
On Fri, 26 Aug 2022, David wrote:
On Fri, 26 Aug 2022 at 22:14, wrote:
And then, there's that other riddle: why is a shell invoked from a
Makefile sourcing /etc/bash.bashrc in the first place?
Hi, my understanding is that the rule commands in the Makefile are run by
a shell, one for each li
On Fri, 26 Aug 2022 at 22:14, wrote:
> On Fri, Aug 26, 2022 at 07:24:44AM -0400, Greg Wooledge wrote:
> > On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
[...]
> > On Fri, Aug 26, 2022 at 11:04:25AM +0200, Thomas Schmitt wrote:
> > > to...@tuxteam.de wrote:
> But all in all we're s
On Fri, 26 Aug 2022 at 22:14, wrote:
> And then, there's that other riddle: why is a shell invoked from a
> Makefile sourcing /etc/bash.bashrc in the first place?
Hi, my understanding is that the rule commands in the Makefile are run by
a shell, one for each line. The output stream of those comm
On Fri, Aug 26, 2022 at 07:24:44AM -0400, Greg Wooledge wrote:
> On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
> > $ cat Makefile.test
> > SHELL := /bin/bash -u
>
> WHY?!
>
> > Why do I get that unbound variable error?
>
> Because you turned on set -u in a place where the code had
On Fri, Aug 26, 2022 at 11:14:37AM +0100, Tim Woodall wrote:
> $ bash -uic 'echo done'
> bash: SUDO_USER: unbound variable
> bash: color_prompt: unbound variable
> done
> $
Cute. Mine's even weirder:
unicorn:~$ bash -uic 'echo done'
bash: SUDO_USER: unbound variable
bash: no: unbound variable
do
On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
> $ cat Makefile.test
> SHELL := /bin/bash -u
WHY?!
> Why do I get that unbound variable error?
Because you turned on set -u in a place where the code had not been
adjusted to account for set -u's foibles.
set -u breaks scripts. It's
On Fri, Aug 26, 2022 at 09:19:03AM +0100, Tim Woodall wrote:
[...]
Yes, I know how to fix it. That is straight forward. SUDO_USER and
SUDO_PS1 have similar issues, debian_chroot works in the presence of set
-u
I see.
But I don't understand why /etc/bash.bashrc is being sourced by make
w
Hi there!!
Every time I restart my Acer Aspire E5-771G running Debian 11 I find
that NumLock is off, is there a way to set up Deb11 to automatically
turn on the NumLock?
Thanks.
On Fri, 26 Aug 2022 at 18:02, wrote:
> On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
> > $ cat Makefile.test
> > SHELL := /bin/bash -u
> > MAKEFLAGS += --no-builtin-rules
> > .SUFFIXES:
> >
> > all:
> > echo done
> > $ make -f Makefile.test
> > echo done
> > done
> > $ make
bthLe 25/08/2022 à 23:51, piorunz a écrit :
On 25/08/2022 09:13, rudu wrote:
Le 24/08/2022 à 22:32, piorunz a écrit :
Looking at your kernel version, why you are running two years old
kernel? Support for this kernel has ended upstream, your system is
vulnerable to security issues.
That's b
On Fri, Aug 26, 2022 at 11:04:25AM +0200, Thomas Schmitt wrote:
> Hi,
>
> to...@tuxteam.de wrote:
> > Why {PS1:+x} rather than {PS1:-}?
>
> It seemed to be the nearest suitable variation which was similar to the
> proposal
> [ ${var+x} ]
[...]
Thanks :)
Cheers
--
t
signature.asc
Descripti
Hi,
to...@tuxteam.de wrote:
> Why {PS1:+x} rather than {PS1:-}?
It seemed to be the nearest suitable variation which was similar to the
proposal
[ ${var+x} ]
in
https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash
where one can see a nice table of ${VARIABLE.
On Fri, Aug 26, 2022 at 09:19:03AM +0100, Tim Woodall wrote:
[...]
> Yes, I know how to fix it. That is straight forward. SUDO_USER and
> SUDO_PS1 have similar issues, debian_chroot works in the presence of set
> -u
I see.
> But I don't understand why /etc/bash.bashrc is being sourced by make
>
local10 writes:
> Aug 25, 2022, 09:07 by dekkz...@gmail.com
>
>> Yes all fine here
>>
>> Version: 102.1.0esr-2
>>
>
>
> Are you using NoScript or uBlock Origin plugins? Both? Thanks
Yes to both as i replied.
Regards...
On Fri, 26 Aug 2022, to...@tuxteam.de wrote:
On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
$ cat Makefile.test
SHELL := /bin/bash -u
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
all:
echo done
$ make -f Makefile.test
echo done
done
$ make -f Makefile.test | cat
echo done
/
On Fri, Aug 26, 2022 at 10:01:06AM +0200, Thomas Schmitt wrote:
> Hi,
>
> > $ cat Makefile.test
> > SHELL := /bin/bash -u
> > [...]
> > /etc/bash.bashrc: line 7: PS1: unbound variable
> > [...]
> > Why do I get that unbound variable error?
>
> According to a comment in /etc/bash.bashrc it tests f
On Fri, Aug 26, 2022 at 08:17:10AM +0100, Tim Woodall wrote:
> $ cat Makefile.test
> SHELL := /bin/bash -u
> MAKEFLAGS += --no-builtin-rules
> .SUFFIXES:
>
> all:
> echo done
> $ make -f Makefile.test
> echo done
> done
> $ make -f Makefile.test | cat
> echo done
> /etc/bash.bashrc: line 7
Hi,
> $ cat Makefile.test
> SHELL := /bin/bash -u
> [...]
> /etc/bash.bashrc: line 7: PS1: unbound variable
> [...]
> Why do I get that unbound variable error?
According to a comment in /etc/bash.bashrc it tests for emptiness of PS1
in order to detect non-interactive shell sessions:
# If not r
$ cat Makefile.test
SHELL := /bin/bash -u
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
all:
echo done
$ make -f Makefile.test
echo done
done
$ make -f Makefile.test | cat
echo done
/etc/bash.bashrc: line 7: PS1: unbound variable
done
$ cat <(make -f Makefile.test)
echo done
done
$
Why do
53 matches
Mail list logo