The officially official Devuan Forum!

You are not logged in.

#701 Re: Installation » [SOLVED] How to choose runit while installing? Which iso provides that? » 2022-03-12 21:52:59

In debian/devuan, if the package includes runit scripts, runit will use those instead of the sysvinit scripts. Only a few packages include the runit scripts - the gettys, openssh-server and maybe a few others. You can add runscripts from other sources. (salsa.debian.org, antix, more)

Here are two more discussions.
https://dev1galaxy.org/viewtopic.php?id=4342
https://dev1galaxy.org/viewtopic.php?id=3716

#702 Re: Devuan Derivatives » [SOLVED] Is it safe to clear out /media folder of old sd(x) references? » 2022-03-11 12:20:18

I get leftover directories in /media occasionally and have one now. Looks like it's from pmount. I can't be sure if pmount made the error or if I did it by forgetting to pumount before unplugging the device or maybe by unmounting it as root. I just delete the leftovers when I find them.

With no removable media plugged in:

ls -la /media/sde2/
total 8
drwxr-xr-x 2 root root 4096 Apr 22  2021 .
drwxr-xr-x 4 root root 4096 Jan 12 16:36 ..
-rw------- 1 root root    0 Apr 22  2021 .created_by_pmount

#703 Re: Other Issues » Runit and backwards compatibility » 2022-03-09 21:30:11

Interesting observation. I see that the run script for network-manager starts dbus first, and the one for lightdm starts dbus and elogind. So I guess if you write a new run script, you have to make sure you start anything that's needed first. It doesn't seem to be a problem that multiple scripts have 'sv start dbus' in them.

I think the obvious answer for now is that you gotta try it. See if you can break avahi and then fix it by editing /lib/runit/run_sysv_scripts to use /etc/service instead of /etc/sv.

#704 Re: Installation » Multi-DVD installation sets » 2022-03-08 12:09:11

There's also the pool1 iso (DVD) that has 5000 packages. That's in addition to the dvd installer iso. If those two isos don't have what you want, you could get the debian isos and carefully pull packages from there. That should work for anything that doesn't depend on systemd (directly or indirectly).

#705 Re: Documentation » Devuan GNU+Linux Command-line Installation Guide (In progress) » 2022-03-05 14:36:09

k3yw0ow wrote:

Great, I will research more about runit. Could also explain how sysvinit service management works?

No, I can't, and in my limited understanding, I thought sysvinit did not do service management, and that's why distros switched to a different init system.

I know this much:

service <service-name> start|stop|restart
or
/etc/init.d/<service-name> start|stop|restart

#706 Re: Documentation » Devuan GNU+Linux Command-line Installation Guide (In progress) » 2022-03-04 23:20:12

If you install runit, you only get run scripts for the gettys, and also for openssh-server if you install that. No setup or linking is needed.

There are run scripts available from a couple of locations outside the repository. They can be added after the install. Basic procedure is to copy the script dir for a service to /etc/sv/, stop the init script, and then run

update-service --add /etc/sv/<service>

Where <service> is the name of the run script directory and is the same name as the init script.

#707 Re: Installation » Question about netinstall to existing UEFI-based system » 2022-03-02 22:17:42

Put your custom menuentry in /etc/grub.d/40_custom and then run the grub-mkconfig command to regenerate the menu. If you modify grub.cfg directly, your edits will be overwritten the next time the menu gets updated.

And if you have more than one hard disk, you're better off using UUIDs instead of /dev/sda2, in case the drives don't always come up in the same order.

set root='hd0,msdos2'

Really? Not 'hd0,gpt2'? You have msdos partition table with uefi instead of gpt?

#708 Re: Hardware & System Configuration » New install with runit and Kernel bug » 2022-03-02 12:17:41

Here's an explanation of the error message you got. It's beyond my understanding.
https://stackoverflow.com/questions/353 … cpu0-in-ts

I have a chimaera xfce with runit, and I can share a few data points. Maybe it will help.

If I use pm-suspend to put the system to sleep, it wakes normally when I raise the lid.

If I rely on xfce4-power-manager to put it to sleep when I close the lid, it does not suspend. And the screen is locked when I raise the lid. Both of those behaviors are contrary to the settings in the power manager.

No nvidia here. It's all intel. I don't think runit is the problem, but that's just a guess. FWIW, I have enabled runit scripts for the following services:

acpid    connman  dbus getty-tty1-6 getty-ttyS0  lightdm
anacron  cron  elogind  irqbalance  mdadm    ssh

#709 Re: Installation » New installation yesterday from netinstall.iso and different behavior. » 2022-03-02 01:13:22

I have suspected that the installer does not do the same thing every time, but I usually blow through it so quickly, I'm not 100% sure that I really am doing the same thing. This is not new. This has been going on since Debian Lenny.

I've also noticed that if I abort an install and re-start it, some of my choices are saved. I don't know where they get saved, but I'm sure they do.

#710 Re: Installation » Question about netinstall to existing UEFI-based system » 2022-03-02 01:07:24

If you choose Expert install, you will get the choice of installing grub or not. If you let the installer install grub, it will make a boot entry for Void. If you don't let it add the bootloader, you will need to reboot into Void and do whatever it is you do there to add Devuan to the boot menu.

With uefi, each system that installs a bootloader will create a directory on the efi partition without removing any previous directoryies. If you install the Devuan bootloader and then want to go back to letting Void boot the computer, you can remove the Devuan entry with efibootmgr. It will be removed from the list of bootable devices that efibootmgr shows you, but the directory will still be there. You would have to do something extraordinary to screw it up permanently.

#711 Re: Devuan » [SOLVED] Rsyslog alternative ? » 2022-02-26 11:42:41

The -0500 is my time zone - five hours west of UTC.

If you got the output exactly how you want it, then you now know more about it than I do. smile

#712 Re: Devuan » [SOLVED] Rsyslog alternative ? » 2022-02-25 21:03:27

Edit /etc/rsyslog.conf and comment out the line that starts with $ActionFile... as I did below.

###########################
#### GLOBAL DIRECTIVES ####
###########################

#
# Use traditional timestamp format.
# To enable high precision timestamps, comment out the following line.
#
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

Then run

service rsyslog restart

And the time stamps will look like this:

2022-02-25T15:55:46.893072-05:00

man rsyslogd or man rsyslog.conf for more info.

There's syslog-ng that's very flexible. And there are no plans to change the default syslogger in devuan.

#713 Re: Installation » [SOLVED] How to blow away efi partition using live-install iso? » 2022-02-24 14:54:40

Oh, no sudo. Then it's the minimal-live. Root password is toor and you should use 'su -' to get root, not just 'su' or else log in as root to begin with.

If a newer kernel is needed try one of the daedalus isos or try this iso with a backports kernel that I made for testing new hardware: https://get.refracta.org/files/experime … 0_2148.iso

#714 Re: Installation » [SOLVED] How to blow away efi partition using live-install iso? » 2022-02-24 11:06:50

Are you using the minimal-live or the desktop-live iso? The desktop-live already has firmware-amd-graphics installed. If that doesn't work for you, I'd like to know, thanks. How new is your hardware?

#715 Re: Desktop and Multimedia » Does daedalus contain xfce4-screensaver ? » 2022-02-18 10:49:32

I've been using xfce4 for 10 years, and xscreensaver has always been the default. I never heard of xfce4-screensaver until now. The only bug listed for that package is the accidental upload to unstable. Maybe it'll be ready for daedalus by the time bookworm goes stable.

#716 Re: Desktop and Multimedia » Unpredictable screensaver » 2022-02-16 14:23:17

It's xscreensaver-systemd and the manpage for it says:

The xscreensaver-systemd program is a helper program launched by xscreensaver(1) for systemd(1) or elogind(8) integration.  It does two things:

       * When the system is about to go to sleep (e.g., the laptop lid has just been closed) it locks the screen just  before  the  system  sleeps,  by  running  xscreensaver-command  -suspend.  When the system wakes up again, it runs xscreensaver-command -deactivate to make the  unlock  dialog  appear  immediately.   It  does  this  through  the org.freedesktop.login1(5) D-Bus interface.

       * When  another  process  on the system asks for the screen saver to be inhibited (e.g. because a video is playing) this program periodically runs xscreensaver-command -deactivate to keep the display un-blanked.  It does this until  the other program asks for it to stop, or exits.  It does this through the org.freedesktop.ScreenSaver(5) D-Bus interface.

#717 Re: Hardware & System Configuration » Probably missing nouveau driver » 2022-02-16 11:34:43

I'm using nouveau in beowulf, and I have no /lib/firmware/nouveau or any nv98_fuc* files. And there are no error messages about missing firmware. The package you linked is over 10 years old. I don't think it exists now.

Make sure xserver-xorg-video-nouveau is installed. I have firmware-linux-free installed, but I don't see your missing files in it.

#718 Re: Installation » [SOLVED] How to remove elogind postinstall in Xfce4 in order to use consolekit2 » 2022-02-12 16:16:23

If you use a gui frontend network app like connman or network-manager, you should not configure the network in /etc/network/interfaces. They will likely fight with each other. Do one or the other.

#719 Re: Installation » [SOLVED] How to remove elogind postinstall in Xfce4 in order to use consolekit2 » 2022-02-11 14:39:19

For user to mount removable media, you could install pmount and either spacefm or pcmanfm. You may need to install without Recommends.

apt --no-install-recommends install <package>

If you want to avoid installing elogind by mistake, you could pin it by creating a file in /etc/apt/preferences.d/ with the following:

Package: *elogind
Pin: version *
Pin-Priority: -1

#720 Re: Installation » [SOLVED] How to remove elogind postinstall in Xfce4 in order to use consolekit2 » 2022-02-11 14:21:51

I'm not aware of any guide for doing this, so I tried it. To be safe, I dropped to console first and stopped the slim display manager.

### ctrl-alt-F2 and then log in as root.
/etc/init.d/slim stop
apt remove elogind libpam-elogind consolekit+ libpam-ck-connector+

That replaced elogind with consolekit and removed a bunch of other stuff, including gvfs, udisks2 and network-manager. I replaced network-manager with connman and set connman-ui-gtk to start with the desktop.

apt install connman connman-ui connman-gtk

The user can no longer shutdown or reboot from the desktop. I assume that mounting of removable media is also gone. I don't know if there are fixes for this.

An alternative approach would be to do a minimal install, switch to consolekit first, and then start adding things.

#721 Re: Desktop and Multimedia » Listening to local playback with Audacity » 2022-02-06 18:50:27

Micronaut wrote:

Well, it looks like there has been a recent change in some underlying packages
<snip>

Audacity 3.0.2 from PPA

How often do the Debian/Devuan repository maintainers update things?

Not often enough to have anything that new. Sid/Ceres is still on 2.4.2, but this bug report for the beowulf version might be relevant. (Same problem.)

https://bugs.debian.org/cgi-bin/bugrepo … bug=913732

In Chimaera, I see pulse as a choice for output and input devices in audacity. It does record sound from a youtube video played in the browser, but I think it's recording through the built-in mic. That's no good. If you want to save audio from the browser, you might be better off using something like video download helper (ff plugin) or youtube-dl and then strip the audio with audacity.

#722 Re: Desktop and Multimedia » Listening to local playback with Audacity » 2022-02-06 18:07:08

Press the record button in audacity. Look for PortAudio in qjackctl.

Or poke around in Audacious and you will find exactly what you want. You can save as mp3, ogg, wav or flac.

#723 Re: Desktop and Multimedia » Listening to local playback with Audacity » 2022-02-06 11:39:17

I haven't needed to purge pulseaudio, but it can't hurt to do that.

It's also possible to record a stream in audacious using just alsa. In the audio settings, check the box for recording a stream, and a red button will appear on the toolbar.

Search for 'qjackctl tutorial' will bring up a bunch of hits. The one for ubuntu is a good basic one, and the one at the arch wiki will have all the gory details.

#724 Re: Desktop and Multimedia » Listening to local playback with Audacity » 2022-02-05 22:29:29

https://jackaudio.org/

JACK Audio Connection Kit (or JACK) is a professional sound server API and pair of daemon implementations to provide real-time, low-latency connections for both audio and MIDI data between applications.

apt remove pulseaudio pavucontrol
apt install qjackctl

It is possible to use pulseaudio and jack together, but I've never done that.

#725 Re: Desktop and Multimedia » Listening to local playback with Audacity » 2022-02-05 13:45:15

You can record a stream through vlc or audacious to audacity using JACK. You don't need pulseaudio. I use qjackctl for an easy gui interface to jackd.

Board footer

Forum Software