The officially official Devuan Forum!

You are not logged in.

#951 Re: Other Issues » Runit » 2021-02-26 13:07:29

@dice -

It looks like n-m is not being managed by runit. Look at what's under runsvdir -  just fgetty.
Try sv status network-manager and compare to sv status fgetty

You put your NetworkManager directory in /etc/runit. My run dirs are in /etc/runit/runsvdir. (see tree below)

My run dirs are named the same as the init script. I don't know if that matters. So maybe you should have /etc/runit/runsvdir/network-manager.

I didn't examine the content of your run script or review the procedure I used, so I can't comment on either. I'm new at this, too. I can try it with n-m later today or this weekend.

Here's my tree:

# tree /etc/runit
/etc/runit
├── 1
├── 2
├── 3
├── ctrlaltdel
└── runsvdir
    ├── current -> /etc/runit/runsvdir/default
    ├── default
    │   ├── acpid -> /etc/sv/acpid
    │   ├── anacron -> /etc/sv/anacron
    │   ├── cron -> /etc/sv/cron
    │   ├── getty-tty1 -> ../../../sv/getty-tty1
    │   ├── getty-tty2 -> /etc/sv/getty-tty2
    │   ├── getty-tty3 -> /etc/sv/getty-tty3
    │   ├── getty-tty4 -> /etc/sv/getty-tty4
    │   ├── getty-tty5 -> /etc/sv/getty-tty5
    │   ├── getty-tty6 -> /etc/sv/getty-tty6
    │   ├── haveged -> /etc/sv/haveged
    │   └── ssh -> /etc/sv/ssh
    ├── single
    │   └── sulogin
    │       └── run
    ├── solo
    │   ├── getty-tty1 -> ../../../sv/getty-tty1
    │   └── getty-ttyS0 -> ../../../sv/getty-ttyS0
    └── svmanaged

20 directories, 5 files

Here's some pstree. My n-m is started by runit but not managed by it.

runit─┬─NetworkManager───2*[{NetworkManager}]
      ├─acpi_fakekeyd
      ├─at-spi-bus-laun─┬─dbus-daemon
      │                 └─2*[{at-spi-bus-laun}]
      ├─at-spi2-registr───2*[{at-spi2-registr}]
      ├─blueman-tray───2*[{blueman-tray}]
      ├─bluetoothd
      ├─2*[dbus-daemon]
      ├─dbus-launch

      ├─runsvdir─┬─6*[runsv───getty]
      │          ├─runsv─┬─acpid
      │          │       └─svlogd
      │          ├─runsv─┬─sshd───sshd───sshd───bash───pstree
      │          │       └─svlogd
      │          ├─runsv─┬─cron
      │          │       └─logger
      │          ├─runsv─┬─haveged
      │          │       └─svlogd
      │          └─runsv───svlogd

#952 Re: Installation » [solved] T460p won't boot from internal hdd » 2021-02-25 14:21:13

If you want gpt with legacy bios boot, you need a special partition for grub that is at least 1MB size, has no filesystem on it and has flag bios_grub (in gparted) or type ef02 (in gdisk). Then you get the advantage of more than four primary partitions.

Edit: Fixed what I wrote in my sleep. Thanks, HoaS!

#953 Re: Installation » [Solved] firefox-esr installed by Beowulf 3.1 dist-upgrade » 2021-02-25 12:23:28

Look for those packages in /var/log/apt/history* to see when they were installed and what else was installed at the same time.

#954 Re: Devuan » Why are systemd files present in Devuan? » 2021-02-25 10:36:24

mckaygerhard wrote:
fsmithred wrote:

Removing systemd service files is the equivalent of removing sysvinit scripts. Doing so breaks interoperability and we absolutely should not be doing that. It also smacks of hypocracy.

build-deps are another story. The current advice is to build in a chroot so you don't contaminate your system. Maybe someday we'll have enough devs to fork everything.

nonsense.. i removed complety those files in jessie.. was a hard job of course and i not are a fashion software stupid guy so my jessie will be here almost 9 years more, cos i not need updates if i do not run server and nobody break a double nat protected provider of internet

It's not nonsense at all. You miss the point. I think it's fine for you to modify your system any way you want. The ability to do that is one of the best features of linux.  I think it would be very bad if debian made it official policy to remove all sysvinit scripts. Likewise, I think it would be very bad if devuan made it official policy to remove all systemd service files.

#955 Re: Devuan » Why are systemd files present in Devuan? » 2021-02-24 21:39:20

Removing systemd service files is the equivalent of removing sysvinit scripts. Doing so breaks interoperability and we absolutely should not be doing that. It also smacks of hypocracy.

build-deps are another story. The current advice is to build in a chroot so you don't contaminate your system. Maybe someday we'll have enough devs to fork everything.

#956 Re: Installation » [solved] T460p won't boot from internal hdd » 2021-02-24 21:16:04

Is this something new that a boot partition needs to have a boot flag, or are you talking about an efi partition?

#957 Re: Devuan » How can I build packages for devuan to put them in the official repo? » 2021-02-23 16:47:48

Here are the current docs for packaging.
https://git.devuan.org/devuan/documenta … aintainers

Quick summary:
Clone from upstream git repo to preserve the history (salsa.debian.org if it's there)
Build it locally to make sure it works.
Push to your devuan git.

Looks like your projects are all personal projects. To get into the repo someone would need to transfer the projects to the devuan group, then build (usually for suites/unstable).  I guess we'd need to figure out where the packages are going. Are they backports, or are you forking for chimaera or ceres?

#959 Re: Installation » [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade » 2021-02-23 16:29:00

Sorry, I don't know the answer. I see the "not provided by any .service files" a lot, and I just ignore it. I assume it's there to remind us all that we're not running systemd.

Try this:

apt -s remove consolekit

and see what it wants to take with it.

#961 Re: Installation » [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade » 2021-02-20 18:27:21

groucho@devuan:~$ aptitude why consolekit
i   slim Depends default-logind | logind | consolekit
groucho@devuan:~$

What does this mean in practical terms? eg: for slim which I am fond of.

It means slim needs something that provides default-logind or one of the others on that line. If a package depends on libpam-system | libpam-elogind, it'll complain about missing libpam-systemd if neither of those is there. Install libpam-elogind first and anything that wants libpam-systemd will be happy. (See the Provides line below)

$ apt show libpam-elogind
Package: libpam-elogind
Version: 241.4-2
Priority: optional
Source: elogind
Provides: default-logind, libpam-systemd, logind
Depends: libc6 (>= 2.28), libcap2 (>= 1:2.10), libpam0g (>= 0.99.7.1), elogind (= 241.4-2), libpam-runtime
Conflicts: libpam-ck-connector
Breaks: libpam-systemd
Replaces: libpam-systemd

#962 Re: Installation » SOLVED refract pw not working after install » 2021-02-20 14:32:17

Thanks. I never noticed that. Most of my installs are tests, so I use very short passwords. The yad dialog window only takes 18 characters, but it stores more if you type them. I'm not sure why it didn't use your long password.

I tried running the code in a terminal (as root), and it works. I'll have to try it in an install.

Here's the code for that window with the output of my 20-character password entry.

~# pass_entry=$(yad --form --title=$"Configure $pass_dialog password" --center --borders=10 --button=$"OK":0 \
--text=$"You should reset the $pass_dialog password.\nUse TAB to change fields." \
--field=$"Enter new $pass_dialog password::H" \
--field=$"Confirm new $pass_dialog password::H"  \
--field=$"Use current password\? (not recommended)":CHK \
"$field_four")
12345678901234567890|12345678901234567890|FALSE|

Trim the output, check it and feed it into the passwd command, and it works.

newpass=$(echo $pass_entry|awk -F "|" '{print $1}')
echo $newpass
12345678901234567890

/bin/bash -c "echo -e \"$newpass\n$newpass\n\" | passwd $newusername"
New password: Retype new password: passwd: password updated successfully

#963 Re: News & Announcements » Devuan Beowulf 3.1.0 point release » 2021-02-19 20:29:08

The new torrent is on the main page at files.devuan.org and it's linked from the main site on the page that lists the mirrors. Note the date on the file: Feb 15
https://files.devuan.org/

Also note that the 3.0.0 installer isos are still in the download directory, so they are included in the torrent file. If you don't want them, there's a way to select only the files you want. Or if you choose the same directory that already has the old isos as your target, it should just add the new ones.

#964 Re: Other Issues » Uninstall firefox without installing other junk? Also menu woes. » 2021-02-19 18:21:52

1. VLC: Maybe cpulimit would help. I didn't see it on that page. Maybe say something about your hardware. I would expect full-screen video to work on most modern laptops.

2 & 3: These things are controlled by the theme. If you can't find one you like, you would need to mess with the theme files in /usr/share/themes/whatever.

4 & 5: I'm not familiar with this mouse behavior. I don't use mate.

6: Before you run autoremove, install those items in the list that you want. Don't worry about all the libraries. They get installed automatically with whatever apps use them. Install a few things and then run the simulated autoremove again to check the list. Maybe start with

apt install debian-pulseaudio-config-override libreoffice lightdm lightdm-gtk-greeter rfkill wicd-gtk xorg

That will trim down the autoremove list significantly. And you could skip debian-pulseaudio-config-override if you are removing pulseaudio.

7. Take a walk around the block before you do anything else with the computer.

#965 Re: Other Issues » Uninstall firefox without installing other junk? Also menu woes. » 2021-02-18 14:51:19

You're running into the metapackage problem. Metapackages are single packages that are there just to pull in other packages. If you remove the metapackage, the system wants to remove all the dependencies it pulled in. The most common way to avoid this is to un-check tasks at the tasksel screen in the installer, and then install what you want after you reboot into the new (minimal) system. That takes longer, but you get exactly what you want.

If you installed a desktop environment from the installer isos (or desktop-live iso) you got task-desktop and task-<your chosen desktop environment>-desktop which pull in all the other desktop apps.

Menus are populated by the .desktop files in /usr/share/applications. Add a line like

NotShowIn=GNOME;KDE;XFCE;

to the .desktop file for any apps you want to disappear from the menu.

Yes, you can install just libreoffice-writer or other parts, but removing the whole suite might be difficult if it came in with a task- package.

aptitude why firefox-esr

Might tell you what pulls it in.

#966 Re: Installation » tmux hang on Linux VT Consoles » 2021-02-18 00:46:38

I can reproduce this problem in a live session, but not in an installed system that was installed with the desktop-live. Might have to do with the tty-autologin feature in the live isos, or maybe not.

You can use screen instead. It's already installed and it does work in console in the live session.

#967 Re: Desktop and Multimedia » Is there a general problem with user settings persistence in 3.1,mate? » 2021-02-17 19:37:29

My script for comparing the package lists is spammed with packages that are different only in architecture. Here's a simper diff showing what mate packages we have. Anything that starts with a + is one that I have and you don't. Anything that starts with - is one you have that I don't. The only one of those is mate-tweak, and when I added it (without Recommends) it didn't fix the problem. Not sure where to go with this now.

$ diff -u mlevd-list my-mate-list | grep "^[\+|\-]mate"
+mate-applet-brisk-menu 0.5.0-9
+mate-applets 1.20.3-2
+mate-applets-common 1.20.3-2
+mate-backgrounds 1.20.0-2
+mate-calc 1.20.3-1
+mate-calc-common 1.20.3-1
+mate-desktop-environment 1.20.0+5
+mate-desktop-environment-core 1.20.0+5
+mate-icon-theme-faenza 1.20.0+dfsg1-2
-mate-polkit:i386 1.20.2-1
+mate-polkit:amd64 1.20.2-1
+mate-screensaver 1.20.3-3
+mate-screensaver-common 1.20.3-3
+mate-system-monitor 1.20.2-1
+mate-system-monitor-common 1.20.2-1
-mate-tweak 18.10.2-1
+mate-themes 3.22.18-1
+mate-user-guide 1.20.2-1
+mate-utils 1.20.2-3
+mate-utils-common 1.20.2-3

Note: That vertical bar that we use to pipe the output of one command to another is called a pipe. Or it could mean "OR" when there are two in a row.

#968 Re: Desktop and Multimedia » Is there a general problem with user settings persistence in 3.1,mate? » 2021-02-17 15:34:38

I've been testing by adding two image files to directories under /usr/share/backgrounds/ (cosmos and mate/abstract). Then right-click desktop to change background. Neither show up when I navigate to the directory that holds the files I just added.

Next step is to click on the Add button and add those pictures. Then select one and close that window.

Then try to change the bg again, and the added image that I'm not currently using no longer shows up. It's still in the directory, but my desktop has forgotten about it.

update/upgrade did not change it.

I think we need to compare package lists.

dpkg -l | awk '/^ii/ { print $2 " " $3 }' > pkglist-debian

Do the same to make pkglist-devuan and compare them. Send them to me and I'll compare them (I have a script to do that).

#969 Re: Desktop and Multimedia » Is there a general problem with user settings persistence in 3.1,mate? » 2021-02-17 13:55:54

Yes, I can reproduce this stupid bug in 64-bit beowulf mate. It's not a problem in xfce, because you don't have to "add" a picture in your settings if you copy the file into the folder that holds the other bg images. Xfce shows you all the image files in the selected directory.

Does mate not do this in debian?

#970 Re: Desktop and Multimedia » Why I have to have a desktop and hope I am wrong. » 2021-02-17 12:17:26

 Surely a cli mode for deadbeef or audacious needs to happen?

Already done and in repo.

       -H, --headless
              Start in command-line mode; i.e., without any graphical user interface.

#971 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2021-02-17 00:04:02

Ah, I didn't see that. Yeah the actual file is farther down the page. That first screenshot is the output of pacmd list-cards

When I run that command, I get "No PulseAudio daemon running, or not running as a session daemon."  So I can't find what the active profile is to put the line in default.pa

ps ax shows that it's running and that the --start option was used, which should make it run as a daemon. That's what the man page says.

There are a bunch of error messages about pulseaudio in the syslog, but they may be related to settings for the screen reader. They're complaining about a run file for user lightdm. I think I should stop here. It may not be a good comparison.

MLEvD, I hope you have better luck. Are you sure you need pulseaudio? Maybe plain alsa would behave better.

#972 Re: Installation » EFI mode in Beowulf point release working? » 2021-02-16 19:51:45

Yeah, I'm not seeing an efi directory in mounted installer isos or imaged usb sticks with 3.0.0 or 3.1.0. So I have no idea how that boots.

It does exist in the amd64 desktop-live iso. Could you have put that on the usb?

#973 Re: Desktop and Multimedia » Why I have to have a desktop and hope I am wrong. » 2021-02-16 19:13:47

I had to look up that term to see what it meant. Audacious does gapless playback. I just tested. It went from Mona to Maiden of the Cander Moon without missing a beat. (Quicksilver Messenger Service). And unlike deadbeef (which I like a lot) audacious is in the repo.

It does playlists, but I never bother with them, so I don't know how good or bad they are.

#974 Re: Installation » EFI mode in Beowulf point release working? » 2021-02-16 17:00:17

In vbox I usually end up in the efi shell. Exit or Esc gets you out of there to a menu where you can select 'Boot from file' where you can drill down in the efi partition to find grubx64.efi or whatever boot file you're using.

I did a uefi install from usb onto real hardware and it worked like it's supposed to.

#975 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2021-02-16 16:51:21

In the meantime, can anyone here reproduce this bug? I'm all 32-bit here, can someone try on 64 please?

I can confirm that setting to output only is not saved across reboots. Tested amd64 mate in a qemu virtual machine. This happens to be an install with speech synthesis enabled (screen reader) but that probably doesn't matter.

I can also confirm that /etc/pulse/default.pa does not look anything like the one in the mycomputertips help page.

I don't see any bugs about settings not saved, but there are a couple about crashing mate-volume-control (the Sound Preferences app)
https://bugs.debian.org/cgi-bin/pkgrepo … mate-media

I also poked around in ~/.config/pulse and found 141 binary files. No help there.

Board footer

Forum Software