The officially official Devuan Forum!

You are not logged in.

#51 Re: Freedom Hacks » Frustration with Mullvad » 2024-07-17 07:02:46

what is the problem? it should add just like any other repo, if it is for the part of the script where it uses lsb_release just use the debian suite name i guess.

#52 Re: Documentation » HOWTO: Post-Installation Configurations » 2024-07-15 07:46:51

i'd say it is better to use sudoedit after running update-alternatives  --set editor /usr/bin/vim (or nvim), also editing the sudoers file and being able to use sudo without password is a hell no!

as for other controversial post installation configurations there exist my scripts https://github.com/eylles/devuan-scripts and there are a couple more that will still be added...

#53 Re: Installation » Systemd-boot(it's actually not tied to systemd) possible in devuan? » 2024-07-15 00:04:54

well, necroposting side, it doesn't seem like there would be complication to the plan of using the systemd sources to build an 'egummyboot' after rolling a shim that provides the functionality of kernel install, at least so long as the upstream systemd-boot does NOT integrate the libraries and utilities of systemd more into it's own code beyond the level of simply calling their named binaries for the function, tho still i will say for as simple as that seems it almost feels like there's a foot gun waiting to happen there...

#54 Re: DIY » A Survey of User-made Content » 2024-07-14 23:53:30

https://github.com/eylles/devuan-scripts these are scripts i use on devuan, mostly installlers for stuff like brave or lazygit and firmware blobs, some may find them useful or that there is just the right snippet of shell script they want.

#55 Hardware & System Configuration » black screen on boot or splash screen stuck [PSA] » 2024-07-14 23:46:33

EDX-0
Replies: 1

this post is more of a Public Sservice Announcement as this is a problem i've encountered and solved quite a while ago but there is not enough mention online of what happens, why, or how to solve it, so this is intended as a short resource that may perhaps be easy to find.

First and foremost the symptoms you may encounter. These are to be expected on rather modern devices like laptops that support uefi options like secure boot, tho it is not related to the secure boot at all but to the other many options available on such boards.

## Symptoms  ##

on boots with splash (plymouth) the screen may simply turn black or get "stuck" on the splash animation and never advance no matter how many time goes by, on non splash boots (text only or quiet) the text either isn't cleared or a black screen is shown around the time the init goes to runlevel S, notice when this happens the sysrq keys do work and you can do the by now "classic" alt+printscr reisub to restart the machine.

the only ways you can get past the black screen or endless splash is by passing the nomodeset flag to the kernel at grub, other flags don't work, if you manage to get a x11 server running (no idea if wayland can even work here) it will be running on software rendering mode with vesa or fbdev with no way to change to accelerated rendering.

if you got all the drivers installed, in this example the packages for amd graphic cards in stable currently:

firmware-linux
firmware-linux-nonfree
firmware-amd-graphics
firmware-misc-nonfree
libglx-mesa0
libegl-mesa0
libgl1-mesa-dri
libdrm-radeon1
libdrm-amdgpu1
libdrm2
libdrm-amdgpu1
libdrm-common
libdrm2
libegl-mesa0
libegl1-mesa
libgbm1
libgl1-mesa-dri
libglapi-mesa
libglx-mesa0
libvulkan1
libx11-xcb1
libxatracker2
mesa-vulkan-drivers
mesa-vdpau-drivers
mesa-va-drivers

then when running glxinfo -B you'll see that you are running in software rendering with Vendor: VMware, Inc. (0xffffffff)

mind you that this last symptom will also occur on unsupported hardware by the kernel and drivers, for example hardware that has come out a year or 2 after the running stable devuan release, in those cases trying testing or unstable may not be a bad idea for hardware support.

## Cause ##

tangent aside, this occurs due to how the kernel gets the information about hardware from the BIOS ROM (or EFI in modern systems), as despite the uefi standarization many manufacturers will provide options that have terrible to downright hacky implementations and break the standar, crucially when it comes to providing boot options such as legacy boot and fast boot, they will expose malformed data and the kernel will fail to properly recognize the hardware.

## Solution ##

on the efi menu options for your device (usually accessed through pressing esc or f12 during boot, if not just get to a grub prompt and type fwsetup) you NEED to disable:

fastboot (name in hp bios) | fast start ("regular" name)  | ultra fast boot | ultra fast start  # this option keeps the device ram powered on, now you don't need to be a genius to figure out why that can bite you on the behind, but the linux kernel tries to resume form ram then from disk, that is the mechanism on which suspend and hybrid sleep rely on, miscrosoft since windows 8 has made their OS not truly shutdown and start cold but rather this unholy mix of sleep and hibernation along resume which causes laptops with windows OSes to discharge as the os may perform automatic updates when it "should" be off so there's no one to attend it and it can run out off battery mid update breaking the OS... truly m$ innovation

legacy boot   # yep, the BIOS mode boot, on boards from 2020 onwards you can be confident the legacy boot will be implemented incorrectly and produce bad data for the kernel to read about the hardware...

that's it, all you have to do is disable fastboot, disable legacy boot and ensure the system can only boot on uefi mode, after that the linux kernel should not have any problem detecting hardware and using it so long as the drivers are installed and support the hardware.

as for secure boot, it has been supported by debian since buster (debian 10, 2019) and it should just work without you needing to disable it, now if you need to disable secure boot to boot a devuan installation image that is a whole different can of worms that is NOT directly related to this.

## sources ##

sources and references for this post:
    amd drivers list:
        https://dev1galaxy.org/viewtopic.php?id=3913    # the one on post is updated for current stable

    bios legacy boot:
        https://bbs.archlinux.org/viewtopic.php?id=237818

    fastboot | fast start:
        there are mutiple sources for this, the brave search ai generated summary is okay enough for the purpose of this post and provides the sources used for it's summary.
        brave search summary:
            https://search.brave.com/search?q=what+ … ee79c60166
        max's tech fast boot video:
            https://www.youtube.com/watch?v=pdi9c1tsRQU

## keywords ##
boot stuck, black screen on boot, stuck on plymouth, plymouth black screen, bios, uefi, uefi legacy boot, uefi fast boot, uefi fast start, uefi fastboot

#56 Re: Installation » does the Brave browser work here? » 2024-07-12 06:45:25

perchance.

#!/bin/sh

fetch_keyrin (){
  curl -fsSLo \
    /usr/share/keyrings/brave-browser-archive-keyring.gpg \
    https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
}

add_sources () {
  debsrc="deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"
  echo "$debsrc" \
    | tee /etc/apt/sources.list.d/brave-browser-release.list
}

install_brave () {
  apt update
  apt install brave-browser -y
}

main () {
  fetch_keyrin
  add_sources
  install_brave
}

case "$1" in
  run)
    main
    ;;
  install)
    if [ ! "$( id -u )" -eq 0 ]; then
      main
    else
      pkexec sudo "$0" "run"
    fi
    ;;
esac

the script is very dumb and the use of pkexec is if for example you want to run the script from some graphic prompt or program like a welcome center or the sort that is running unpriviledged.

it also detects if it was ran with sudo directly and skips the whole pkexec business.

#57 Re: Off-topic » Thoughts on Pipewire » 2024-07-01 12:29:31

i do personally use pipewire and it works for what i do, which is using software that relies on pulse while using software that relies on jack, last i checked that was still a set of hoops to jump with pulse and jack, but since pipewire can provide the interfaces for both pulse and jack from the same daemon it is just a matter of simply running any DAW or plugboard and it just works.

#58 Re: Hardware & System Configuration » sysv-init: Looking for example/run a script permanently, like service? » 2024-06-16 03:12:40

take a look at https://github.com/eylles/afreq.sh it is just a shell script (posxi shell, not even bash) along the initscript to run it as a daemon.

#59 Re: DIY » init script for stubby » 2024-06-04 21:54:33

sudo should not be used on init scripts, not directly because of security, but it is assumed not every system may had sudo installed as a minimal install with a root account and password will only have su and require running su to change into the root account to perform all administrative tasks.

that aside in a proper initscript the variable RUN_AS_USER is defined, usually as RUN_AS_USER=root for daemons intended to be ran by the root user, for daemons that need to be ran under a specific user the variable is defined with the intended user.

accordingly the start-stop-daemon program will be used to guarantee correct behaviour, ie check for initialization of instance and creation of the pid file.

an example standar use of start-stop-daemon would be as follows:

start-stop-daemon -S --pidfile ${PIDFILE} --make-pidfile --background \
            --chuid ${RUN_AS_USER} --startas ${DAEMON} -- ${DAEMON_ARGS}

as for the options straight from the manual:

-S, --start [--] arguments
           Check  for  the existence of a specified process.  If such a process exists, start-stop-daemon does nothing, and exits with error status 1 (0 if --oknodo is specified).  If such a process does not exist, it
           starts an instance, using either the executable specified by --exec or, if specified, by --startas.  Any arguments given after -- on the command line are passed unmodified to the program being started.

the flags and the vars passed should be descriptive enough and those are expected to be defined earlier on the initscript.

as for --background it is used with prgrams that will not fork to background by themselves.

if you want an okay example of a proper initscript file for an arbitrary daemon check https://github.com/eylles/afreq.sh
the file acpufreq.is is the definition of the initscrip, mind you that when you write initscript files not every daemon will support options like reloading the configuration so the route that many initscripts take is to just have the restart idiom also match reload and force-reload like so:

    restart|reload|force-reload)
        $0 stop && sleep 3 && $0 start
        ;;

#60 Re: Off-topic » The Joke Thread » 2024-05-19 21:07:39

sytemd makes everything easier

#61 Re: Freedom Hacks » Seeking feedback on scripts » 2024-05-13 19:04:06

took a look at the pipewire setup, left a suggestion in an issue.

honestly as sad as it may seem the devuan forum is not a good place to get feedback on software you are writing on principle of barely getting feedback for one reason or another.

#62 Re: Documentation » How to: Devuan 5 Daedalus an pipewire » 2024-04-28 00:57:18

fun, my current solution was to not even bother with daemon but instead write a whole program to do management of user level services independient of any init...

tho i need to work on it.
https://github.com/eylles/shed

i do not use a desktop environment so instead of a regular autostart i use this program, there is a lot more that i need to do since i know next to nothing about some stuff and shed is written off my limited understanding of how sysvinit works.

thanks to shed all i need to have these 3 simple files:

pipewire:

NAME=pipewire
EXEC=/usr/bin/pipewire

pipewire-pulse:

NAME=pipewire-pulse
EXEC=/usr/bin/pipewire-pulse

wireplumber:

NAME=wireplumber
EXEC=/usr/bin/wireplumber

and shed will do the rest, i can restart any individual binary if needed or all 3.

#63 Re: Other Issues » [SOLVED] Package name extension "t64" in excalibur » 2024-04-28 00:37:02

in march i had to move from devuan unstable to testing because the t64 migration wasn't kind to my system and i needed some extra time running as i was, i really want to avoid a re-install but seems like that is what i will have to do.

#64 Re: Off-topic » CVE-2024-3094: LZMA/XZ security report » 2024-04-08 12:10:28

fun enough, systemd does link xz-utils so machines running systemd with xz-utils 5.6.0 are extra compromised with an init level backdoor...

#65 Re: Hardware & System Configuration » merged /usr » 2023-12-31 08:36:18

weird i installed usrmerge back in at least march and everything works, then again i'm on ceres so maybe the usrmerge is more "volatile" on stable but still nothing has broke, as for the argument about uptimes it ain't weird when i clock about 70 days of uptime, the only thing that i've ever noticed not working is the plugin scripts of krita but i never tried using them before the usrmerge so as far as i'm concerned krita on debian is slightly broken and may as well have been forever broken.

#66 Re: Devuan » Malicious Programs, and Malicious People On Devuan » 2023-12-04 11:58:52

amazing, i wonder if those posts weren't written by some troll with chatgpt, cuz i mean even the formatting and corporatese of the language and wall of text used to say nothing other than "linux communities bad" and "devuan should be good, but it not good, thus it bad" is not what anyone would expect form a real human bean even if trying to express frustration.

#67 Re: Devuan » Happiness is finding people with the same mental illness as you... » 2023-10-25 22:01:17

speaking of themes, i've been playing with adw-gtk3 and how configurable it is, the styling room to adjust the radius elements and colors, with somthing i'm working to build themes to apply to adw-gtk3 and libadwaita (via gradience) and qt via kvantum there will be possible to have fully consistent themeing on linux with the small caveat that all the wdigets use the adwaita styling... which is not compact...

#68 Re: Installation » Systemd-boot(it's actually not tied to systemd) possible in devuan? » 2023-10-25 21:47:18

there's some use to having refference posts be quoted, tho permalinks would be the way to go...

as for systemd-boot, how about a fork that only changes the name, something like egummiboot, as long as the source keeps unrelated to systmed (no hard dependency) the main dev can comfortably be sed doing all the necessary iterations of:

sed 's/systemd-boot/egummiboot/g'

#69 Re: Other Issues » malware on devuan repos or false positives? » 2023-10-19 15:51:52

i mean, php is not great but calling it malware isn't a bit too much?

#71 Re: Freedom Hacks » Eudev broken on Ceres (maybe Daedulus) » 2023-10-04 04:14:30

it doesn't help either that devuan is on a weird spot regarding eudev, eudev upstream is already on 3.2.14 and moving towards what could be 3.2.15 or 3.3.0 while we got 3.2.12 with a couple PRs from upstream merged in (#253 that adds the api from udev 247 and bumps compat to udev 251, a fix to sgx groups and fix of the walrus operator) the devuan package still lacks important PRs from upstream such as #255 that cleans the sysattr cache (important to get upower and other stuff that relies on the new api to work), and after trying to build eudev from source it ain't as trivial as it seems (doesn't help that i also need an i386 build for steam stuff) so the current options are to wait until the next release of eudev hits devuan unstable OR maintain a repo to build the devuan eudev source with the important missing commits added as patches.

nevermind, thanks Boian! https://pkginfo.devuan.org/cgi-bin/pack … v=3.2.14-1

#72 Re: DIY » A Survey of User-made Content » 2023-07-19 21:17:06

does maintenance of software count? if so then i'm hating myself for ever deciding to help maintain this but i use it so not much i can complain about...

https://github.com/ueber-devel/ueberzug

#73 Re: Off-topic » AI on mainstream media » 2023-04-24 04:28:51

huh, interesting how the advancement of artificial intelligence correlates with the growth of the natural human stupidity.

let's hope that AI essays break the education system so hard a real reform is finally deployed... but knowing it is a goverment run chimp cage the most likely is that they will come up with a useless method to try and ban AI written essays...

#74 Re: DIY » A Survey of User-made Content » 2023-03-26 06:49:40

welp, took some time to do some checks on the config file, still need to do some others but as an initial release this should be okay.

https://github.com/eylles/sct-daemon/re … tag/v0.0.0

i will probably stick with the 0ver scheme for this and similar projects.

#75 Re: DIY » A Survey of User-made Content » 2023-03-15 18:49:33

well, it works okay but i need to add checks that the values from the config file are valid before applying them, also perhaps adding a logging functionality, other than that it is okay enough.

Board footer

Forum Software