The officially official Devuan Forum!

You are not logged in.

#2451 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-23 13:45:18

That's weird. Your wireless is new enough that it requires kernel version 4.1 or newer but the computer only boots with 3.16. (see https://www.intel.com/content/www/us/en … 05511.html )
I still think playing with the boot options or going into the bios to turn stuff off is where the solution lies.

BTW, some isos made with refractasnapshot have a failsafe boot option and some have a no-probe and a no-modeset option. The failsafe is the same as the no-probe with nomodeset added to it. I did that to eliminate a boot entry without eliminating the option in that entry. Feel free to experiment with the list of  "no*" options in those boot entries. You might only need one or two of them. At the boot menu, TAB gets you to the boot command where you can edit it.

#2452 Re: Other Issues » [SOLVED] Where are the refracta scripts? » 2017-08-23 13:34:47

Yad is in ascii, and you can install it from the repo, but that one uses gtk3. If that works for you, fine. But if you find that buttons you want to click are off-screen, use the package I made for gtk2. Even though it's for jessie, it works on ascii.

For the desktop-live isos, I just installed yad and refracta tools from deb packages.

#2453 Re: Other Issues » [SOLVED] Where are the refracta scripts? » 2017-08-22 22:57:42

Gary:
Install all four packages (or just the -base packages). If you install the -gui packages, you also need yad, which is not in jessie repos.
You can get that at http://distro.ibiblio.org/refracta/file … _packages/ (either version will work in jessie. The later version will work in ascii.)

apt-cache search refracta
refractainstaller-base - tool to install a running live-CD to hard drive.
refractainstaller-gui - tool to install a running live-CD to hard drive.
refractasnapshot-base - tool to create a live-CD from the running system
refractasnapshot-gui - tool to create a live-CD from the running system

Gus:
If you comment out all but experimental, you won't get any dependencies.

#2454 Re: Other Issues » Prevent kernel from displaying messages until modesetting is ready. » 2017-08-22 12:03:03

I had this problem with one laptop and found that setting the grub resolution to the correct size for my diplay fixed it. I added the following line to /etc/default/grub:

GRUB_GFXPAYLOAD=1366x768

#2455 Re: Installation » Manual partitioning: boot partition, dual boot » 2017-08-22 10:53:41

If your root partition is encrypted, you need a separate /boot partition. It has nothing to do with the number or type of operating systems on the computer. It does not have to be the first partition, but I think that's where it usually goes. And since you're using gpt, there's no need for logical partitions unless you're using lvm. You can have more than four primary partitions.

You didn't ask about this, but I'll mention that the /boot partition does not need to be flagged as bootable.

I will also mention that if you were using uefi instead of legacy bios, you would need an efi partition, which would be flagged as bootable and would not be the same thing as a separate /boot partition. You can have both of those. The efi partition (fat32 with flags 'boot,esp') would be required, and the /boot partition is optional.

#2456 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-21 13:02:22

I compared the kernel configs between bunsenlabs live iso and devuan. They are identical (jessie 3.16). Maybe you could turn off acpi to boot a live iso and install it, then not have to turn it off in the installation. Just a guess. If you used the backports or ascii iso, you might get a network connection.

When the ascii installer isos get made, they will be at files.devuan.org probably in a directory called ascii or ascii-something. I'm hoping it will be no more than a month before there's an alpha release.

#2457 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-21 09:57:08

It might be worth comparing the kernel configs between devuan and either bunsen or system rescue. Maybe those kernels have something compiled in that devuan doesn't have. Look at /boot/config-<version>. It might be possible to install devuan and then use another kernel that works properly with your system. (maybe a liquorix kernel) In that case, you could install ascii from the live iso (with acpi=off) and then replace the kernel.

You can install jessie on it from an installer CD and it boots ok after that? If you do a small install (no desktop, just standard system utilities) then upgrading to ascii should be pretty easy. But you need to have a network connection. You might just need the backports kernel and firmware-iwlwifi. That could be done by downloading packages and installing off-line.

There are some installation guides here - https://devuan.org/os/documentation/dev1fanboy/

There will be live isos and regular installer isos for ascii. Sometime soon, I hope.

Edit: some interesting results on search for 'kernel watchdog bug soft lockup xorg'

#2458 Re: Other Issues » ascii/lxqt wifi address change » 2017-08-21 02:11:33

Yeah, that's weird. I have one ascii install that I've been running without adding net.ifnames=0 to the boot command except for one morning when I did need it for a few reboots. It was when I was playing with policykit/pkexec/synaptic. Doesn't make sense.

#2459 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-21 02:07:28

There's a problem with the installer's rsync excludes list when you use it in ascii. Add the following lines to /usr/lib/refractainstaller/installer_exclude.list so you don't end up copying the live system twice. I just saw this in a vbox install - the rsync output did not look right - a lot of usr/lib/live/mount was scrolling by.

# Added for symlink /lib
- /usr/lib/live/overlay
- /usr/lib/live/image
- /usr/lib/live/rootfs
- /usr/lib/live/mount

Oh, broadcom-sta-source depends on debhelper, which is not installed. Hm..

fungus, There's no display manager. Use 'startx'. Make sure you don't still have a copy of /etc/profile.d/zz-live-config_xinit.sh in the installed system. If you're still having problems after a reinstall, please start your own thread.

#2460 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 21:47:09

The ascii iso is halfway to lxde. There is a command-line installer, but the way it is, it will only install if you booted legacy bios. If you booted uefi then use the graphical installer from the menu.

Run refractainstaller in a root terminal for the cli installer. (this one could install on uefi with a little hacking and manual steps in the install.)

Oh yeah, you may have already figured this out, but run 'startx' when that iso boots. There's no display manager.

#2461 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 18:19:55

The second post in this thread suggests trying some different boot options with msi laptops.
https://ubuntuforums.org/showthread.php?t=2313838

Try the no-probe or failsafe option in the boot menu or some combination of the options listed there. You can see the boot command by pressing the TAB key (for isolinux, booting bios) or 'e' (for grub, booting uefi). 

Or try adding 'single' to the boot command and see if you can boot to single-user mode.

The last message is from xorg. The xorg in the iso is just the jessie version. It's not from backports. If you feel like experimenting, there's a live iso made from ascii that has newer xorg. It also has openrc and eudev. Wireless firmware is not installed, but the packages are there to be installed without a network.
http://distro.ibiblio.org/refracta/file … 3_2222.iso
(note: logins and passwords are different on this iso: root/root and user/user)

#2462 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 12:27:58

Debian is always behind others in software versions. That's one of the features. (older=better tested)

What kernel versions are in the distros that work on this system? I made an unofficial live iso with the 4.9 kernel from backports. That might be new enough for your hardware. That's here -
http://distro.ibiblio.org/refracta/file … 0_1501.iso
(sha256sum and .asc files are in the same directory)

#2463 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-19 01:19:47

For the record - this is on a refracta-jessie that was upgraded to ascii. So I started with xfce. It also has icewm and openbox, and I use lxpanel and lxterminal with ob. But I don't have the full lxde destkop. I've also had other weird stuff with this installation. Today I had to add net.ifnames=0 to the boot command a couple of times to have network connection. Normally I don't need to do that with this install, even though it's using 4.9 kernel.

Tested another install on the same machine. This one started as a minimal install, upgraded to ascii, then added apps. In xfce and openbox, gparted won't start from the menu, but if I start gparted-pkexec in terminal, it asks for password. This install also has lxqt, and there, I get a graphical window asking for the root password like it should. (lxqt-policykit-agent runs)

I seem to be the only one with this problem (the one in the subject line) so I won't file a bug report on it. At some point I'll do another refracta jessie to ascii upgrade and watch what happens. The current one has been through a lot to get where it is.

#2464 Re: Hardware & System Configuration » A Better Reduce for Devuan? » 2017-08-18 23:01:46

Wow. I have not seen that page before. That is extreme. Just how small do you need it to be? For most people's needs, you can start with a minimal install and add just what you want.

Here's dev1fanboy's minimal install guide. This is kind of at the other extreme. Either way will be a learning experience.

Here's the easy method:
-  uncheck stuff at the tasksel window during installation. Some people like to un-check everything. I like to keep Standard system utilities checked.
- after install, start adding what you want.
- don't install recommends (apt-get --no-install-recommends install <packages> or aptitude -R install <packages>)
- don't install anything with 'task-' in the name. Avoid metapackages in general.

I'm not the expert on minimal installs here. Others can offer more specific information and/or help with problems you run into.

#2465 Re: Desktop and Multimedia » Ascii & Ceres lightdm/xorg broken » 2017-08-18 17:41:41

fungus, look at what got updated in ceres that did not get updated in ascii. That should narrow it down.  Look at /var/log/apt/history.log or see what the newest packages are in /var/cache/apt/archives.

#2466 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-08-18 14:35:20

Things like invisible buttons, invisible borders, crowding of menu items, either horizontally or vertically, all are symptoms of the gtk3 sickness. Test with some different themes.

If it's a gtk3 problem with plank or one of its deps, the solution might be to repackag plank (or whatever) to use gtk2 instead. I did that with yad-0.38, which now reminds me of another symptom - buttons off-screen.

#2467 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-18 12:51:33

nathg,

Thanks for the reminder. I tried replacing mate-polkit with policykit-1-gnome and I get the same behavior. (gparted runs without password).

I tried running without a display manager, and I'm getting inconsistent results. Sometimes I can break it so gparted doesn't run (in terminal it gives me an error message about trying to run it as another user and I don't have permission) and sometimes it does run. And sometimes I end up with no input in console and have to use sysrq keys to reboot.

So far, I have not found the right combination to cause pkexec to ask me for a password. At least not today. I have been asked for a password in terminal a couple days ago.

#2468 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-08-18 11:53:07

MiyoLinux wrote:

1. The menu of the LXPanel doesn't populate applications installed after installation of the system (the openbox menu and Xfce panel's menu does).

It works ok here. If I install a package, it's in the lxpanel menu immediately. I checked this on a couple systems to make sure. It worked on one phat (refracta) and one skinny (openbox sans dbus/consolekit/polkit). Main reason I use lxpanel in my openbox builds is because I don't have to do anything to it.

#2469 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 20:24:51

Unprivileged users should be able to search package names and descriptions. They should not be allowed to install software or resize partitions (as I just did). That's a security risk.

I found this bug report, concerning the problem that most people are having. It's not very helpful.
pkexec: Synpatic & gParted fails to authenicate
https://bugs.debian.org/cgi-bin/bugrepo … bug=780275

And this one about the relationship between pkexec and sudo, also not very helpful. My user is not in the sudo group. User did have sudo privs for shutdown, reboot, suspend and hibernate. I removed those privs and the problem with gparted persists.
policykit-1: members of group sudo become root with pkexec while ignoring /etc/sudoers
https://bugs.debian.org/cgi-bin/bugrepo … bug=869922

Here's my polkit file for gparted:

# cat /usr/share/polkit-1/actions/com.ubuntu.pkexec.gparted.policy 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>

  <action id="com.ubuntu.pkexec.gparted">
    <message>Authentication is required to run the GParted Partition Editor</message>
    <icon_name>gparted</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>

</policyconfig>

Here's what /var/log/auth.log has to say when I open gparted from the menu:

Aug 17 19:35:45 refracta-ascii pkexec[5206]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 17 19:35:45 refracta-ascii pkexec[5206]: user: Executing command [USER=root] [TTY=unknown] [CWD=/home/user] [COMMAND=/usr/sbin/gparted]

#2470 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 18:03:55

I tried it in openbox and xfce on both installs. That doesn't make a difference.

#2471 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 12:42:17

I've seen that blink, too. I have another ascii install that won't let me start gparted from the menu, but running gparted-pkexec in terminal does ask for the password. You don't need to use sudo to run gparted-pkexec, because pkexec should take care of asking for the password. Well, you shouldn't need sudo. If you do need it, then this is more broken than I thought.

I guess I need to compare package lists between my two installs. The second one started out as a minimal jessie that was upgraded and then just a few things added.

#2472 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-16 19:16:28

Yes, gksu works. Meanwhile, pkexec allows unprivileged users to alter packages and partitions. Something is broken somewhere.

#2473 Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-16 18:41:24

fsmithred
Replies: 24

I upgraded a Refracta-jessie install to ascii. If I start gparted or synaptic from the menu (gparted-pkexec or synaptic-pkexec) the program starts without asking for a password. Google tells me in at least 10 different places how to get the system to do that  - by changing /usr/share/policykit-1/actions/com.ubuntu.pkexec.gparted.policy and changing "auth_admin" to "yes" in the following lines:

allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>

So in my case, I should expect to change "yes" to "auth_admin". Except that it already says "auth_admin" on those lines.

I also tried changing

<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>

from "true" to "false" and also to a null value (""). That results in not being able to run gparted-pkexec from the menu or from a terminal. When it's set to false, it does start a process, but nothing comes up. If I try to start it from terminal after the attempt to start it from the menu, I get a message saying that gparted is already running. And only root can shut it down at that point.

Also, when I tried this yesterday, if I ran gparted-pkexec from terminal, it did ask for root password. Today it doesn't ask, it just starts gparted.

I'm lost. Anyone have any ideas?

#2474 Re: Documentation » Install eudev in ascii » 2017-08-14 19:24:28

udev in devuan is the same udev that's in jessie.

eudev is basically udev with the systemd deps removed.  It's forked from gentoo.

#2475 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2017-08-14 19:07:06

I don't know if you include the Refracta boot help in your isos, but check it out:

cat /usr/lib/refractasnapshot/iso/isolinux/f4.txt

(I'm not gonna paste it here, because it's full of ugly formatting characters.)

Also see 'man live-boot' and 'man live-config' for many awesome things you can do at the boot command.

Board footer

Forum Software