The officially official Devuan Forum!

You are not logged in.

#251 Re: Other Issues » [SOLVED] (username) is not in the sudoers file. » 2024-10-15 10:39:54

Hello:

Gregors wrote:

... do something only root can do I use "su -" ...

That is quite correct.

But sudo does have a great many proper use scenarios.
eg: every time I want to have a look at what dmesg is printing out or run updatedb.

Here are a couple of snippets from an article by one of the admins in the PCLinuxOS Magazine back in 2012:

Old-Polack wrote:

Sudo is just another Linux tool, but one that when abused, can drastically impair the security of one’s system.

... proper use of sudo as a limiting resource, when root privileges are needed for a specific repeatable purpose, such as when needed for the proper functioning of an application, within a script, or when a specific user on a multi user system is assigned limited administrative duties, but is not allowed access to the root password or full root privileges. This is the purpose for which sudo was intended.

... care should be taken to limit a user’s entry in /etc/sudoers to the absolute minimum of specific commands needed to perform the task at hand.

* undelining is mine.

I'd say that allowing members of group sudo to execute any command is a huge risk.
Not a convenience.

Of course and as always, YMMV.

Best,

A.

#252 Re: Packaging for Devuan » upower: very broken dependencies » 2024-10-09 19:50:07

Hello:

Alverstone wrote:

Why does it happen at all?

Is this in Daedalus [stable] or Excalibur [testing]?

Because if it is Excalibur [testing], the answer to your question is in the suite's denomination.
ie: this part -> [testing].

Alverstone wrote:

Any hopes it gets resolved?

Of course.

It will be unoubtedly solved by the time Excalibur [testing] becomes Excalibur [stable].
Maybe even before that, no way of telling.

Testing is an arduous process which takes both time and manpower, both rather in short supply here at Dev1.

Alverstone wrote:

... Devuan specific thing ...

No.
It is just part of/how the release cycle of any non-rolling Linux distribution works.

ie: it is ready when it is ready.

Best,

A.

#253 Re: Hardware & System Configuration » runit: exim4 is broken » 2024-10-09 18:48:05

Hello:

Alverstone wrote:

If DMA works out of the box ...

It should.

In my case, I first made sure I purged all / everything exim4 related from my system, rebooted to make sure and then and installed DMA.
Had no issues, my system mail works perfectly well and a little old thingue called coolmail* sits in a corner on my desktop and lets me know when any system mail gets delivered to my box.

Alverstone wrote:

... no idea why I need exim4 ...

It got/gets installed by default in all (?) Devuan editions.

System mail was, till my exim4 incident, something absolutely transparent to me.
No idea it was called exim4, much less how complex it was.

Think a Norton 500 instead of a single speed rear-coaster brake cycle to go for your order of onion bhajis four blocks from your house.

I have put forth here at Dev1 that it would be a good idea to replace exim4 with DMA as the default MTA in all Devuan releases, with the exception of (maybe) server. ie: desktop-live, netinstall, desktop and minimal-live.

The logic behind that idea is that if a user knows about and needs whatever advantage exim4 has with respect to DMA, they will install it.
Otherwise, their system's MTA will be absolutely transparent to them. ie: it will just work as intended.

The plus will be that they will have avoided the possibility of hassle and wasted resources.

* See here: https://dev1galaxy.org/viewtopic.php?pid=30487#p30487

Best,

A.

#254 Re: Hardware & System Configuration » runit: exim4 is broken » 2024-10-09 16:09:16

Hello:

stopAI wrote:

... I missed it.

It was my mistake.

I linked to the DragonflyBSD page because it is where all data / info / How-to is, very complete.

But forgetting that when I went looking for it, I also found it hard to get the package location, I neglected to explain that for Debian / Devuan it is called DMA. ie: DragonFly Mail Agent 

DragonflyBSD and DMA are the same application, different ports / packaging (?).

Best,

A.

#255 Re: Hardware & System Configuration » runit: exim4 is broken » 2024-10-09 11:38:46

Hello:

stopAI wrote:

... not available in the official Devuan package repository...

Look again:

~$ apt list | grep dma
--- snip ---
dma/stable,now 0.13-1+b1 amd64 [installed]
dma/stable 0.13-1+b1 i386
--- snip ---
~$

See:
https://pkginfo.devuan.org/cgi-bin/poli … a&x=submit
https://pkginfo.devuan.org/cgi-bin/pack … =0.13-1+b1

Devuan Package View wrote:

Package: dma
Version: 0.13-1+b1
Installed-Size: 161
Maintainer: Arno Töll <arno@debian.org>
Architecture: amd64
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends:
ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.33), libssl3 (>= 3.0.0)
Conflicts: mail-transport-agent
Homepage: https://github.com/corecode/dma
Description-en: lightweight mail transport agent

The DragonFly Mail Agent is a small Mail Transport Agent (MTA), designed for home and office use.  It accepts mails from local Mail User Agents (MUA) and delivers them either to local mailboxes or remote SMTP servers.  Remote delivery includes support for features such as TLS/SSL and SMTP authentication.

Best,

A.

#256 Re: Other Issues » [SOLVED] libvirt: issue with default route changing to vnet after starting VM » 2024-10-09 11:31:41

Hello:

VPigEePMUn7X wrote:

... uninstalled ConnMan and installed NetworkManager, the problem went away.

I had quite a few issues with connman and although they were (apparently) solved, I was not able to understand how I got it done.

Nor was I able to find out just wtf connman does, when it does it and most importantly, why it does it.

For the moment I am at peace with it but am looking to purge my system of it once I either get the old/reliable WiCD installed or just go the way you have, with basic ifupdown and /etc/network/interfaces file.

Seeing that you are already there, here's a useful page you may want to have a look at.

Best,

A.

#257 Re: Hardware & System Configuration » runit: exim4 is broken » 2024-10-09 10:38:19

Hello:

Alverstone wrote:

... broken. exim4 complains about incompatible command line parameters.

Exim4 had a huge lot of issues at one point and it could be that (depending on your installed version / upgrade cycle) you are suffering them now.

You may want to have a read at this thread (specifically the last two posts) to get an idea of what may be going on in your box.

https://dev1galaxy.org/viewtopic.php?pid=30412#p30412
https://dev1galaxy.org/viewtopic.php?pid=30469#p30469

That said and unless you really need something as complex as exim4 running in your box, you may want to consider using a simpler, much lighter and less complicated MTA such as Dragonfly.

See this thread and the DragonflyBSD web page.

Best,

A.

#258 Re: Other Issues » [SOLVED] Detached signature file is in unsupported binary format » 2024-10-08 16:23:21

I3u wrote:

In my defense ...

Defense?
Whatever for?

None needed.
Not here.  8^)

I3u wrote:

... first "unsupported binary format" messages did not include that ...

Yes, you quite right.
And it was at that point that I realised what was going on.

Best,

A.

#259 Re: Other Issues » [SOLVED] Detached signature file is in unsupported binary format » 2024-10-08 12:31:03

Hello:

I3u wrote:

... some server problem.

So it seems:

File has unexpected size (32 != 12976). Mirror sync in progress?    # <- this 

You may want to consider marking the problem as [Solved].  8^)

Best,

A.

#260 Re: Off-topic » Thank you Devuan » 2024-10-08 12:25:58

Hello:

quickfur wrote:

... wouldn't even have a miniscule fraction of manpower ...
... devs would be drowning ...

Quite so.
And then, Devuan would be toast.

Debian (fundamentally, the ecosystem* behind it) knows this because it is, for the most part,  the path / timeline they have traced from the start.
Eventually, Debian (at least as we know it today) will also cease to exist and be replaced with whatever it is they eventually come up with. 
* MS, RH, IBM, Alphabet, etc.

The next step, already in motion, is this cross-distro unification idea.
And when that has become the norm, the question they will be asking will be "why do we have so many distributions?", the answer being quite obvious:

                        Why not have just The One OS for everyone, much easier to maintain.
                        And control.

Imagine, even a simple AI will be able to do it.   8^°

It is not a prophesy or any such thing, the writing has been on the wall for the longest time.
Way before Poettering's 2010 screed.

Best,

A.

#261 Off-topic » AI? Yes, we've heard of it ... » 2024-10-03 09:43:32

Altoid
Replies: 1

Hello:

Interesting article at The Register on how easy it can be for things to go south.

Fast, very fast.

Buck Shlegeris@Redwood Research wrote:

"I do think that AI automation poses very large risks to society, mostly from situations where the AIs autonomously decide to grab power, which is why I research the subject."

A prelude of [bad] things to come, me thinks.

Best,

A.

#262 Re: Devuan » Why has no one enhanced sysvinit? » 2024-10-02 22:58:10

Hello:

golinux wrote:

Bragging rights perhaps?

Hmmm ... Sharp.
You may have a something there.

From when all init software thing came into my field of view a few years ago, (as a workstation/desktop/laptop user) I could really not understand the benefits of whatever other choice I had besides the default sysvinit software I had running in my system.

I mean ...
WTF4?

ie: to what advantage?   <- key question for anyone with a workstation / desktop / laptop / netbook / RPi / etc.

What I did realise right away (10+ years of MS registry maintenance under my belt) was what a radical change / departure from what Linux is the advent of systemd brought along, so I looked for something else and found Devuan Jesse.

Thanks for that.

Best,

A.

#263 Re: Devuan » Why has no one enhanced sysvinit? » 2024-10-01 15:24:42

Hello:

dindusmith wrote:

sysvinit conforms to the Unix philosophy, small is beautiful, do one thing to be the best.

Exactly ...
Seems to me that you knew the answer before posting the question. ;^ )

Camtaf wrote:

... does what it was programmed to do...

golinux wrote:

... less is more . . .

+1

Best,

A.

#264 Re: Installation » [SOLVED] Stranger: how many 'connmen' in /etc/init.d? » 2024-09-28 00:18:00

Hello:

ralph.ronnquist wrote:

Sorry ...

Quite all right, no problem here.

ralph.ronnquist wrote:

... imagined you would put an ounce of thought ...

Yes ...
Like I wrote earlier, age does have consequences.

Had already posted when I realised what had happened.
But then, I would have never expected for connman~ to be loaded.

ralph.ronnquist wrote:

Silly me.

Don't worry, it will pass.
Soon you'll be your cheerful self again.  ;^ )

Do have a good week-end.

Best,

A.

#265 Re: Installation » [SOLVED] Stranger: how many 'connmen' in /etc/init.d? » 2024-09-27 23:20:12

Hello:

ralph.ronnquist wrote:

... use emacs to edit files?

No, I have never used emacs.

To tell you the truth, I don't have much of an idea about it save that it is a well known and very difficult to learn text editor.
One over which (in comparison to Vi) long wars have been fought on the old usenet. (?)

Using it is way above my pay grade, something I expect you already know.

ralph.ronnquist wrote:

... emacs leave backup files?
... How are they named?
... edited /etc/init.d/connman with emacs?

Please see above.

Just so you know, I use jed, nano or mc to edit files.

ralph.ronnquist wrote:

Are you wasting space here?

Hmm ... [Not good day, is it?]

So ...
How is the weather in Battery Point this morning?
I hope it is not raining.

Thank you very much for your input.

Best,

A.

#266 Installation » [SOLVED] Stranger: how many 'connmen' in /etc/init.d? » 2024-09-27 22:38:01

Altoid
Replies: 4

Hello:

There seems to be no end to this connman crap ...

While looking at what was going on in my system with respect to this new CUPS / cups-browsed incident, I looked up my running services, just in case.

And came across this:

~$ sudo service --status-all
--- snip ---
 [ + ]  connman
 [ + ]  connman~     # <- now there's *two*?
--- snip ---
~$ 

Not knowing enough about this to be able to say much more than what the [Subject] line says, I went to see what was up at /etc/init.d:

~$ ls -l -1 /etc/init.d
total 356
--- snip ---
-rwxr-xr-x 1 root root  1667 Jul 16 13:12 connman
-rwxr-xr-x 1 root root  1659 May 22 17:36 connman~
~$ 

So ...
Why do I have connman and connman~ in my system's /etc/init.d?
Any idea?

Then, thinking that they may have a different purpose (you never know) I asked diff with a stanza I found would give me the most straightforward answer.

ie: asking diff for just the differences

What did I find?
This:

~$ diff -y -W 180 --suppress-common-lines /etc/init.d/connman /etc/init.d/connman~
### DAEMON_OPTS ###								      |	### DAEMON_OPTS see https://dev1galaxy.org/viewtopic.php?pid=48040#p48040
### see https://dev1galaxy.org/viewtopic.php?pid=48040#p48040			      <
~$ 

Unless I am much mistaken, the difference is negligible/null.
ie: both files contain the same data, the difference being the formatting of a reference / link to information.

~$ cat /etc/init.d/connman
#!/bin/sh

### BEGIN INIT INFO
# Provides:       connman
# Required-Start: $remote_fs $syslog dbus
# Required-Stop:  $remote_fs $syslog dbus
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Short-Description: Connection Manager
### END INIT INFO

### DAEMON_OPTS ###                                                           <- here
### see https://dev1galaxy.org/viewtopic.php?pid=48040#p48040                 <- here        
--- snip ---
~$

vis-a-vis ...

~$ cat /etc/init.d/connman~
#!/bin/sh

### BEGIN INIT INFO
# Provides:       connman
# Required-Start: $remote_fs $syslog dbus
# Required-Stop:  $remote_fs $syslog dbus
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Short-Description: Connection Manager
### END INIT INFO

### DAEMON_OPTS see https://dev1galaxy.org/viewtopic.php?pid=48040#p48040   <- here 
--- snip ---
~$

That being the case, it would seem that one of them should not be there.
I could only find connman~ at /etc/init.d/ while connman was at /etc/init.d/ and all /etc/rcX.d/ instances.

I think that /etc/init.d/connman~ is (most probably) another remnant to be nuked but it is running, at least sudo service --status-all says so.

But I know no more about this than that.

Edit:
It could well be that I have edited /etc/init.d/connman hence the reference.
What seems strange that the usual date and initials I usually leave behind are not there.
But then age does have consequences.  8^°

If so, I have left behind a backup file which (for whatever reason) is not ignored by the system.
Using mc as I always do, I know it will leave a backup file when editing so I will just delete it.

A couple of questions remain:

Why is it connman~ ID'd as a service and then loaded by the system?
Is it that the modifier ie: [ ~ ] is not ignored?

More importantly, how to avoid this happening?
What did I miss when I edited /etc/init.d/connman?

Please advise.

Thanks in advance.

Best,

A.

#267 Re: Installation » [SOLVED] Very strange: is it connman or network-manager? » 2024-09-27 19:37:23

Hello:

chris2be8 wrote:

... df -k /var/run/ and ls -lid /var/run

Like you said:

~$ df -k /var/run
Filesystem     1K-blocks  Used Available Use% Mounted on tmpfs               # tmpfs
806412   832    805580   1% /run
~$ 
~$ ls -lid /var/run
913937 lrwxrwxrwx 1 root root 4 May 21  2017 /var/run -> /run                # symlink
~$ 
~$ lsattr /etc/resolv.conf
lsattr: Operation not supported While reading flags on /etc/resolv.conf      # same error with [chattr +i]
~$ 
~$ lsattr /var/run/connman/resolv.conf
---------------------- /var/run/connman/resolv.conf
~$ 
~$ lsattr /run/connman/resolv.conf
---------------------- /run/connman/resolv.conf
~$ 

Like I said before, with respect to connman and what it does with /etc/resolv.conf:

altoid wrote:

I am not at all happy with not knowing what is going and exactly why.

Thanks for your input.

Best,

A.

#268 Re: Installation » [SOLVED] Very strange: is it connman or network-manager? » 2024-09-27 16:05:53

Hello:

Gregory348 wrote:

... a conflict between Connman and NetworkManager ...

No, not that.

Turns out that NetworkManager at some time in the distant past, left a few remnants.
It was not installed and hence not running. See post #1.

Gregory348 wrote:

... check if /etc/resolv.conf is still being rewritten.

Well ...

That is the mystery still afoot.
Since my last post, my box has been rebooted no less that 3 / 4 times a day for the last week or so.
And for all those reboots and time it was on-line (up to seven hours a day) connman has (knock wood) seen it fit to leave my /etc/resolv.conf alone. 

But here's the thing®: I have no idea why.
ie: attempting to apply +i chattr to /etc/resolv.conf, tis last file being a symlink to /var/run/connman//etc/resolv.conf only gets an error message.
So I don't think what seemed to be the accepted solution took hold.

Gregory348 wrote:

... running: systemctl status NetworkManager.

Hmm ...
systemctl?  -> surely you jest ...

Thanks for your input.

Best,

A.

#269 Re: Installation » Wine 64-bit Prefix on Devuan 5 (daedalus) » 2024-09-23 22:19:53

Hello:

... frustrated. Anything else I can try?

Yes.

Check here.
It is the Debian/Ubuntu Wiki which should serve as a guide.

See also the posts in this search result.

Most if not all of them relate to the same problem you are having, probably some installation step skipped/gone south.
But should push come to shove, you can always purge everything Wine from your system and start over.

HTH.

Best,

A.

#270 Re: Installation » Wine 64-bit Prefix on Devuan 5 (daedalus) » 2024-09-23 11:01:20

Hello:

Welcome to Dev1.

antims wrote:

... the following response ...

Check this post at askubuntu.com.

antims wrote:

... still somewhat of a Linux noob.

Well ...
We have all been there and done that, at some time or another. ; ^)

That said, please note that with a quick/short search via any of the engines available (in this case, Google) you would have found the same link I found (first hit) to get an idea of what was be happening.

More than anything, it is a rather generic Wine / Linux installation issue.
Happens ...

Best,

A.

#271 Re: Installation » Trouble in paradise » 2024-09-21 19:48:44

Hello:

Red_Fir wrote:

... bug came with the update?

Why would you think that?
I'm up to date, with no bugs.

~$ uname -a
Linux devuan 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
~$ uname -a
~$ sudo apt update
--- snip ---
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
~$ 
Red_Fir wrote:

Where to ...

While it is not quite clear where the problem may lie, you may want to consider trying the simplest approach first.
eg:

1. empty your Downloads folder, getting rid of all traces of any partly downloaded/unnecessary files, including those in the Trash folder.
2. use wget to download the file.

From the quick look I had, Prusa Slicer 2.8.1 appimages can be downloaded from GitHub but from what the page indicates, they are either 90.2Mb or 94.2Mb, depending on your choice. ie: not 4Gb

So that would be something like this:

~$ wget https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage

It worked perfectly well for me:

~$ wget https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage
--2024-09-21 16:38:44--  https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage
Resolving github.com (github.com)... 20.201.28.151
Connecting to github.com (github.com)|20.201.28.151|:443... connected.
HTTP request sent, awaiting response... 302 Found
--- snip ---
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 98731200 (94M) [application/octet-stream]
Saving to: 'PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage'

PrusaSlicer-2.8.1+linux-x64-newer-dis 100%[========================================================================>]  94.16M  36.6MB/s    in 2.6s    

2024-09-21 16:38:48 (36.6 MB/s) - 'PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage' saved [98731200/98731200]

~$ 

Best,

A.

#272 Re: Other Issues » What is the real MAC of wlan0 ? » 2024-09-21 09:04:47

Hello:

quickfur wrote:

... gone are the good ole days where you can count on MACs being a reliable device identifier.

Been following this thread because it is of interest to me.
eg: I have wireless turned off in my fibre modem but was considering turning it on only for very specific purposes.

So ...
What is left if the only protection left seems to be WPA2?

Best,

A.

#273 Re: Installation » [SOLVED] Very strange: is it connman or network-manager? » 2024-09-19 23:32:18

Hello:

altoid wrote:

What is going on?

Getting back on track as per my OP.

1.
any NetworkManager files present in my system while that package was not installed can only be adscribed to remnants from either Jesse or ascii - cannot come up with any other explanation.

2.
evidently both NetworkManager and connman take the liberty of screwing around with /etc/resolv.conf which explains the banner left behind by the first.

With respect to whatever/however it is that connman screws around with /etc/resolv.conf, I have not been able to find a clear answer.
Yes, it does edit/replace the file but when and why is still a mystery.

To wit:
Applying chattr +i as sudo/root did not work and connman kept on changing my local DNS setting for my FO provider's.
This in spite of the local DNS address being set both in the FO provider's router and in the connman settings page.

And then, all of a sudden ...
... It has stopped doing it.

Why?
No idea.
Maybe it has a mind of its own?  8^°

The thing is that my local DNS setting has remained as required by me for ~ 48 hours and survived at least a half dozen reboots.
If it acts up again, I will just nuke the symlink and reinstate /etc/resolv.conf as a text file. 

But still ...
I am not at all happy with not knowing what is going and exactly why.
Much less with applying brute force (chattr +i) to keep it from happening.

So I am planning to approach the solution suggested by Ralph.Ronnquist: use ifupdown.

I found an interesting page with what seem to be a set of comprehensive instructions to make the conversion to ifupdown.

But I'll have to study them before taking any action but I think it is definitely a step in the right direction.

Thank you very much to all those who pitched in.
Marking this one solved.

Best,

A.

#274 Re: Other Issues » [SOLVED] Pinta is no longer in repositories » 2024-09-19 12:19:08

Hello:

Shlwh wrote:

... solved the problem ...
... thank you for clarifying smile

You're welcome.

Best,

A.

#275 Re: Installation » [SOLVED] Very strange: is it connman or network-manager? » 2024-09-18 20:27:07

Hello:

rolfie wrote:

connman isn't installed on my workstation ...
... it just has LAN

I see ...

When I left a shared WiFi arrangement to get an ADSL and then went on to fibre, I kept WiCD and a network management application (whatever came with Daedalus as default when I upgraded from Beowulf/Chimaera) just to be able to use a wifi spot nearby, just in case fibre goes down.

But 99% of the time I am using LAN, just like you.
Maybe I should look into doing just that ...  8^°

If you could share your how-to I'd be very obliged.

Thanks in advance.

Best,

A.

Board footer

Forum Software