The officially official Devuan Forum!

You are not logged in.

#426 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 13:03:53

Hello.

Altoid wrote:

Not so sure ...

Not willing to let it go at that, I went over the error message again ...

# update-initramfs -u
--- snip ---
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
--- snip ---
#

... because it had to be a spelling or syntax problem.
ie: my bad.

I tried with misspelling none -> nones and got this:

# update-initramfs -u
--- snip ---
W: initramfs-tools configuration sets RESUME=nones
W: but no matching swap device is available.
--- snip ---
#

The system does not find a matching swap device, but that is not the error I previously had.

So I tried using the syntax that the error message actually printed out, ie: resume: none <- a space in the wrong place
and then got the original error message:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

So ...
Mystery solved.
ie: a severe case of PEBCAK.  8^°

Once again, thanks for your input.

Best,

A.

#427 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 12:24:15

Hello:

ralph.ronnquist wrote:

Please show the file in that failing use case, when you set RESUME=none ...

I had deleted the edited file and returned to the back-up I saved.
So I re-edited it now.

$ cat /etc/initramfs-tools/conf.d/resume
# changed 06122024
# see https://dev1galaxy.org/viewtopic.php?pid=53266#p53266
# this box does not use hibernation / resume

RESUME=none

# RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$ 

But now it works.

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#

I'm sure I had written / spelled it correctly.

But if it did not work, there was obviously something amiss.
Maybe the added comments?
Not so sure now.  8^/

Thank you very much for your input.

Best,

A.

#428 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 11:39:25

Hello:

ralph.ronnquist wrote:

Please show ...

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$ 
$ sudo blkid
--- snip ---
/dev/sdb3: UUID="f0187ff0-be52-4bbc-9461-40f744554b85" TYPE="swap" PARTUUID="0004a8f4-03"
--- snip ---
$ 
ralph.ronnquist wrote:

Is there another file ...

No, just that one.

$ ls /etc/initramfs-tools/conf.d/
resume
$ 

Thank you for your input.

Best,

A.

#429 Installation » Devuan Daedalus - hibernation settings » 2024-12-06 10:39:25

Altoid
Replies: 7

Hello:

This topic is a split from this this thread.
(See posts #19 / #20)

--- split ---

fsmithred wrote:

... want to hibernate to disk, replace "none" with the uuid of your swap partition.

--- /split---

That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot as needed.
ie: there is no hibernation image present, never set it up to hibernate.

At some point my dmesg printout reads:

--- snip ---
[   24.068315] PM: Image not found (code -22)
--- snip ---

Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?

If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

The system looks for a swap file and not finding one with a UUID of none, finds one with a valid UUID and uses it.
But like I said, I never set the system up for hibernation and although the system finds a swap file to hibernate, it does not (as dmesg indicates) find an image. (I am assuming it is a hibernation image)

How to solve this?
Thanks in advance.

Best,

A.

#430 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-05 15:46:30

Hello:

greenjeans wrote:

@Altoid no worried from me about thread-jacking ...

Thanks, but it is your thread ie: started by you.

greenjeans wrote:

... forum decorum being what it is ...

... is the reason I made reference to thread-jacking.

But I see no need to change anything.

My piggybacked question was posted on the answer fsmithred posted for you.
Still your thread.

Best,

A.

#431 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-05 11:56:26

Hello:

This post caught my eye.

Don't want to hijack the thread but seems relevant.
So just one question, if I may.
Please let me know if it warrants a separate thread.

fsmithred wrote:

... want to hibernate to disk, replace "none" with the uuid of your swap partition.

That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot.
ie: there is no hibernation image present, never set it up to hibernate.

At some point my dmesg printout reads:

--- snip ---
[   24.068315] PM: Image not found (code -22)
--- snip ---

Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?

If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

The system looks for a swap file and not finding one with a UUID of none, finds one and uses it.
What to do?

Best,

A.

#433 Re: Other Issues » Clearing the DNS cache » 2024-11-25 23:52:14

Hello:

@Ron
See https://www.linux.org/threads/clearing- … ost-250695

GatorsFan wrote:

Since you are using Devuan you do not need to flush the DNS Cache it does not cache DNS lookups - depending if you installed it with SysVInit or RunIt - since there is no systemd any systemd commands will not work such as systemctl
You router may cache them but all non-systemd Linux OSes do not DNS cache as far as I know

That said, I run a Chimaera VM with pi-hole and unbound inside my Daedalus box.
There is a DNS cache but it is mine.
It can be flushed though the UI.

Best,

A.

#434 Re: Off-topic » systemd v257 requires the merging of /bin and /sbin » 2024-11-15 12:21:02

Hello:

They cannot be disabled, there are no options to do so ...

That is a proper developer / programmer reply, states facts as they are and (sort of) explains why.
ie: textbook proper

... feel free to send a patch upstream to implement such a feature if you want to do so.

That is a proper assholican / idiotic reply.
ie: textbook proper

A.

#435 Re: Off-topic » systemd v257 requires the merging of /bin and /sbin » 2024-11-15 11:21:24

Hello:

steve_v wrote:

... sky is blue, the sun rose in the east again, and Lennart is still an asshole.

I used to think more or less along the same lines.
But after reflecting on the matter (on and off fashion) I came to the conclusion that he may be an asshole, an idiot of sorts too.

---> But he is quite clearly a capable developer / programmer. <---
Just why do you think he is working for YouKnowWho?

I'd try to avoid continuing to underestimate Poettering, at your+everyone else's peril.

What I once labelled as being an asshole+idiot was the result of my frustration at what was going on.
But then I realised that it was my reaction (questionable and angry ad hominem manner) against the fact that he had evidently been working to infect Debian with the infamous systemd* for quite a long time, maybe years.

You do not come up with such complex shit overnight, no matter how capable you are.

After that, he outed himself by openly going to work for MS, where he now continues with the classic +30 year old Embrace Extend and Extinguish process we are all familiar with, process that he surely started from inside Debian much before systemd was ever heard of.   

* nothing but an MS registry for the Linux ecosytem

And here we are.

Best,

A.

#436 Re: Installation » New bpo Kernel Upgrade 6.10.11+bpo-amd64 fails to boot » 2024-11-10 17:23:03

Hello:

alexkemp wrote:

... could not find an easy way to do that ...

You can also do it via email.

See here: https://www.debian.org/Bugs/Reporting

Sending the bug report via e-mail
--- snip ---
You can report bugs in Debian by sending an e-mail to submit@bugs.debian.org with a special format described below. reportbug (see above) will properly format the e-mails for you; please use it!
--- snip ---

I guess that as long as it is properly formatted, it will not bounce / be ignored.
Maybe just avoid mentioning Devuan ...  8^°

Best,

A.

#437 Re: Desktop and Multimedia » Pluma bug and proposed fix: Where do I report, and what happens next? » 2024-11-04 12:25:35

Hello:

Ron wrote:

... Devuan 5's repos is 1.26.0, so it may be already fixed ...

The changelog file in pluma_1.26.1-2.1_amd64.deb does not seem to mention it (?): 

### pluma 1.26.1

 * Translations update
 * Fix out-of-bounds write
 * Fix double activation of extensions
 * pluma-plugins-engine: fix memory leak

### pluma 1.26.0

 * Translations update
 * filebrowser-plugin: fix segfault on open-terminal action
 * update copyright to 2021
 * build: fix shebangs
 * warning: declaration of  shadows a global declaration
 * pluma: Use EXIT_SUCCESS macro instead of int value (portability)
 * help: update help for sort plugin
 * sort plugin: Port sort plugin to the new GtkSourceView api.
--- snip ---

Cannot be tested in Daedalus; GDebi won't install -> non-satisfiable dependency: gir1.2-pluma-1.0 (=1.26.1-2.1).

Best,

A.

#438 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-17 20:22:12

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

That is usually, albeit not always, a good way to start.

I went looking and through trial and error finally managed to (?) domesticate the beast a bit.
But the jury is still deliberating, so caveat emptor.

What I did in about:config was this:

1. looked for all instances of recent
2. set browser.bookmarks.editDialog.maxRecentFolders to 0
3. set browser.download.manager.addToRecentDocs to false
4. set browser.engagement.recent_visited_origins.expiry to 1*
5. set browser.urlbar.recentsearches.featureGate to false
6. set browser.urlbar.suggest.recentsearches to false
7. set privacy.restrict3rdpartystorage.heuristic.recently_visited_time to 1*
8. set services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed to false

* the default values are (probably) in seconds so I used 1 in case nought (0) means forever.

There's probably more to edit, time will tell.

Thank you all for your input.

Best,

A.

#439 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-17 14:14:38

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

Sure, no problem with that.

stargate-sg1-cheyenne-mtn wrote:

... start investigating by searching these ...

Thanks for that info.

stargate-sg1-cheyenne-mtn wrote:

... keep us posted ...

Of course, always.

But ...
On one hand, I have not heard from anyone (yet) with the same issue and on the other, I have not been able to reproduce it.
Not has it happened again.

What I know for sure is that I had not ever seen it happen before the last two Firefox *esr updates.
ie: the versions without the upper left hand View recent browsing across windows and devices icon.

Can that new crap feature be disabled?

And then it may be a fluke, a hardware problem or worse, allucinations. 8^°
No idea, but I don't like it.

Thanks for your input.

Best,

A.

#440 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-16 18:31:23

Hello:

quickfur wrote:

... you can always ...
... probably also includes profiles and settings ...

I'd rather it worked as intended.

One thing though: while testing today I found that I cannot reproduce this at will, which is strange.
I'll have to do some more testing.

Thanks for your input.

Best,

A.

#441 Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-16 15:00:27

Altoid
Replies: 18

Hello:

Devuan Daedalus now running Firefox 128.3.1esr but the same thing was happening with the previous browser version.

I have (as I have done ever since I can recall) the Privacy and Security -> History setting as 'Use custom settings for history' with 'Clear history when Firefox closes' checked.

Always worked, but now I find that closing Firefox does not do what I set it to do.

I return home, boot my box, open Firefox and instead of getting the usual blank page, I get the last web site I was looking at when I closed the browser.
Quite annoying.

Has anyone else seen this same behaviour?
Any idea as to what may be going in?

Thanks in advance.

Best,

A.

#442 Re: Hardware & System Configuration » 6.12 kernel and Renesas USB 3.0 USB host controllers » 2024-10-16 11:12:09

Hello:

mirrortokyo wrote:

... wasted several hours bisecting the failure of the 6.12-rc? kernels ...

I beg to differ.

I don't think you have wasted your time.
You have spent / invested it. ie: in doing part of the legwork needed to make progress in the testing of the upcoming 6.12 kernel release.
Not the same by any means.

Thank you for that.

mirrortokyo wrote:

... hardware affected was identified ...

Yes.
My box running Devuan Daedalus has a card with one of those  ubiquitous controllers, works properly:

~$ lspci
--- snip ---
04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
--- snip ---
~$ 
~$ lspci -n
--- snip ---
04:00.0 0c03: 1912:0014 (rev 03)
--- snip ---
~$ 
/boot$ cat config-6.1.0-26-amd64 | grep -i CONFIG_USB_XHCI_PCI_RENESAS
# CONFIG_USB_XHCI_PCI_RENESAS is not set
/boot$ 

Being 6.12 a release candidate (ie: in testing) this glitch will probably be ironed out by the time 6.12 is released, possibly by mid/end of november.

You may want to consider filing a bug report upstream bug report to make both your efforts count and the maintainers aware of the problem.

Best,

A.

#443 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.

#444 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.

#445 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.

#446 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.

#447 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.

#448 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.

#449 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.

#450 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.

Board footer

Forum Software