The officially official Devuan Forum!

You are not logged in.

#1776 Installation » [Solved] apt sources list retrieve? » 2019-04-27 22:49:16

Altoid
Replies: 6

Hello:

Is there a way to retrieve the /etc/apt/sources.list file from the command line?

Something like this:

# apt-get install sources.list   <- just an idea, I know it does not work

Or do I have to jed and edit sources.list by hand?

Thanks in advance.

A.

#1777 Re: Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-27 20:53:28

Hello:

PedroReina wrote:

... defaults of any OS instalations are just that, the defaults.

Of course ...

My point being that getting Orage installed by default when installing the XFCE desktop does not seem to have any justification.
Or is it an essential part of XFCE, without which XFCE does not function at all or is in any way hampered?

PedroReina wrote:

... glad to know that your problem is fixed. smile

Thanks.

A.

#1778 Re: Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-26 23:24:52

Hello:

Altoid wrote:

This time the installation went through without any issues but the result has been the same as before, in the two machines I have.
But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_

I managed to fix the problem but have no idea why it happened or how to avoid it happening.

To fix it, with the USB installation in place, I booted with a Devuan ASCII 2.0.0_i386_DVD-1 installer DVD, went to Rescue Mode and reinstalled GRUB to the USB stick (/dev/sdb).

And that was it.

The drive booted into GRUB and upon logging in I installed XFCE4 which, after a reboot, started without any issues (for the time being).

rant
It's a pity that installing a desktop drags so much stuff in with it ...
eg: I did not ask for an Orage Calendar or Orage Globaltime.
But there it is.

And uninstalling it also uninstalls XFCE4 (and only XFCE4).
Reminds me of some similar MS practises we have all suffered at some time or another ...
/rant

But the problem is fixed.

Thanks for your input.

A.

#1779 Re: Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-26 21:01:23

Hello:

PedroReina wrote:

Yes. Repeat the procedure. At the first error ...

I've repeated the procedure.
But in case there was some issue with the SDCard, this time I carried out the installation using the same devuan_ascii_2.0.0_i386_netinst.iso burnt to a CD instead of dd'd to an SD Card.

Again, the CD-ROM was correctly verified.

This time the installation went through without any issues but the result has been the same as before, in the two machines I have.

But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_

The fdisk -l output is the same, only difference is where the boot partition starts (2048 instead of 4096):

groucho@devuan:~$ sudo fdisk -l /dev/sdf
[sudo] password for groucho: 
Disk /dev/sdf: 7.2 GiB, 7757398016 bytes, 15151168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000312cd

Device     Boot    Start      End Sectors  Size Id Type
/dev/sdf1  *        2048  9220095 9218048  4.4G 83 Linux
/dev/sdf2        9222142 15151103 5928962  2.8G  5 Extended
/dev/sdf5        9222144 12294143 3072000  1.5G 82 Linux swap / Solaris
/dev/sdf6       12296192 15151103 2854912  1.4G 83 Linux
groucho@devuan:~$ 

A.

#1780 Re: Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-25 23:12:24

Hello:

fsmithred wrote:

...  everything except 'Standard system utilities' at the tasksel window ...

It refused to do it.
ie: failed at that point in the installation.

Retried a number of times but the only way I was able to continue and write GRUB to the USB stick was to uncheck that.
But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_ 

I'm having a very hard time with this installation, no idea what's going on.
The .iso file I downloaded checked out perfectly well and the installer verified the "CD-ROM" so that's not it.

This is what I have:

groucho@devuan:~$ sudo fdisk -l /dev/sdf
[sudo] password for groucho: 
Disk /dev/sdf: 7.2 GiB, 7757398016 bytes, 15151168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000312cd

Device     Boot    Start      End Sectors  Size Id Type
/dev/sdf1  *        4096  9220095 9216000  4.4G 83 Linux
/dev/sdf2        9222142 15151103 5928962  2.8G  5 Extended
/dev/sdf5        9222144 12294143 3072000  1.5G 82 Linux swap / Solaris
/dev/sdf6       12296192 15151103 2854912  1.4G 83 Linux
groucho@devuan:~$ 

Any ideas?

Thanks in advance.

A.

#1781 Re: Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-25 21:33:46

Hello:

fsmithred wrote:

...  If you choose one of the desktops in the installer, you get the task-xxx-desktop package that pulls in everything else.

I see ...

fsmithred wrote:

... un-check everything except 'Standard system utilities' at the tasksel window, you'll get a working cli-only system, and you can then install xfce4 and whatever else you want.

OK, sound like it may be pretty much what I need.
I suppose it configures the wired network?

fsmithred wrote:

... install from CD-1 without a network mirror.
... a working desktop with a bunch of the usual stuff missing.
... not sure if that includes libreoffice or not.

I think it does.

Thanks for your input.

A.

#1782 Installation » [Solved] Software selection in Devuan ASCII netinst » 2019-04-25 20:50:01

Altoid
Replies: 20

Hello:

I'm needing to install Devuan with just the main stuff + XFCE so I can complete the installation later on once bootedup and running.
eg:  no Open Office, among other things.

But I see no way of doing this in Devuan ASCII netinst, even with the advanced option.

Any way to do this?

Thanks in advance.

A.

#1783 Re: Installation » Boot from SD / Installation to HDD question » 2019-04-23 20:14:22

Hello:

fsmithred wrote:

... you can boot from the SD card ...

Yes.

Hitting esc at boot time gives me what Asus rather awkwardly calls the BBS Popup (Boot Selection Popup) menu, where I can choose from HDD, SD Card slot or whatever is plugged into whichever one of the three USB 2.0 ports has something booteable plugged in. I haven't been able to find out what the extra B in BBS stands for, but it sounds/looks bad.  =-D!

fsmithred wrote:

... should be able to install grub to the SD card, put / on the SD card, and put /home /var and swap on the HDD.

OK

fsmithred wrote:

... normal installation that can be updated/upgraded.

That's great.

fsmithred wrote:

If you want to install to the usb stick ...

No, not really.

In my experience, I have found some USB ports to be liable to have problems, not in the contacts (unless abused) but with the plastic 'tonge' that is supposed to be the support for whatever is plugged in.
Unfortunately, it is far too easy to inadvertently exert force on the plugged in whatever in such a way that it leverages this plastic piece up/down.

After a number of these instances (think 2010 to today) and even if they are very slight, the plastic will eventually weaken and then break off.   
Which is why I'd rather boot from the SD slot.

fsmithred wrote:

... it is possible to boot to ram and then install to the same stick.

What would drive me to boot to RAM is that it would be a faster read while installing.

fsmithred wrote:

... leave 2MB free space before the first partition.
Grub might need that. Gparted insists on leaving 1MB.
Keep your eye on that.

Will do. Once again, thanks for the heads up.
2MB it is then.  =-)

Thanks a lot for your input.

A.

#1784 Re: Installation » Boot from SD / Installation to HDD question » 2019-04-23 17:38:10

Hello:

fsmithred wrote:

It should work ...

OK, one down.  =-)

fsmithred wrote:

... it's normal to have different partitions on different drives.

I thought as much once I realised I could split / from the rest of the installation and boot my main rig from a SSD. 
Have not done it yet.

I really like Linux's ability to put things in their own place.
I recall that in another life/another OS, I put both the /swap and a /programs directory on separate partitions.
I did not trust the MS 'program files' arrangement.

Not to much use besides keeping things tidy as a lot of stuff still ended up in /program files.   
Eventually I put the swap file in the same partition as /programs as all that took a toll speedwise.

fsmithred wrote:

Take note of what the device names are when you boot from usb vs. booting from internal disk.

Of course, thanks for the heads up.

fsmithred wrote:

Using uuids in fstab should help with that.

OK.

What worries me a bit is the actual process, eg:

1. boot Devuan ASCII (to ram?) from image dd'd to a USB stick.
2. install to the second partition (ext4) on HDD, where the first partition (NTFS) holds the XP installation.
3. make sure /, boot record and GRUB are installed to the SC Card in the slot.

Q1.: How do I make that last part of the process failsafe?

Q2.: Am I correct in assuming that installing ASCII in this manner will allow for updating?
It is something I have found booting from an *.iso with persistance will not and mess it all up.

Thanks for your input.

A.

#1785 Installation » Boot from SD / Installation to HDD question » 2019-04-23 15:24:14

Altoid
Replies: 5

Hello:

I've seen that I could boot my ASCII rig from a 32Gb SDD (holding just / ) with the rest of the installation ie: /home, /var and /swap residing on separate partitions in another HD.

I was wondering if I could do something analogous with my Asus 1000HE 2Gb netbook on which I need to run XP for some time yet.

ie: boot from a USB or SD card holding just / and with the rest of the installation ie: /home, /var and /swap residing on separate partitions in the netbook's HD, where the first partition and the boot record belong to XP.

I have attempted to boot with an *.iso image and use the persistence option but it has proven to be rather problematic.

Thanks in advance.

A.

Edited: dyslexical spelling mistakes.

#1786 Hardware & System Configuration » CPUFreq issues » 2019-04-07 01:06:17

Altoid
Replies: 0

Hello:

It seems that there's a bug (race condiiton) in the kernel's CPUFreq code, only discovered from 4.20 due to some changes in the kernel.
I understand it is still an issue in the 5.0 kernel. (read it somewhere but now I just cannot find the link ...)

See:
https://bugzilla.kernel.org/show_bug.cgi?id=199349#c4

I happen to have a shutdown hang issue with my rig and was wondering if the fact that I have cpufrequtils installed makes things worse.
It is set at 'performance' with no min o max settings so that it does not kick in (I guess it does not).

But the issue is still there. =-/

Would uninstalling cpufrequtils and using linux-cpupower instead for setting performance help in any way?

Is all this (cpufreq and linux-cpupower) in any way related to cpuidle and how it works?

groucho@devuan:~$ sudo dmesg | grep -i cpuidle
[    0.172005] cpuidle: using governor ladder
[    0.188005] cpuidle: using governor menu
groucho@devuan:~$ 

Thanks in advance.

A.

#1787 Re: Devuan » What happened at devuan.org? » 2019-04-06 16:27:05

Hello:

dxrobertson wrote:

... lost our understanding of April fools jokes?

No ...
Providing April's Fool pranks are something you are sufficiently acquainted with to understand what they are about.
If not, just like you (apparently sufficiently acquainted), people who are not (a great many others) will also be fooled.
And therefore rightly alarmed.

Enough to send an Admin a mail, like I did.

dxrobertson wrote:

... think it was pretty funny - gopher!

I would ask you to consider that sufficiently acquainted actually entails knowing where necessary limits lay.
ie: what can be considered an April's Fool joke and what ends up being a stupid prank reflecting in the worse possible manner on its author.

Becasue with respect to humour, a basic sense of oportunity, grasp of context and timing are what make the difference between being funny or an utter dick-head. 

I certainly did not find it funny and am really very dissapointed to have seen this happen here.

Of course, YMMV.

A.

#1788 Re: Hardware & System Configuration » [Solved] Editing /proc/acpi/wakeup » 2019-04-03 14:48:01

Hello:

Altoid wrote:

... if I can bash out a modification.

It would seem that acpitool is just an application that writes to /proc/acpi/wakeup, just like you would do by using echo. 

Found a helping hand at Stack Overflow and put this script to execute at boot (in rc.local)

#!/bin/sh
# set /proc/acpi/wakeup to disabled with acpitool

PATH=/sbin:/bin:/usr/sbin:/usr/bin:

for i in $(seq 1 9)
do
    /usr/bin/acpitool -W $i
done
groucho@devuan:~$ 

This is the result, sleep to all input devices seen by acpitool set to disabled:

$ acpitool -w
   Device	S-state	  Status   Sysfs node
  ---------------------------------------
  1. USB0	  S4	*disabled  pci:0000:00:1d.0
  2. USB1	  S4	*disabled  pci:0000:00:1d.1
  3. USB2	  S4	*disabled  pci:0000:00:1d.2
  4. USB5	  S4	*disabled
  5. EUSB	  S4	*disabled  pci:0000:00:1d.7
  6. USB3	  S4	*disabled  pci:0000:00:1a.0
  7. USB4	  S4	*disabled  pci:0000:00:1a.1
  8. USB6	  S4	*disabled  pci:0000:00:1a.2
  9. USBE	  S4	*disabled  pci:0000:00:1a.7
  10. P0P1	  S4	*disabled  pci:0000:00:01.0
  11. P0P2	  S4	*disabled  pci:0000:00:06.0
  12. P0P3	  S4	*disabled  pci:0000:00:1c.0
  13. BR11	  S4	*disabled
  14. BR12	  S4	*disabled
  15. BR13	  S4	*disabled
  16. P0P4	  S4	*disabled  pci:0000:00:1c.4
  17. BR15	  S4	*disabled
  18. P0P5	  S4	*disabled  pci:0000:00:1e.0
  19. GBE	  S4	*disabled  pci:0000:00:19.0
  20. SLPB	  S4	*disabled
$ 

Cheers,

A.

#1789 Re: Hardware & System Configuration » [Solved] Editing /proc/acpi/wakeup » 2019-04-02 11:35:10

Hello:

Head_on_a_Stick wrote:

Rather than use acpitool ...

Indeed ...

That's the first option I came across when I started with this but I was at odds with the posted script because (as I understand it) it activates when the machine is going into suspend, which my machine will not do as I have turned off all PM options.

It's a Sun Ultra 24 with a buggy BIOS (last version available) and ACPI issues so as part of the intended fix, I have deactivated all PM features.

When I found sysctl (which does not work with /proc/sys) and then acpitool, I went with the latter as it did work and seemed rather more straightforward, albeit with my very clumsy script. 

I'll look into the posted script again and see if I can bash out a modification. (pun intended).  =-)

Thanks a lot for your input.

Cheers,

A.

#1790 Re: Hardware & System Configuration » [Solved] Editing /proc/acpi/wakeup » 2019-04-02 02:05:52

Hello:

Head_on_a_Stick wrote:

I could be wrong here but ...

There's a post here https://unix.stackexchange.com/question … 417_417965 that may indicate that you are right ...

/proc/acpi/wakeup is not a child of /proc/sys, sysctl doesn't work here.

... but it's over my pay grade, no idea how that works. =-/

Head_on_a_Stick wrote:

... script is the "correct" solution.

Yes, the script is a solution and the one I'm using works but it's awfull.

If I cannot find a way for the command acpitool -W to address multiple entries in /proc/acpi/wakeup at once, I need a more complex script ie: with a minimum of elegance to do it with.

Any idea where I can get a sample script to modify from?

Thanks in advance.

A.

#1791 Hardware & System Configuration » [Solved] Editing /proc/acpi/wakeup » 2019-03-31 22:22:16

Altoid
Replies: 5

Hello:

In an effort to weed out an acpi problem, I need to set all the /proc/acpi/wakeup variables to disabled.

Like this:

groucho@devuan:~$ acpitool -w
   Device	S-state	  Status   Sysfs node
  ---------------------------------------
  1. USB0	  S4	*disabled  pci:0000:00:1d.0
  2. USB1	  S4	*disabled  pci:0000:00:1d.1
  3. USB2	  S4	*disabled  pci:0000:00:1d.2
  4. USB5	  S4	*disabled
  5. EUSB	  S4	*disabled  pci:0000:00:1d.7
  6. USB3	  S4	*disabled  pci:0000:00:1a.0
  7. USB4	  S4	*disabled  pci:0000:00:1a.1
  8. USB6	  S4	*disabled  pci:0000:00:1a.2
  9. USBE	  S4	*disabled  pci:0000:00:1a.7
  10. P0P1	  S4	*disabled  pci:0000:00:01.0
  11. P0P2	  S4	*disabled  pci:0000:00:06.0
  12. P0P3	  S4	*disabled  pci:0000:00:1c.0
  13. BR11	  S4	*disabled
  14. BR12	  S4	*disabled
  15. BR13	  S4	*disabled
  16. P0P4	  S4	*disabled  pci:0000:00:1c.4
  17. BR15	  S4	*disabled
  18. P0P5	  S4	*disabled  pci:0000:00:1e.0
  19. GBE	  S4	*disabled  pci:0000:00:19.0
  20. SLPB	  S4	*disabled
groucho@devuan:~$ 

As doing it via terminal lasts only till the next reboot, for the time being I'm doing it with a script in /etc/rc.local:

usr/bin/acpitool -W 1 && usr/bin/acpitool -W 2 && usr/bin/acpitool -W 3 && usr/bin/acpitool -W 5 && usr/bin/acpitool -W 6 && 
usr/bin/acpitool -W 7 && usr/bin/acpitool -W 8 && usr/bin/acpitool -W 9

Now this is really not an elegant way to do this (running the same instruction eight times with a different variable each time!) something which is clearly reflected as the output rolls off the screen although for some reason it is not getting logged anywhere.

The man file does not indicate how to set multiple devices at once.

I understand there's also the proper way to do this: with a *.conf file in the /etc/sysctl.d directory.

groucho@devuan:~$ cat /etc/sysctl.d/README.sysctl
Kernel system variables configuration files

Files found under the /etc/sysctl.d directory that end with .conf are parsed within sysctl(8) at boot time.  If you want to set kernel variables you can either edit /etc/sysctl.conf or make a new file.

The filename isn't important, but don't make it a package name as it may clash with something the package builder needs later. It must end with .conf though.

My personal preference would be for local system settings to go into /etc/sysctl.d/local.conf but as long as you follow the rules for the names of the file, anything will work. See sysctl.conf(8) man page for details of the format.
groucho@devuan:~$ 

I cannot figure out the syntax and cannot find any examples on line.

Anyone know how to do this?

Thanks in advance.

A.

Edit 01/04/19
Dir name correction

#1792 Re: Desktop and Multimedia » Thunar and nautilus-terminal » 2019-03-31 17:11:50

Hello:

PedroReina wrote:

Thank you for your link ...

You're welcome.

PedroReina wrote:

... free software needs more humanpower.

One would tend to, at first sight, agree.
But I have come to think that, to quote George and Ira Gershwin in Porgy and Bess, "It ain't necessarily so."
I have the notion that what is needed is something else and manpower may not be the problem.

A bit OT, but just a few lines:

It seems that it's not possible (and probably won't ever be) to harness the creative work of the countless thousands of programmers, developers and contributors dedicated to this fantastic project started by Linus Torvalds in a way that that they just work together and come up with just 'one' 100% functional and scalable 'distro' instead of generating gadzillionz different flavours, forks of whatever is available out there.

One of the (few) negatives of open source and free licensing is that forking projects just for the sake of having their own project - "look Ma! I rolled my own distro!!!!" - has almost become the norm.

It is highly counter-productive and there is no logical reason for it.

PedroReina wrote:

I'll write the required Thunar feature myself.

If you do, I'll gradly do the testing.

Cheers,

A.

#1793 Re: Desktop and Multimedia » Thunar and nautilus-terminal » 2019-03-31 15:29:03

Hello:

PedroReina wrote:

... seems to me similar to the embedded terminal I use in Dolphin.

I think it has exactly the same functionality but it is directly built into Dolphin. 
Very useful.

PedroReina wrote:

... we could write this feature in the "wish list" of Thunar.

Ahhh ...
Yes, we could.

But don't hold your breath, it would probably go nowhere, fast.

https://bugzilla.xfce.org/show_bug.cgi?id=11319

Harald Judt 2015-05-13 13:33:38 CEST  wrote:

Only "open terminal here" is supported. There are other, more complicated file managers that provide what you want, but thunar does not.

It reads sort of like take it or leave it to me.

Cheers,

A.

#1794 Re: Desktop and Multimedia » Thunar and nautilus-terminal » 2019-03-31 11:14:51

Muito obrigado.
Mas eu já tenho tudo isso (custom actions) habilitado em Thunar.
O que o plug-in do nautilus-terminal faz no Nautilus aparentemente não é possível fazer em Thunar.

Thank you.
But I already have all that (custom actions) enabled in Thunar.
What the nautilus-terminal does in Nautilus apparently in not possible in Thunar.

AQ.

#1795 Desktop and Multimedia » Thunar and nautilus-terminal » 2019-03-27 03:01:23

Altoid
Replies: 6

Hello:

One of the things (the only one, actually) that I miss from my days with Ubuntu is the drop down terminal you could have in Nautilus.

It's the Xfce drop down teminal (which is just like Tilda and others) but with the distinct advantage of being embedded into Nautilus' tabs/windows, following the navigation.
Much better than the open terminal here or open root terminal here custom actions. 

Synaptic in ASCII has a long list of nautilus packages but nautilus-terminal is not one of them.

Any one know if there's something like this for Thunar?

Cheers,

A.

#1796 Re: Other Issues » Beowulf - new stuff » 2019-03-16 23:16:33

Hello:

Geoff 42 wrote:

... thinking that apparmor is stopping it ...

AppArmor is disabled in ASCII.

groucho@devuan:~$ sudo dmesg | grep -i apparmor
[    0.010652] AppArmor: AppArmor disabled by boot time parameter
groucho@devuan:~$ 

I do not have a boot time parameter disabling apparmor (ie: not my doing), so it is probably disabled at a lower level in ASCII and it's not even in the repository.
I'm guessing that there may have been good motive for all that.

When I tried my hand at the newer post-ASCII kernel, AppArmor was installed along with it.

The newer kernel ended up complicating things in my rig so I gave up.
But on uninstalling it, AppArmor was left behind and on reboot threw a few errors in the logs.

AppArmor is a service and as such you could disable it to see what happens with haveged and eventually remove it if it gives you too much trouble.
On the other hand, I guess AppArmor could be configured not to mess with haveged.

I for one am rather weary of AppArmor (or SELinux for that matter) and it's eventual usefulness in a single user installation, where you make every possible effort to run a tight ship. I see it as being more an administrator's tool in a multi-user environment but then, what do I know?

I may well be mistaken and prove to be a god-send instead of a headache.

Cheers,

A.

#1797 Hardware & System Configuration » keyboard-configuration update » 2019-03-16 13:51:49

Altoid
Replies: 0

Hello:

I'm running an up to date Devuan ASCII 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1.

After much searching, it would seem getting my Sun Microsystems Type 7 keyboard working properly requires an update to the keyboard-configuration package v1.164.

In saying this, I'm assuming (perhaps incorrectly) that the keyboard-configuration package (handling the system wide keyboard preferences) works with or is directly linked to whatever files xkeyboard-config has.

The latest available version of xkeyboard-config is v2.24 (10/2018) but it is not a package.

See: xkeyboard-config should be updated to 2.24.

This latest version includes the following patches and configuration files:

https://github.com/oracle/solaris-userl … 2b8882a06d
https://github.com/oracle/solaris-userl … ee7066a20c
https://github.com/oracle/solaris-userl … d7eb4fb0b5
https://github.com/oracle/solaris-userl … d4f16b8163

How can I update xkeyboard-config so that keyboard-configuration will have the proper configuration options? 

Thanks in advance.

A.

Edit:

The installed xkeyboard-config in Devuan ASCII (apparently) is v2.19.

groucho@devuan:~$ cat /usr/share/pkgconfig/xkeyboard-config.pc
prefix=/usr
datarootdir=${prefix}/share
datadir=${datarootdir}
xkb_base=/usr/share/X11/xkb

Name: XKeyboardConfig
Description: X Keyboard configuration data
Version: 2.19
groucho@devuan:~$ 

#1798 Re: Other Issues » Beowulf - new stuff » 2019-03-16 03:17:22

Hello:

Geoff 42 wrote:

... appears to start but I cannot see it running ...

I installed it and have it running in my Devuan ASCII:

groucho@devuan:~$ /etc/init.d/haveged status
[ ok ] haveged is running.
groucho@devuan:~$ 

I cannot remember how I did it.  =-/

But see here:
https://www.techrepublic.com/article/ho … -on-linux/

Set haveged up to start at boot with the command sudo update-rc.d haveged defaults.

Then you would get a script in /etc/init.d/haveged

#! /bin/sh
### BEGIN INIT INFO
# Provides:          haveged
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Entropy daemon using the HAVEGE algorithm
# Description:         haveged uses HAVEGE (HArdware Volatile Entropy Gathering
#                           and Expansion) to maintain a pool of random bytes used
#                           to fill /dev/random whenever necessary.
### END INIT INFO

Other than default options:

groucho@devuan:~$ sudo haveged --help

Usage: haveged [options]

Collect entropy and feed into random pool or write to file.
  Options:
     --buffer    , -b [] Buffer size [KW], default: 128
     --data      , -d [] Data cache size [KB], with fallback to: 16
     --inst      , -i [] Instruction cache size [KB], with fallback to: 16
     --file      , -f [] Sample output file,  default: 'sample', '-' for stdout
     --Foreground, -F    Run daemon in foreground
     --run       , -r [] 0=daemon, 1=config info, >1=<r>KB sample
     --number    , -n [] Output size in [k|m|g|t] bytes, 0 = unlimited to stdout
     --onlinetest, -o [] [t<x>][c<x>] x=[a[n][w]][b[w]] 't'ot, 'c'ontinuous, default: ta8b
     --pidfile   , -p [] daemon pidfile, default: /var/run/haveged.pid
     --verbose   , -v [] Verbose mask 0=none,1=summary,2=retries,4=timing,8=loop,16=code,32=test
     --write     , -w [] Set write_wakeup_threshold [bits]
     --help      , -h    This help
groucho@devuan:~$ 

Cheers,

A.

#1799 Re: Hardware & System Configuration » Preventing module load at boot » 2019-03-16 00:23:19

Hello:

ralph.ronnquist wrote:

Perhaps you're using an initrd and omitted/forgot you update ...

Hmmm ...
Don't think so.

I distinctly remember doing update-initramfs -u as root after using jed to write the .conf file to /etc/modprobe.d/.
When I saw it had not stuck, I decided to go for the /etc/rc.local solution.

Maybe it was the -k all part?

ralph.ronnquist wrote:

... following steps worked fine for me ...

And for me too ... =-)

ralph.ronnquist wrote:

See man update-initramfs for details about that command.

Had to find man update-initramfs.orig.initramfs-tools as man update-initramfs for some reason brings up Live-Tools (8) - Live Systems Project.

ralph.ronnquist wrote:

Note, I know it's a good/better habit to also add a comment into the black listing file ...

Indeed ...
But then I have to remember that I once actually wrote the file. 8-D !!!

Yes, it's a habit I have kept from my old MS days.

Weary after so many W95/98/2000/XP reinstalls, I decided to keep a log in which I would write each thing I did.

I'd start with the plain out of the box install and make an image, then install the basic stuff I needed/wanted and made another image and so on.
Each successive image had a log of what was done using the previous one.

Thanks a lot for your input.

Best,

A.

Board footer

Forum Software