Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Greg Wooledge
On Sat, Jun 10, 2023 at 09:21:19PM +0200, Sven Joachim wrote: > Unfortunately neither the Debian changelog of dash nor the commit > message for this change[2] give an explanation. Removing the debconf > handling certainly simplifies the package, and there are not too many > scripts around that

Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Greg Wooledge
On Sat, Jun 10, 2023 at 02:12:14PM +0100, Darac Marjal wrote: > On 10/06/2023 01:32, S M wrote: > > Yes. POSIX-compliance is a feature to me. I'd actually be fine with > > using dash itself but the lack of command line editing and filename > > completion is a deal-breaker to me. > Is command-line

Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 05:45:04PM -0500, S M wrote: > Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh > pointing to bash and chsh to that. Why? Why not simply chsh to /bin/bash if that's what you want as your interactive shell? Are you somehow relying on bash's

Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 08:20:52PM +0200, didier gaumet wrote: > Le 09/06/2023 à 15:38, S M a écrit : > > I noticed on a newly installed system with Debian 12 that dpkg-reconfigure > > no longer allows to switch the /bin/sh symlink from dash to bash. This is > > apparently intentional as per the

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: > On 6/9/23 09:33, Greg Wooledge wrote: > > Start with .xsessionrc (the Debian hack) and see if that works. Put a > > PATH modification in there, and also put something like > > > > export GENETEST=hello &g

Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 07:20:29AM -0700, Kushal Kumaran wrote: > >From the comments on > https://salsa.debian.org/debian/dash/-/commit/c322a1c9fc6be11d7eb4439407c0a398aba8bbb7, > this is intentional and permanent. /bin/sh pointing to bash is no > longer supported. Huh. Well, that's rather

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: > On 6/9/23 07:33, Greg Wooledge wrote: > > Finally, remember that .xsession is run by /bin/sh, not by your login > > shell. So, if you've got bash syntax in .profile (or anything it dots > > in, such as .bas

Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 06:20:07AM -0400, gene heskett wrote: > On 6/9/23 00:46, to...@tuxteam.de wrote: > > This is actually the classical pattern of "layered configuration", which > > is widespread in the UNIX world. You see that often with a system config > > which can be overridden by a user

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 11:51:15AM +0100, David Wright wrote: > On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: > > Change of subject: > > > > I have a mod I make to the $PATH which I've put in .profile, but I've > > failed to find a place to make it autoexec when I login. And I'm

Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 06:07:28PM +, Albretch Mueller wrote: > Why would: > > kate "file1_ps_-aux.txt" "file2_dmesg.txt" "file3_printenv.txt" & > > kate "${_FL1}" "${_FL2}" "${_FL3}" & > > work?, but stringing the file names using a loop wouldn't? Not sure what "stringing" means here.

Re: Running Debian without initramfs?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 06:34:36PM +0100, Tim Woodall wrote: > IIUC trixy will enforce merged-usr, it's optional until then. (bicbw, it > might be bookworm that will enforce it - all my systems are already > merged and I don't run testing) Merged-usr is officially mandated for bookworm, and

Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 04:51:44PM +0200, Roger Price wrote: > I used to type "import foo.jpg" but got into the habit of typing "import > /tmp/foo" which produces the error message. > > So this afternoon I went back to typing "import foo.jpg" and this works > correctly, exactly as expected.

Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 02:39:11PM +0200, Thomas Schmitt wrote: > Hi, > > Roger Price wrote: > > > import-im6.q16: attempt to perform an operation not allowed by the > > > security > > > policy `PS' @ error/constitute.c/IsCoderAuthorized/421. > >

Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 02:06:12PM +0200, Roger Price wrote: > I use the import program provided by Debian 11 (bullseye) to grab parts of > the screen. This worked well but I was having difficulty remembering that > "import" means "screen-grab". So as root I set up the soft link > > ln -s

Re: Replacing a Motherboard and CPU

2023-06-06 Thread Greg Wooledge
On Tue, Jun 06, 2023 at 06:47:07AM -0400, Felix Miata wrote: > Mick Ab composed on 2023-06-06 11:38 (UTC+0100): > > > If I replace a motherboard in a desktop PC with a motherboard of the same > > model and manufacturer, do I need to do anything apart from reconnecting > > everything and possibly

Re: Mount Permissions (btrfs subvolumes)

2023-06-05 Thread Greg Wooledge
On Sun, Jun 04, 2023 at 11:00:18PM -0400, ce wrote: > On 6/4/23 5:46 PM, Greg Wooledge wrote: > > What kind of hardware is this file system on? > > > > What kind of file system is it? > > > > How did you mount it?  (Show the command you used, and any output th

Re: X11 should not run as root or?

2023-06-04 Thread Greg Wooledge
On Sun, Jun 04, 2023 at 11:43:29PM +, therealcyclist wrote: > Am Sun, Jun 04, 2023 at 07:18:36PM -0400 schrieb Greg Wooledge: > > If you are running "startx" on tty1 in Debian 11 and Xorg is running > > as root instead of your regular user account, then START THERE.

Re: X11 should not run as root or?

2023-06-04 Thread Greg Wooledge
On Sun, Jun 04, 2023 at 11:03:27PM +, therealcyclist wrote: > Am Sun, Jun 04, 2023 at 08:26:55PM +0200 schrieb Vincent Lefevre: > > i3-wm is a window manager, not a display manager. So it depends on > > what display manager you're using (if any). > > so we assume that the majority use a

Re: Mount Permissions

2023-06-04 Thread Greg Wooledge
On Sun, Jun 04, 2023 at 11:59:21AM -0400, ce wrote: > I have a mountpoint where all files under it have a group `fuse`. You need to provide details, or else nobody can help you with anything. What kind of hardware is this file system on? What kind of file system is it? How did you mount it?

Re: Firefox resource utilization (was Re: A case for supporting antiquated hardware, was Re: A hypervisor for a headless server?)

2023-06-04 Thread Greg Wooledge
On Sun, Jun 04, 2023 at 04:30:46PM +0200, to...@tuxteam.de wrote: > So the practice is that the whole internet dumps the whole framework > schtack [2] on you. https://en.wikipedia.org/wiki/WebAssembly

Re: X11 should not run as root or?

2023-06-02 Thread Greg Wooledge
On Sat, Jun 03, 2023 at 12:11:47AM +, therealcyclist wrote: > Am Fri, Jun 02, 2023 at 07:52:03PM -0400 schrieb Greg Wooledge: > > No "needs_root_rights" here, so I don't know why yours needs it. Maybe > > it's got something to do with driver selection? If I recall co

Re: X11 should not run as root or?

2023-06-02 Thread Greg Wooledge
l (but with fvwm instead of i3-wm), and I'm not seeing this problem. Xorg runs as me, just as it has done for the last few releases. unicorn:~$ ps -ef | grep X greg10301007 0 May31 tty1 00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth

Re: netmask question

2023-05-26 Thread Greg Wooledge
On Sat, May 27, 2023 at 12:59:59AM +, Andy Smith wrote: > On Mon, May 22, 2023 at 08:26:47PM -0400, Dan Ritter wrote: > > No. What's the netmask if you have: > > > > IP: 192.168.255.132 > > broadcast: 192.168.255.255 ? > > It's 255.255.0.0. > > Specifying a broadcast address does completely

Re: netmask question

2023-05-22 Thread Greg Wooledge
On Tue, May 23, 2023 at 08:24:10AM +0800, Tom Reed wrote: > Sorry for my newbie question too. > > If I know the network addr: 192.168.1.0 > And know the broadcast addr: 192.168.1.255 > Then I should have the possibility to cal the netmask addr: 255.255.255.0 > > Isn't it? Not necessarily.

Re: netmask question

2023-05-22 Thread Greg Wooledge
On Tue, May 23, 2023 at 07:39:21AM +0800, Tom Reed wrote: > For a given ipv4, if I know net addr and broadcast addr, how will I > calculate the netmask? I hope this is a theoretical question, because this is backwards. Normally you would specify the IP address and the netmask, and the software

Re: python3-uno

2023-05-21 Thread Greg Wooledge
On Sun, May 21, 2023 at 05:40:06PM +0200, Klaus Jantzen wrote: > Setting up python3-uno (1:7.0.4-4+deb11u6) ... > + [ configure = configure ] > + ucf --three-way /usr/lib/libreoffice/share/.registry/pyuno.xcd > /etc/libreoffice/registry/pyuno.xcd > + ucfr --force python3-uno

Re: python3-uno

2023-05-21 Thread Greg Wooledge
On Sun, May 21, 2023 at 02:51:33PM +0200, Klaus Jantzen wrote: > dpkg: error processing package python3-uno (--configure): > > installed python3-uno package post-installation script subprocess returned > error exit status 3 If that's the entire error message, then you need to get more info. Edit

Re: nvidia package 340xx

2023-05-20 Thread Greg Wooledge
On Sat, May 20, 2023 at 06:15:18PM +0100, Richmond wrote: > As far as I remember the problem in Nvidia does not support kernels > above 4. This is why my laptop is stuck on Debian 10, although I did > wonder if Debian 11 can run with kernel 4. It should, so long as you don't care about the newer

Re: i386: Geode LX and NOPL

2023-05-20 Thread Greg Wooledge
On Sat, May 20, 2023 at 10:36:21AM -0400, Stefan Monnier wrote: > I was still able to use Debian on a (headless, armhf) 512MB machine > without too much suffering two years ago, but I suspect that less than > that might be impractical. Depends on what you plan to use it for. That amount of RAM

Re: EPSON ET M 1120 new printer: If You can read this, youareusingthe wrong driver

2023-05-16 Thread Greg Wooledge
On Tue, May 16, 2023 at 10:52:28AM -0400, gene heskett wrote: > gnutls28-dev worked, all tests pass. thanks Greg. How do I now make > installable deb's? I think I have dh installed. I wouldn't even try. That would be a *project*. This is the sort of thing that you install in /opt or /usr

Re: EPSON ET M 1120 new printer: If You can read this, you areusingthe wrong driver

2023-05-16 Thread Greg Wooledge
On Tue, May 16, 2023 at 10:20:38AM -0400, gene heskett wrote: > On 5/16/23 10:03, Jeffrey Walton wrote: > > On Tue, May 16, 2023 at 9:59 AM gene heskett wrote: > > > Couple that with my recent discovery that debian seems to be shipping > > > the cups from apple, last updated by its author in

Re: How to run a command / script on startup automatically in linux?

2023-05-16 Thread Greg Wooledge
On Tue, May 16, 2023 at 10:54:05AM +0530, Susmita/Rajib wrote: > Please once more check the two links that I had posted on the OP. If I > want to run a script named script.sh how should I set my system up, > like what should the supporting files look like, based on the OP? Without knowing what

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 09:37:29PM +0200, Vincent Lefevre wrote: > On 2023-05-15 13:42:52 -0400, Greg Wooledge wrote: > > On Mon, May 15, 2023 at 10:44:37PM +0530, Susmita/Rajib wrote: > > > > > > I saved a file at "/etc/systemd/system/" named "rc-loc

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 12:43:01PM -0600, Charles Curley wrote: > On Mon, 15 May 2023 13:42:52 -0400 > Greg Wooledge wrote: > > > There's no need to do that. Debian already ships an rc-local.service. > > True. In order to edit it, the user should copy it into /etc

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 10:44:37PM +0530, Susmita/Rajib wrote: > > I saved a file at "/etc/systemd/system/" named "rc-local.service" with > the following lines: > There's no need to do that. Debian already ships an rc-local.service. All you need

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 12:00:36PM -0400, gene heskett wrote: > On 5/15/23 07:03, Greg Wooledge wrote: > > On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote: > > > I read somewhere that the recent tweaks (improvements?) to > > > ifconfig's output were breaki

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote: > I read somewhere that the recent tweaks (improvements?) to > ifconfig's output were breaking scripts, which is hardly surprising. I can personally confirm this as true. Some of the machines at work run a proprietary software product

Re: shell script run in backend

2023-05-14 Thread Greg Wooledge
On Sun, May 14, 2023 at 04:36:03PM +, Andy Smith wrote: > On Sun, May 14, 2023 at 05:04:50PM +0800, Tom Reed wrote: > > I know convert it to a perl script and run it under App::Daemon for > > background jobs. > > Having it as a systemd service is a much cleaner solution, whether > it is shell

Re: How to download source package using only console?

2023-05-14 Thread Greg Wooledge
On Sun, May 14, 2023 at 02:17:05PM +0500, Alexander V. Makartsev wrote: > hence why the command was "$ apt source lego/testing" not just "$ apt source > lego". > There is no reason for building a backport package for "stable" using a > source package from "stable"... If you're trying to build a

Re: iptables reject with TCP RST

2023-05-13 Thread Greg Wooledge
On Sun, May 14, 2023 at 08:36:38AM +0800, Tom Reed wrote: > tcp0 0 0.0.0.0:587 0.0.0.0:* LISTEN > 32157/master > > > And the telnet results: > > $ telnet 193.106.250.xx 587 > Trying 193.106.250.xx... > telnet: Unable to connect to remote host:

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Greg Wooledge
On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > Ifconfig has been deprecated in Debian for some years. > > It is *not* deprecated. It is just optional, not essential. I don't know what Debian's official

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver Including BUG MESSAGE

2023-05-13 Thread Greg Wooledge
On Sat, May 13, 2023 at 10:18:37AM +, Schwibinger Michael wrote: > * For Debian based distributions: > # dpkg -i epson-inkjet-printer-escpr_.deb > > > > What is the name of architecture? Typically, either amd64 or i386, depending on which one you installed. The canonical way to find

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 08:13:31PM +0800, Tom Reed wrote: > that's normal. for example, I have to check every kind of logs (mail, > webserver, systems etc). They require sudo then. If you check the logs all at once, as part of a daily routine, then you only have to type the password one time, at

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 08:03:00PM +0800, Tom Reed wrote: > for a common account, such as tom, a nopasswd sudo also makes sense? > otherwise every time i have to input password for sudo. Within a given terminal session, you only have to enter your passwors once. This will allow passwordless sudo

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 07:27:25PM +0800, Tom Reed wrote: > what's the right way to add an user to run sudo without password? > I have to edit /etc/sudoers by manual. But I don't think it's a grace way. *Without password*?? Yes, that will require a manual edit. There is no "graceful way" to

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 06:26:00AM -0400, gene heskett wrote: > On 5/12/23 05:18, Vincent Lefevre wrote: > > Fine. And you can try the same thing from a different machine on > > the network, replacing "localhost" by the IP address of the server, > > e.g. from another machine on my network: > > >

Re: SOLVED:Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-11 Thread Greg Wooledge
On Thu, May 11, 2023 at 11:58:56PM +0200, Vincent Lefevre wrote: > On 2023-05-11 12:08:01 -0400, gene heskett wrote: > > Aha Got it, geany evince okular etc can now print from bpi54! Removing > > the Listen localhost:631 directive from /etc/cups/cupsd.conf and inserting a > > > > Listen

Re: Logging off an X session closes all ssh -X connections started previously from outside X

2023-05-10 Thread Greg Wooledge
On Wed, May 10, 2023 at 03:19:31PM +0200, Vincent Lefevre wrote: > On 2023-05-10 15:07:17 +0200, Vincent Lefevre wrote: > > Note: if you play with .ssh/rc, be careful as there is a risk > > that you may not log in any more with ssh in case of mistake > > (I'm wondering whether there is an

Re: Logging off an X session closes all ssh -X connections started previously from outside X

2023-05-09 Thread Greg Wooledge
On Tue, May 09, 2023 at 08:07:26PM +0200, zithro wrote: > I use Ctrl-D to close ssh sessions, "~." does not work, I get "bash: command > not found". To use the tilde commands in the ssh client, they have to be at the "beginning of a line", which means you have to press Enter first. Or at least

Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-09 Thread Greg Wooledge
On Tue, May 09, 2023 at 04:06:14AM -0400, gene heskett wrote: > I think you have said resolv.conf Search directive doesn't work but > nsswitch.conf was mentioned and there is a diff between this machine and one > of the arms. So what do I put in nsswitch.conf to make cups search the hosts > file

Re: User is not in the sudoers file

2023-05-08 Thread Greg Wooledge
On Mon, May 08, 2023 at 05:08:44PM -0600, Charles Curley wrote: > On Mon, 8 May 2023 17:27:24 +0200 > wrote: > > > (2) add your user to the sudo group. I'd prefer (2). > > usermod -a -G sudo > > I'm lazy. I have that in a script. Wanna be lazier? In Debian, you can do it this way:

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-07 Thread Greg Wooledge
On Sun, May 07, 2023 at 09:26:33AM +, Schwibinger Michael wrote: > There are some other messages from the printer. > > Are they important? How on earth would we know whether the messages are important without seeing them? This is why nobody is offering you any more help. You are presenting

Re: relevance of packages in repositories

2023-05-07 Thread Greg Wooledge
On Sun, May 07, 2023 at 07:53:36AM -0400, Dan Ritter wrote: > Дмитрий wrote: > > the stable version of Neodim 9.0 in debian 12 is the SEVENTH version, > At packages.debian.org, I put in "neodim" and got: > > --- > You have searched for packages that names contain neodim in all > suites, all

Re: I installed 11.6

2023-05-06 Thread Greg Wooledge
On Fri, May 05, 2023 at 11:27:45PM -0400, Maureen L Thomas wrote: > I installed debian 11.6 and updated the needed packages to 11.7. > I hate upgrading because they change everything An upgrade from 11.x to 11.y should not have too many visible changes. It's a minor "point release" upgrade,

Re: disk usage for /usr/lib on bullseye

2023-05-05 Thread Greg Wooledge
On Fri, May 05, 2023 at 02:35:08PM +, Bonno Bloksma wrote: > Just created a snapshot of my servers and then did: > apt autoremove > apt purge > apt clean > and I still have a working system so it will not just get rid of all > installed packages. :-) > But... I still also have all those

Re: processing /etc/sysctl.d

2023-05-04 Thread Greg Wooledge
On Thu, May 04, 2023 at 01:22:40PM -0400, Lee wrote: > OK.. I'll try to figure out how to modify whatever in /etc/NetworkManager I've been told that Network Manager will ignore any interfaces that are defined in /etc/network/interfaces. So the correct way to set up a static address on that

Re: processing /etc/sysctl.d

2023-05-04 Thread Greg Wooledge
On Thu, May 04, 2023 at 12:09:25PM +0200, Michel Verdier wrote: > Le 4 mai 2023 Michel Verdier a écrit : > > > with a stanse like > > > > auto enp1s0... > > sysctl net/ipv6/conf/default/accept_ra = 1 > > I mean > >sysctl net.ipv6.conf.enp1s0.accept_ra = 1 And it goes in the "iface"

Re: processing /etc/sysctl.d

2023-05-03 Thread Greg Wooledge
On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote: > $ head /etc/sysctl.d/local.conf > # my site local preferences > # > # man sysctl.d > # Configure kernel parameters at boot > # /etc/sysctl.d/*.conf > # key/name/under/proc/sys = some value > > # accept router advertisements >

Re: disk usage for /usr/lib on bullseye

2023-05-02 Thread Greg Wooledge
n denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? Rats! No luck here. Either "apt purge" is not an error, or the argument processing and validation happens only after acquiring the lock. Now we have to tread dangerous waters to find out

Re: Impossible to change ownership of a file to user when user is UID 0

2023-05-01 Thread Greg Wooledge
On Mon, May 01, 2023 at 04:37:34PM +0200, Pierre Willaime wrote: > On this system (not installed by me), my user has an UID and GID of 0 in > /etc/passwd. Several users share root privileges like this on the server. > > root@server:~# chown user /home/user/.ssh/authorized_keys >

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-01 Thread Greg Wooledge
On Mon, May 01, 2023 at 08:31:11AM +, Schwibinger Michael wrote: > Good morning > Thank You for email. > > > Plonk! > > Wat is a plonk? > A bug? http://www.catb.org/jargon/html/P/plonk.html It means that person has put you on their ignore list, or killfile, or whatever it's called in

Re: No fool like an old fool (debian installation probs)

2023-05-01 Thread Greg Wooledge
On Mon, May 01, 2023 at 01:08:56PM +0200, DdB wrote: > Am 01.05.2023 um 10:23 schrieb Michel Verdier: > > Le 1 mai 2023 DdB a écrit : > > > >> But omitting GNOME from the list lead to a system failing to boot with > >> tons of messages stating the absense of all kind of gnome parts. > > > > To

Re: I need help with my var partition.

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote: > Yes my figures are very similar to yours.  But even after a reboot I still > cannot burn a back up disk. Do not look at the NUMBERS. OWNER. GROUP. PERMISSIONS. The numbers mean nothing. > On 4/28/23 9:04 PM, Greg

Re: I need help with my var partition.

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 08:57:47PM -0400, Maureen L Thomas wrote: > OK so I went looking on the net /debian/var to find out why it is running > out of room.  All I could find is the directions to delete said files.  I > will put them back, now. Make sure you get the ownership and permissions

Re: sudo and echo

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 08:00:02PM -0400, The Wanderer wrote: > I would suspect that > > $ sudo 'echo 123 > /root/123.txt' > > would produce the effect you're after, but as I don't have sudo > installed, cannot verify that myself. No, that won't work. It'll try to execute a program named 'echo

Re: sudo and echo

2023-04-28 Thread Greg Wooledge
On Sat, Apr 29, 2023 at 01:52:11AM +0200, cor...@free.fr wrote: > $ sudo echo 123 > /root/123.txt > > It tells me "permission rejected". > > Why this sudo can't get success? Because the redirection is done by your shell before sudo is executed. See

Re: why symbolic link arnt visible?

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 08:20:37PM +0200, to...@tuxteam.de wrote: > On Fri, Apr 28, 2023 at 01:28:11PM -0400, Greg Wooledge wrote: > > On Fri, Apr 28, 2023 at 07:06:17PM +0200, Maurizio Caloro wrote: > > > f: /var/lib/rancid/routers/configs > > > drwxr-xr-x root roo

Re: why symbolic link arnt visible?

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 07:06:17PM +0200, Maurizio Caloro wrote: > f: /var/lib/rancid/routers/configs > drwxr-xr-x root root / > drwxr-xr-x root root var > drwxr-xr-x root root lib > drwxr-xr-x rancid rancid rancid > drwxr-x--- rancid rancid routers > drwxr-x--- rancid rancid configs

Re: why symbolic link arnt visible?

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 06:53:11AM +0200, Maurizio Caloro wrote: > (Unattributed:) > >Could you do ls -l to /var/lib/rancid, /var/lib/rancid/routers and so on > >until .../c3560? > Every file in this path "-R rancid:randic /var/lib/rancid" Please actually show us. Use either of these two

Re: debian stretch Sources update error,can anyone support?

2023-04-27 Thread Greg Wooledge
On Thu, Apr 27, 2023 at 05:08:10PM +0800, justzx wrote: > Error message: > > Ign:39 http://cdn-fastly.deb.debian.org/debian-security > stretch/updates/non-free Sources Stretch (Debian 9) probably no longer has a debian-security repo, if it was recently moved to the archive. Remove that from

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Greg Wooledge
On Wed, Apr 26, 2023 at 09:34:11AM +0700, Max Nikulin wrote: > On 26/04/2023 05:02, Valentin Caracalla wrote: > > > > user@host:~$ ls -dl $(find /mnt/boot/efi) > > find /mnt/boot/efi -print0 | xargs -0 ls -dl -- > > should be more resistant to peculiar file names, but it does not matter in >

Re: Putting important stuff exclusively in the subject [was: is it imminent that bookworm becomes stable?]

2023-04-25 Thread Greg Wooledge
On Tue, Apr 25, 2023 at 03:18:21PM +0200, Christoph Brinkhaus wrote: > Am Tue, Apr 25, 2023 at 07:07:07AM -0400 schrieb Greg Wooledge: > > But then the interesting bit happens once you've read that first message. > > When you mark it for deletion, you immediately move to the next m

Re: is nft running? how do I get info?

2023-04-25 Thread Greg Wooledge
On Tue, Apr 25, 2023 at 02:11:45PM +0500, Stanislav Vlasov wrote: > And, if you use 'su' command, please use it right: > su - There are many "right" ways to elevate privileges. See for more options.

Re: Putting important stuff exclusively in the subject [was: is it imminent that bookworm becomes stable?]

2023-04-25 Thread Greg Wooledge
On Tue, Apr 25, 2023 at 12:39:45AM -0700, dmacdoug wrote: > There are a large number of ways to read messages from the list. I happen > to use Mutt and so I see a list of senders, subject lines, etc. Once I > highlight a certain line and hit enter, I see the message, and 99% of the > time I read

Re: is it imminent that bookworm becomes stable?

2023-04-24 Thread Greg Wooledge
On Tue, Apr 25, 2023 at 05:52:55AM +0800, hl wrote: > i always use stable, Thanks! You're welcome! And that was the entire body of your email, so that's all you had to say, yes? ... Please do not put important details exclusively in the Subject: header of your email. The purpose of a Subject:

Re: Starting stunnel with systemd.

2023-04-24 Thread Greg Wooledge
On Mon, Apr 24, 2023 at 09:29:46AM +0200, to...@tuxteam.de wrote: > On Mon, Apr 24, 2023 at 08:45:16AM +0200, john doe wrote: > > On 4/23/23 18:41, pe...@easthope.ca wrote: > > > $ cat /etc/systemd/system/stunnel.service > > > [Unit] > > > Description=StunnelStarter > > >

Re: /etc/fstab question (problem)?

2023-04-21 Thread Greg Wooledge
On Fri, Apr 21, 2023 at 04:59:36AM -0400, rhkra...@gmail.com wrote: > On Wednesday, April 19, 2023 05:02:16 PM Default User wrote: > > sudo cp -r from the live usb. > > Recently I've been trying to get in the habit of using cp -aru because those > options do what I usually want: > >* -a

Re: Apt sources.list

2023-04-20 Thread Greg Wooledge
On Thu, Apr 20, 2023 at 12:18:35PM +0200, Vincent Lefevre wrote: > Anyway, in the time of freeze like now (probably with more > users trying testing), isn't it important that testing gets > security updates? It's not really about what's "important", but what's feasible given the available

Re: /etc/fstab question (problem)?

2023-04-18 Thread Greg Wooledge
On Tue, Apr 18, 2023 at 05:42:52PM -0400, Default User wrote: > stat -c %d / /tmp > 66306 > 66306 > (I am not sure what that means - is that saying that /tmp is mounted > under / on the / partition?) Yes. And by the way, "df /tmp" is a much more intuitive way to get that same answer. unicorn:~$

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-18 Thread Greg Wooledge
On Tue, Apr 18, 2023 at 04:19:47PM +0200, Vincent Lefevre wrote: > BTW, history expansion can be very useful, but IMHO, this should > have been interactive and triggered by control characters or > escape sequences, not by "normal" characters. History expansion originated in csh, and was

Re: Am I infected with a rootkit?

2023-04-16 Thread Greg Wooledge
On Sun, Apr 16, 2023 at 04:30:51PM +0200, Jesper Dybdal wrote: > On 2023-04-16 15:08, Greg Wooledge wrote: > > (Have you altered root's bash history configuration on that Debian system? > > If so, how?) > My .bashrc has: > > export HISTCONTROL=ignoreboth > > and tha

Re: Am I infected with a rootkit?

2023-04-16 Thread Greg Wooledge
On Sun, Apr 16, 2023 at 03:11:07PM +0200, Michel Verdier wrote: > I don't remember changing default for that and my bash shares between > sessions. (NOTE: this is NOT the OP!) (Deletes a whole reply.) OK, not-the-OP... your statement that bash "shares between sessions" is extremely ambiguous.

Re: Am I infected with a rootkit?

2023-04-16 Thread Greg Wooledge
On Sun, Apr 16, 2023 at 02:19:34PM +0200, Jesper Dybdal wrote: > The windows machine had an ssh connection to the Debian machine (using > PuTTY), logged in as root on the Debian machine. > I then went for a walk with the dog, leaving the ssh session running. > When I came back, I wanted to

Re: Apt sources.list

2023-04-15 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 10:54:10PM +, davidson wrote: > In case you wish to obscure what software you *install*, but need not > conceal the software you *download*: > > Step one: Make a list of the packages you want, and then augment it > with as many plausible alternatives and red herrings

Re: "Bug" in Debian Installer?

2023-04-15 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 07:20:58PM +0200, Geert Stappers wrote: > [1] I needed a websearch on S.W.A.G. Did find > - Sharing Warmth Around the Globe > - Sealed With A Gift > - Stolen Without A Gun > - So What? Another Giveaway? > - Sub-Watershed Advisory Group > - Some Women Are Great > -

Re: Apt sources.list

2023-04-15 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 01:23:05PM +0100, Brian wrote: > On Sat 15 Apr 2023 at 08:11:17 -0400, pa...@quillandmouse.com wrote: > > --- > > > > deb http://debian.uchicago.edu/debian/ bookworm main contrib non-free > > deb-src http://debian.uchicago.edu/debian/ bookworm main contrib non-free > > >

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-15 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 11:02:12AM +, davidson wrote: > On Sat, 15 Apr 2023 Max Nikulin wrote: > > The problem is to prevent history expansion while keeping pattern > > matching (glob) active. > > > > du -ks -- .[!.]* | sort -n | tail > > Are there versions of bash that exhibit history

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote: > As to [^c] vs. [!c], unfortunately the latter can not be always used as > portable variant. It is treated as history expansion in the case of > interactive bash session. Ugh. That abomination. I've had history expansion disabled for

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Greg Wooledge
On Fri, Apr 14, 2023 at 12:01:39PM -0400, rhkra...@gmail.com wrote: > On Thursday, April 13, 2023 10:36:08 PM Greg Wooledge wrote: > > [ If an open bracket introduces a bracket expression as in XBD RE > > Bracket Expression, except that the character > >

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-13 Thread Greg Wooledge
On Fri, Apr 14, 2023 at 09:08:08AM +0700, Max Nikulin wrote: > On 13/04/2023 08:07, Greg Wooledge wrote: > > On Thu, Apr 13, 2023 at 12:12:23AM +, David wrote: > > > $ echo [^0-9]* > > > 11 22 <-- new behaviour by dash > [...] > > The co

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-12 Thread Greg Wooledge
On Thu, Apr 13, 2023 at 12:12:23AM +, David wrote: > $ echo [^0-9]* > 11 22 <-- new behaviour by dash The [^chars] syntax is a negation in Basic and Extended Regular Expressions, and in bash's globs (it's a bash extension), but NOT in POSIX globs. The correct negation syntax in

Re: Mailing list usage questions

2023-04-12 Thread Greg Wooledge
On Wed, Apr 12, 2023 at 10:04:42PM +0200, zithro wrote: > So it seems that, despite (incomplete?) standards, each provider > (in the whole mail chain, MUA, MTA, etc) "does what he wants" ? Why do you sound surprised? This is how everything works. Everything.

Re: What do all those "* * *" mean on a traceroute log?

2023-04-12 Thread Greg Wooledge
On Wed, Apr 12, 2023 at 05:37:32PM +, Albretch Mueller wrote: > It is not with every site and it is mostly with one hop. > $ traceroute google.com > traceroute to google.com (172.217.0.174), 30 hops max, 60 byte packets > 1 _gateway (199.83.128.1) 6.687 ms 6.660 ms 6.683 ms > 2

Re: how to change default nameserver?

2023-04-11 Thread Greg Wooledge
On Tue, Apr 11, 2023 at 09:56:05PM +0200, zithro wrote: > Do you know when resolv.conf started appearing ? > I guess after TCP/IP got invented ? > The wikipedia page does not mention it. says it first appeared in 4.3BSD. I can neither confirm nor deny this,

Re: how to change default nameserver?

2023-04-11 Thread Greg Wooledge
On Tue, Apr 11, 2023 at 01:09:37PM -0400, gene heskett wrote: > Keeping networking working on linux has been an art, not a science. > looking at one of my buster machines. /etc/network/interfaces has this: > > # The primary network interface > allow-hotplug eno1 > iface eno1 inet static >

Re: how to change default nameserver?

2023-04-11 Thread Greg Wooledge
> > > So Gene, can you tell us where you read this ? > > > > In a man page from a good 20 years ago. I still have a copy of that > > original redhat 5.0 on a shelf above me, but not a floppy drive to read > > those disks with. > > Well, it's not in resolver(5) (which is for resolv.conf) on Red

Re: how to change default nameserver?

2023-04-10 Thread Greg Wooledge
On Mon, Apr 10, 2023 at 10:53:41PM +0200, zithro wrote: > Why can't you follow others advice, hell, if you don't trust us, even the > perfectly correct and up-to-date manpages ? > After reading the posts of others, I'm more and more thinking your simply a > troll (or a RedHat fanatic wasting

Re: https://: vs. https://:.

2023-04-10 Thread Greg Wooledge
On Mon, Apr 10, 2023 at 12:13:15PM -0700, pe...@easthope.ca wrote: > Name: hornby.islandhosting.com > Address: 158.69.159.172 > As expected, login at https://hornby.islandhosting.com:2096 and at > https://mail.easthope.ca:2096 appear equivalent. > > But for URL https://158.69.159.172:2096

Re: how to change default nameserver?

2023-04-10 Thread Greg Wooledge
On Mon, Apr 10, 2023 at 12:05:06PM -0400, gene heskett wrote: > Thanks for the vote of confidence Greg, but I'd like to point out that the > help offered is only valid for systems with a working dhcpd. > You tell me I'm wrong, but you don't tell how to do it right w/o dragging in > dh

Re: how to change default nameserver?

2023-04-09 Thread Greg Wooledge
On Sun, Apr 09, 2023 at 04:53:17PM +0200, zithro wrote: > Also, the line "search hosts, nameserver" is wrong. The place to put such > settings is "/etc/nsswitch.conf". > "search" is used to resolve hostnames to FQDN. > So if you put "search example.com", and you try to connect to a machine with >

<    3   4   5   6   7   8   9   10   11   12   >