Re: tmp on tmpfs

2023-04-18 Thread Nicolas George
to...@tuxteam.de (12023-04-19): > What I didn't like from the post is that it doesn't clearly > state the downsides. Too much handwaving and repetition that > "there are downsides" (well, duh), that "some applications > rely on... " (what?). Then he goes on to explain alternatives. “If I can't wri

Re: tmp on tmpfs

2023-04-18 Thread tomas
On Wed, Apr 19, 2023 at 01:15:01PM +0700, Max Nikulin wrote: > On 19/04/2023 11:30, to...@tuxteam.de wrote: > > > > That's what I meant above with "assuming you want a tmpfs..." > > Some arguments for consideration may be found in > > Summary: Moving /tmp to tmpfs makes it useless > https://list

tmp on tmpfs

2023-04-18 Thread Max Nikulin
On 19/04/2023 11:30, to...@tuxteam.de wrote: That's what I meant above with "assuming you want a tmpfs..." Some arguments for consideration may be found in Summary: Moving /tmp to tmpfs makes it useless https://lists.debian.org/debian-devel/2012/06/msg00311.html That is linked from https://

Re: /etc/fstab question (problem)?

2023-04-18 Thread tomas
On Tue, Apr 18, 2023 at 10:15:30PM +0100, Tom Furie wrote: > On Tue, Apr 18, 2023 at 09:00:00PM +0200, to...@tuxteam.de wrote: > > Since Debian erases /tmp at each boot anyway: wouldn't it be > > much easier to set up an entry in fstab along the lines of > > > > tmpfs/tmptmpfsdefault

Re: /etc/fstab question (problem)?

2023-04-18 Thread Stefan Monnier
> So—I would clean /tmp as best you can before you close down, then > boot in single user mode, clean anything still remaining in /tmp, > edit your fstab, and then reboot. You can also do mount --bind / /mnt and then look at /mnt/tmp. No need to reboot into single-user mode for that.

Re: Email submission.

2023-04-18 Thread David Wright
On Sun 16 Apr 2023 at 10:57:37 (-0700), pe...@easthope.ca wrote: > From: David Wright > Date: Sat, 15 Apr 2023 22:20:55 -0500 > > And in turn, this reply doesn't contain any feedback to my suggestion > > of installing the backported exim, which claims to support tls on > > connect. > > Ye

Re: /etc/fstab question (problem)?

2023-04-18 Thread David Wright
On Tue 18 Apr 2023 at 21:12:33 (-0400), Default User wrote: > > (Not so) fun fact: Clonezilla always refuses to back up swap > partitions. I don't know why. It's not clear to me how you could restore the entire rest of the system to the state it was in when you made your backup of swap. So the ba

Re: /etc/fstab question (problem)?

2023-04-18 Thread David Christensen
On 4/18/23 18:12, Default User wrote: On 4/18/23 07:59, Default User wrote: I just realized that my /tmp partition is not being mounted at startup. Finally, after the current situation is resolved, I would still like to know what caused the problem in the first place. Looking back at pr

Re: /etc/fstab question (problem)?

2023-04-18 Thread Charles Curley
On Tue, 18 Apr 2023 21:12:33 -0400 Default User wrote: > (Not so) fun fact: Clonezilla always refuses to back up swap > partitions. I don't know why. Because there is no reason to do so. It has nothing in it of any value, except possibly to a cracker, and even that is stale. -- Does anybody re

Re: /etc/fstab question (problem)?

2023-04-18 Thread Default User
On Tue, 2023-04-18 at 16:53 -0700, David Christensen wrote: > On 4/18/23 14:42, Default User wrote: > > On Tue, 2023-04-18 at 13:03 -0700, David Christensen wrote: > > > On 4/18/23 07:59, Default User wrote: > > > > Hey, I have a strange situation! > > > > > > > > I just realized that my /tmp part

Re: /etc/fstab question (problem)?

2023-04-18 Thread David Christensen
On 4/18/23 14:42, Default User wrote: On Tue, 2023-04-18 at 13:03 -0700, David Christensen wrote: On 4/18/23 07:59, Default User wrote: Hey, I have a strange situation! I just realized that my /tmp partition is not being mounted at startup. Instead, I think the filesystem may be allocating spa

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: /etc/fstab question (problem)?

2023-04-18 Thread Default User
On Tue, 2023-04-18 at 13:03 -0700, David Christensen wrote: > On 4/18/23 07:59, Default User wrote: > > Hey, I have a strange situation! > > > > I just realized that my /tmp partition is not being mounted at > > startup. > > Instead, I think the filesystem may be allocating space in another > > pa

Re: /etc/fstab question (problem)?

2023-04-18 Thread Tom Furie
On Tue, Apr 18, 2023 at 09:00:00PM +0200, to...@tuxteam.de wrote: > Since Debian erases /tmp at each boot anyway: wouldn't it be > much easier to set up an entry in fstab along the lines of > > tmpfs/tmptmpfsdefaults,noatime,mode=1777 0 0 > > (assuming you want a tmpfs there, rep

Re: /etc/fstab question (problem)?

2023-04-18 Thread David Christensen
On 4/18/23 07:59, Default User wrote: Hey, I have a strange situation! I just realized that my /tmp partition is not being mounted at startup. Instead, I think the filesystem may be allocating space in another partition (maybe /root?) for tmp stuff. I would like to return to the prior setup, wh

Re: Am I infected with a rootkit?

2023-04-18 Thread David Christensen
On 4/18/23 06:43, Jesper Dybdal wrote: On 2023-04-16 14:19, I wrote: ... And there in the bash history were 4 lines that I had not written :-( To summarize: * Greg has convincingly argued that there is no way for the running shell to get those lines into its history, other than by issuing th

Re: /etc/fstab question (problem)?

2023-04-18 Thread tomas
On Tue, Apr 18, 2023 at 09:37:51AM -0600, Charles Curley wrote: > On Tue, 18 Apr 2023 10:59:19 -0400 > Default User wrote: > > > What to do? > > I suspect that what you need to do is: > > 1) Preserve the current contents of /tmp, > > 2) Adjust fstab to include the /tmp partition, > > 3) Mount

Re: Need help to install gnucobol

2023-04-18 Thread Timothy M Butterworth
On Tue, Apr 18, 2023 at 2:55 PM Jerry Mellon wrote: > Hi, > > I am new to Debian and I would like to install gnucobol. I see it is in > Debian 10 but not 11. I tried to download the Debian 10 gnucobol, but I > get a message that the package is broken. Could you tell me where else I > might obtain

Re: Need help to install gnucobol

2023-04-18 Thread Jerry Mellon
Hi, I am new to Debian and I would like to install gnucobol. I see it is in Debian 10 but not 11. I tried to download the Debian 10 gnucobol, but I get a message that the package is broken. Could you tell me where else I might obtain a compatible cobol compiler? -- Jerry Mellon 501 Los Camin

Re: Am I infected with a rootkit?

2023-04-18 Thread Andy Smith
Hello, On Tue, Apr 18, 2023 at 06:22:16PM +0200, Michel Verdier wrote: > I recently learned the ctrl-r key which launch a regex search in > history. It's more powerful than ! as it search the full > lines so not only commands but also parameters. Now step in to the late 2010s and look into "fzf"

Re: Apt sources.list

2023-04-18 Thread Jeffrey Walton
On Tue, Apr 18, 2023 at 1:46 PM Frank wrote: > > Op 18-04-2023 om 16:33 schreef Vincent Lefevre: > > On 2023-04-15 21:59:19 +0200, Frank wrote: > >> Op 15-04-2023 om 18:12 schreef Tixy: > >>> Testing doesn't get explicit security support so there's no point in > >>> having 'testing-security' lines

Re: Apt sources.list

2023-04-18 Thread Frank
Op 18-04-2023 om 16:33 schreef Vincent Lefevre: On 2023-04-15 21:59:19 +0200, Frank wrote: Op 15-04-2023 om 18:12 schreef Tixy: Testing doesn't get explicit security support so there's no point in having 'testing-security' lines in sources.list (I guess it'll give an error anyway). No error.

Re: "Bug" in Debian Installer?

2023-04-18 Thread Roy J. Tellason, Sr.
On Tuesday 18 April 2023 12:47:44 am David Wright wrote: > > I have never seen a document that completely and accurately explains, > > in computer engineering and science terms, the design and > > implementation of the boot processes for Debian (or FreeBSD, or > > Windows, or macOS) for all the pos

Disable laptop suspend and hibernate when plugged-in or charging?

2023-04-18 Thread Jeffrey Walton
Hi Everyone, I have a Pinebook Pro, https://www.pine64.org/pinebook-pro/ . The laptop suspends or hibernates even when charging. I cannot SSH into it. I want to disable suspend or hibernate while the laptop is plugged-in. I visited https://wiki.debian.org/Suspend , but it does not discuss the lap

Re: /etc/fstab question (problem)?

2023-04-18 Thread Max Nikulin
On 18/04/2023 22:37, Charles Curley wrote: 1) Preserve the current contents of /tmp, 2) Adjust fstab to include the /tmp partition, 3) Mount the /tmp partition 4) Restore the contents of /tmp Some issues may arise due to files (regular ones, already deleted, sockets, fifos) opened by running s

Re: Am I infected with a rootkit?

2023-04-18 Thread Michel Verdier
Le 18 avril 2023 songbird a écrit : > i like to start with a known state including the shell history > so upon starting up a terminal i determine what commands i want > in the history by detecting which directory i'm in (which tells > me which project i'm working on). it's very easy then for me

Re: Am I infected with a rootkit?

2023-04-18 Thread songbird
wrote: ... > Definitely. I just pointed that out as a request for discussion. > Perhaps this isn't portable across shells or even different > versions of bash. So caveat emptor :) > > Cheers and thanks -- I didn't know about HISTTIMEFORMAT before! just as an aside for those who think about this

Re: /etc/fstab question (problem)?

2023-04-18 Thread songbird
Default User wrote: ... > What to do? if the tmp partition exists then put it back in your fstab and see if you can mount it manually. it may or may not mount. if it doesn't you can reboot and it should then mount. of course, make sure you have the mount point defined. > And if further i

Re: /etc/fstab question (problem)?

2023-04-18 Thread Charles Curley
On Tue, 18 Apr 2023 10:59:19 -0400 Default User wrote: > What to do? I suspect that what you need to do is: 1) Preserve the current contents of /tmp, 2) Adjust fstab to include the /tmp partition, 3) Mount the /tmp partition 4) Restore the contents of /tmp You should probably do all of this

/etc/fstab question (problem)?

2023-04-18 Thread DdB
Am 18.04.2023 um 16:59 schrieb Default User: > Hey, I have a strange situation! Wow! Am I misunderstanding something? You seem to be well in control of your system, thus i am i bit surprised as of the simplicity of your question. If it was me, i would just find out, where exactly tmp resides now,

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

2023-04-18 Thread Schwibinger Michael
Good afternoon How do I do driverless printing? Thank You Regards Sophie Von: Stefan Monnier Gesendet: Freitag, 14. April 2023 22:33 An: debian-user@lists.debian.org Betreff: Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong drive

/etc/fstab question (problem)?

2023-04-18 Thread Default User
Hey, I have a strange situation! I just realized that my /tmp partition is not being mounted at startup. Instead, I think the filesystem may be allocating space in another partition (maybe /root?) for tmp stuff. I would like to return to the prior setup, where the /tmp partition is mounted at s

Re: Am I infected with a rootkit?

2023-04-18 Thread Charles Curley
On Tue, 18 Apr 2023 22:07:16 +0800 Jeremy Ardley wrote: > The only way to be sure you are secure is to check the client list on > the router. If you have something you don't recognise then that may > be an intruder. You might also look into arpwatch and arpalert. -- Does anybody read signatur

Re: Apt sources.list

2023-04-18 Thread Vincent Lefevre
On 2023-04-15 21:59:19 +0200, Frank wrote: > Op 15-04-2023 om 18:12 schreef Tixy: > > On Sat, 2023-04-15 at 08:11 -0400, pa...@quillandmouse.com wrote: > > > > According to https://www.debian.org/releases/, bookworm at this time is > > > "testing". But when the next release comes, bookworm will st

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 duplicated

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

2023-04-18 Thread Vincent Lefevre
On 2023-04-16 11:04:09 +0700, Max Nikulin wrote: > On 15/04/2023 19:37, Greg Wooledge wrote: > > 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) a

Re: Am I infected with a rootkit?

2023-04-18 Thread Jeremy Ardley
On 18/4/23 21:36, Jesper Dybdal wrote: Is it secured with wpa2? Yes.  The password is not easy to guess, and the neighbors do not know it.  I think (but I may remember that incorrectly) that I checked the log file in the access point and found nothing suspicious. Coincidentally I was ch

Re: Am I infected with a rootkit?

2023-04-18 Thread Jesper Dybdal
On 2023-04-18 10:25, Richmond wrote: It's a long shot, but does either computer have wifi? Those two computers do not, but the LAN they're connected to does have a WiFi access point.  So yes, if anybody could access the LAN through the WiFi and find a security hole in Windows to exploit, then

Re: Am I infected with a rootkit?

2023-04-18 Thread Jesper Dybdal
On 2023-04-18 07:29, David wrote: On Tue, 18 Apr 2023 at 04:42, David Wright wrote: There is an option to timestamp entries in the history file. I've never used it, nor heard of its being used. That might disambiguate things if you ever suspect it might happen again. Hi, on my machines I use

Re: Am I infected with a rootkit?

2023-04-18 Thread Jesper Dybdal
On 2023-04-16 14:19, I wrote: ... And there in the bash history were 4 lines that I had not written :-( To summarize: * Greg has convincingly argued that there is no way for the running shell to get those lines into its history, other than by issuing them over the ssh connection. * We can

Re: Am I infected with a rootkit?

2023-04-18 Thread tomas
On Tue, Apr 18, 2023 at 11:59:58AM +, David wrote: > On Tue, 18 Apr 2023 at 07:51, wrote: > > On Tue, Apr 18, 2023 at 05:29:43AM +, David wrote: [...] > > > The colon and semicolon allow the timestamp > > > to function as a no-operation command. > > > > At least in bash, this doesn't see

Re: Am I infected with a rootkit?

2023-04-18 Thread David
On Tue, 18 Apr 2023 at 07:51, wrote: > On Tue, Apr 18, 2023 at 05:29:43AM +, David wrote: > > On Tue, 18 Apr 2023 at 04:42, David Wright wrote: > > > There is an option to timestamp entries in the history file. I've > > > never used it, nor heard of its being used. That might disambiguate >

Re: Am I infected with a rootkit?

2023-04-18 Thread tomas
On Tue, Apr 18, 2023 at 11:51:42AM +0100, debian-u...@howorth.org.uk wrote: > wrote: [...] > > At least in bash, this doesn't seem necessary, as you are > > only seeing an external representation: internally, bash > > keeps the timestamp separate (as happens to the seq number, > > too). > > > >

Re: Am I infected with a rootkit?

2023-04-18 Thread debian-user
wrote: > On Tue, Apr 18, 2023 at 05:29:43AM +, David wrote: > > On Tue, 18 Apr 2023 at 04:42, David Wright > > wrote: > > > There is an option to timestamp entries in the history file. I've > > > never used it, nor heard of its being used. That might > > > disambiguate things if you ever sus

Re: "Bug" in Debian Installer?

2023-04-18 Thread David Christensen
On 4/17/23 21:47, David Wright wrote: On Mon 17 Apr 2023 at 15:26:58 (-0700), David Christensen wrote: I have never seen a document that completely and accurately explains, in computer engineering and science terms, the design and implementation of the boot processes for Debian (or FreeBSD, or

Re: Am I infected with a rootkit?

2023-04-18 Thread Richmond
It's a long shot, but does either computer have wifi? Is it secured with wpa2?

Re: Am I infected with a rootkit?

2023-04-18 Thread tomas
On Tue, Apr 18, 2023 at 05:29:43AM +, David wrote: > On Tue, 18 Apr 2023 at 04:42, David Wright wrote: > > > There is an option to timestamp entries in the history file. I've > > never used it, nor heard of its being used. That might disambiguate > > things if you ever suspect it might happen