The officially official Devuan Forum!

You are not logged in.

#1876 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-17 12:44:40

If your lvm is inside an encrypted partition, you can still change the sizes of the logical partitions inside it. This way, everything is encrypted and you enter one password for the whole system. If you want to make the lvm bigger than the physical partition that contains it, you would add other drives/partitions to the volume group and then extend the logical partitions within.

If you're concerned about excessive writes to the ssd, then you probably want to keep it separate from the existing lvm, so it doesn't get used for any of your more active partitions. (When you add drives to a volume group, the combined space is seen as a single container, and data gets written to all parts of it.)

#1877 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-16 22:12:18

I found three ways to get shutdown and reboot working at the login screen. These all count as workarounds, not a fix.

1. Edit /etc/lightdm/lightdm.conf and change the greeter-user to root. That's probably a bad idea for security reasons.

2. Replace lightdm with lxdm (without recommends) and with the elogind backend/gobject libs, without consolekit. I did need to add libck-connector0.

3. Install consolekit (with lightdm, not lxdm). The approprate libraries will replace the ones for elogind, but elogind will still be installed. Reboot and shutdown will work from the login screen, but from the desktop, they'll just log you out.

Oh, wait. If you run 'pam-auth-update' and uncheck the box for elogind, then shutdown and reboot work in both desktop and login screen. (reboot or cycle through init 1 to get it to change.) This (#3) might actually be working.

Every time I've gone in to mess with polkit stuff, I've been disappointed with the results.

#1878 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-16 12:53:43

I believe it's possible to do what you want, but you might need to do some of it manually. I've done encrypted lvm installs before, but I've never done it with an existing lvm that had data on it. See these two threads (and some of the links in them):
https://dev1galaxy.org/viewtopic.php?id=674
https://dev1galaxy.org/viewtopic.php?id=2323

The procedure in the debian-installer for encrypted lvm is not at all intuitive. It goes something like this:
Make an encrypted volume from a partition.
Use the encrypted volume for lvm.
Create the logical volumes inside the lvm and assign mountpoints and filesystems for them.

For reference, here's a video of making an encrypted partition, without lvm. The "4" on the end of the file name is because it took me four attempts to get it right, even though I've done it many times. This will give you a sense of the logic used in the installer.
http://distro.ibiblio.org/refracta/misc … rypt-4.ogv

#1879 Re: Other Issues » VPN client stuck in a "checking DNS" connection loop » 2018-09-16 10:41:59

The cinnamon desktop uses connman instead of wicd. Connman and network-manager support vpn. Wicd does not.

#1880 Re: Installation » I can not install the new Devuan(2) » 2018-09-15 11:13:38

At the boot menu, press 'e' to edit the boot command. Add the word, nomodeset, to the linux line. Then ctrl-x to boot. That usually fixes the black screen.

#1881 Re: Devuan Derivatives » New, new Refracta isos » 2018-09-14 22:56:21

Thanks. I hadn't noticed that. I think I created the extra .desktop file for lxdm in case it ever gets an update - the default is to only show in lxde, so if it ever happens, there will still be one entry. There are two for synaptic, too, in case pkexec doesn't work for you. (I'm beginning to think pkexec has a mind of its own and decides things randomly.)

#1882 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 22:42:49

I tried it again, this time pulling cinnamon from ascii. It seems lightdm wants consolekit, but there's a way around it. And you're right - the power buttons in lightdm don't work, but shutdown/reboot/logout all work from the desktop. I did not install the cinnamon metapackage. I installed what you showed and then had to add cinnamon-core. Something may be missing. It all works when you choose cinnamon from the tasksel window in the installer. Maybe looking at the list produced by aptitude -s install task-cinnamon-desktop would provide the answer. (I'm looking at it now, it's long, and I don't see anything related to consolekit, policykit or elogind.)

Anyway, here's what I did.

# apt-get --no-install-recommends install elogind libpam-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libelogind0
Recommended packages:
  policykit-1
The following NEW packages will be installed:
  elogind libelogind0 libpam-elogind
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
# apt-get --no-install-recommends install lightdm
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  liblightdm-gobject-1-0 libxklavier16 lightdm-gtk-greeter
Suggested packages:
  iso-codes accountsservice upower
Recommended packages:
  desktop-base gnome-themes-standard policykit-1
The following NEW packages will be installed:
  liblightdm-gobject-1-0 libxklavier16 lightdm lightdm-gtk-greeter
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
]# apt-get --no-install-recommends install libpolkit-gobject-1-0-elogind libpolkit-backend-1-0-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpolkit-backend-elogind-1-0 libpolkit-gobject-1-0
  libpolkit-gobject-elogind-1-0
The following NEW packages will be installed:
  libpolkit-backend-1-0-elogind libpolkit-backend-elogind-1-0
  libpolkit-gobject-1-0 libpolkit-gobject-1-0-elogind
  libpolkit-gobject-elogind-1-0
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
# apt-get --no-install-recommends install cinnamon-session cinnamon-control-center cinnamon-settings-daemon
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  accountsservice apg cinnamon-control-center-data cinnamon-desktop-data
  cinnamon-session-common dbus-x11 gir1.2-cvc-1.0 iso-codes
  libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
  libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
  libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
  libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
  libupower-glib3 libusbmuxd4 upower
Suggested packages:
  gnome-control-center gstreamer1.0-pulseaudio libcanberra-gtk-module
  cinnamon-screensaver isoquery libusbmuxd-tools
Recommended packages:
  libcanberra-pulse mesa-utils mousetweaks policykit-1-gnome pulseaudio hwdata
  usbmuxd modemmanager policykit-1
The following NEW packages will be installed:
  accountsservice apg cinnamon-control-center cinnamon-control-center-data
  cinnamon-desktop-data cinnamon-session cinnamon-session-common
  cinnamon-settings-daemon dbus-x11 gir1.2-cvc-1.0 iso-codes
  libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
  libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
  libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
  libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
  libupower-glib3 libusbmuxd4 upower
0 upgraded, 30 newly installed, 0 to remove and 5 not upgraded.

I could log in, but that wasn't enough to get to the desktop, so I installed cinnamon-core. A lot more got installed here than what I'm showing, but no consolekit. I can now get to the desktop, and it seems to be working.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  at-spi2-core caribou cinnamon cinnamon-common cinnamon-screensaver cjs
  cups-pk-helper darkpurpy-icon-theme desktop-base dh-python dmz-cursor-theme
  gawk gir1.2-accountsservice-1.0 gir1.2-atspi-2.0 gir1.2-caribou-1.0
  gir1.2-cinnamondesktop-3.0 gir1.2-clutter-1.0 gir1.2-cmenu-3.0
  gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gdesktopenums-3.0
<snip>

#1883 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 10:33:11

It looks like libpam-ck-connector is what's pulling in consolekit. But it's only a recommended package, not a dependency. Try installing the cinnamon packages without recommends, and you should be able to do it without consolekit.

#1884 Re: Installation » Firefox 60.2.0esr - Rollback » 2018-09-14 03:12:55

Yes, you can just download the package and install it. You might already have a copy of the package in /var/cache/apt/archives/.

#1885 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 03:11:14

I think if you have elogind and libpam-elogind installed first, nothing will pull in consolekit. And you should be safe pulling in parts of cinnamon to get only what you want. That's a common way to have a leaner desktop, regardless of which DE you're using.

#1886 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-12 15:59:39

If you want to install a minimal system, you could use one of the installer isos (not the live) and when you get to the tasksel window, un-check everything except "Standard system utilitites". Then you can add xorg and whatever desktop stuff you want after you boot into the new system.

If you want to start with the desktop-live iso, I suppose you could drop to console and uninstall the desktop stuff before running the cli installer. I've never tried that, but I think it would work.

#1887 Re: Devuan Derivatives » New, new Refracta isos » 2018-09-12 15:44:11

One more time...

beta3: https://sourceforge.net/projects/refrac … s/testing/

2018-09-12 New isos: xfce4, amd64 and i386
    - Fixed/updated accessibility theme.
    - Geany replaces medit.
    - Added xsane, sane-utils, libsane-extras, synaptic package manager.
    - Added some thunar custom actions.
    - Fixed installer help.
    - Added netdev and scanner to default user groups.

Synaptic starts without authentication, but that only seems to be for the primary user. It wouldn't start for a second user, even when the second user started synaptic-pkexec from terminal and entered the root password when requested. You can still start it from a terminal as root by running 'synaptic'. (Without the pkexec part.)

Tell me what's broken so I can fix it and be done with ascii. I want to start working on beowulf.

#1888 Re: Installation » Can Beowulf be used with kde now? » 2018-09-12 14:39:56

Beowulf isn't really ready for use yet, but it is possible to use it if you pin some packages to ascii versions. See this thread: https://dev1galaxy.org/viewtopic.php?id=2301

You could be the first to try it with kde. If you do, please let us know how it goes.

#1889 Re: Other Issues » polkit not available in Beowulf? » 2018-09-10 19:02:04

It's not in ascii-backports. You have to use policykit-1 from ascii.

Add ascii main repo, update, then apt-get -t ascii install policykit-1 or if for some reason that doesn't work, specify the version: apt-get install policykit-1=0.105-18+devuan2.11

You'll probably have to do the same with the libpolkit packages if you're forcing a downgrade from the buster/beowulf version.

#1890 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-10 10:54:28

I managed to install cinnamon from beowulf yesterday, but I can't tell you exactly how I did it. Basically, I installed from desktop-live, added beowulf to sources, removed xfce and slim a couple of times, installed cinnamon a couple of times (without recommends), installed lightdm and had to remove it and install libpam-elogind first, then I could have lightdm without consolekit...

Power buttons are working. I didn't try mounting removable drives. Here are some suggestions for you:

Use codenames in your sources.list. (beowulf/ceres instead of testing/unstable)

Install the devuanized policykit-1 (0.105-18+devuan2.11) and the missing libpolkit-backend (same version)

I got an error about some glib package that needed to be installed because of the newer libc6 but couldn't be installed because it needed a newer kernel. That's when I realized that libc6 was from beowulf. This is where mixing stable and testing can get ugly. You may run into some difficult conflicts with libraries.

In one of your pastes, I saw nm-applet and wicd mentioned. (.xsession-errors, I think.) I got rid of anything network-managy or wicd and installed connman, because that's the default when you install cinnamon from the tasksel window in the installer. Either way, you should pick one package to manage network connections, so they don't fight with each other.

For reference, here's a recent account of another trail-blazer who upgraded ascii to beowulf -
https://dev1galaxy.org/viewtopic.php?id=2301

#1891 Re: Other Issues » downloaded .debs have url escape code in name?! [SOLVED] » 2018-09-09 23:14:42

They look like that in /var/cache/apt/archives, too. I always assumed it was normal.

#1892 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-09 23:12:26

Post the output of dpkg -l | egrep "consolekit|elogind|libpam|policykit|polkit

Also for apt-cache policy libc6

#1893 Re: DIY » Porting Tails OS to Devuan / Disclosure & Discussion Thread » 2018-09-07 21:31:16

I can think of a couple ways to approach this. If everything needed to make Tails is in the debian repos, then it's available in devuan, too. Start with a minimal install, either on hardware or a VM, then add what you want, then make a live iso (for example, by using refractasnapshot.)

The other way would be to install Tails to hardware or virtual disk, upgrade it to devuan, and again, make a live iso with refractasnapshot. I don't think Tails includes an installer, but you could install refractainstaller and install from the live session.

#1894 Re: Installation » Services start issue » 2018-09-03 13:24:58

Any time you create a user, there is a corresponding group of the same name created, and that is the primary group for the user. This is configured in /etc/adduser.conf. (I think if you add your user with 'useradd' instead of 'adduser' you won't get that behavior and will have to define group, shell, home and whatever else yourself.) Sudo will not be confused by this.

The % before sudo in /etc/sudoers is to identify sudo as a group. Groups are prefaced with %. (See man sudoers)

I just want the user to be able to use sudo for some (inocuous) commands
The rest, run with su.

Then get your user out of the sudo group, and if you want more than shutdown commands available, add those other commands to sudoers.d/user_shutdown. (The name is just a name - what's inside the file determines what it does.)
deluser groucho sudo will remove the user groucho from the sudo group. If you want the user to enter a password for sudo, then remove NOPASSWD: from the line in user_shutdown.

I don't know why smartmontools won't start from command line, but I'm sure there's a good reason for it. You can still use smartctl on the command line - it doesn't need to be running as a service for that. If you want it to run tests automatically and/or notify you by email if there's a problem, then you need to turn it on in /etc/default/smartmontools and configure /etc/smartd.conf to do what you want.

Back around 2000, you were probably using ext2 filesystems, which are not journaled and take a lot longer to do a filesystem check. Be glad you're not seeing those messages. The filesystem is being checked at boot, but the message probably goes by too fast for you to see it. Install bootlogd, and you can find those messages in /var/log/boot.

You can change how frequently the filesystem checks are done by running tune2fs.

#1895 Re: Installation » Services start issue » 2018-09-02 19:58:36

Yes, I can start and stop services. Everything seems to be working fine here. I keep apache2 and samba turned off, and I start them on those rare occasions that I need them.

If you don't want the user to be able to use sudo for all commands, then remove that user from the sudo group. You'll still be able to shutdown, etc., becuase of sudoers.d/user_shutdown. And you don't need visudo to edit that file; just edit it as root.

To start smartmontools/smartd, edit /etc/default/smartmontools to uncomment #start_smartd=yes.

You don't have to start the sudo service. Use sudo if you want, or don't use it. It's obviously working correctly on your system.

I don't know what checkroot-bootclean.sh does. It doesn't show up in sysv-rc-conf as a service to start/stop, but there is a symlink for it to start in runlevel 1. I see no reason to mess with it.

#1896 Re: Installation » Services start issue » 2018-09-01 21:42:16

Looking at /etc/init.d/sudo, it looks like all that script does is change the time stamp on /var/lib/sudo. The only command it takes is 'start'. All the others (stop|restart|whatever) do nothing. Anything else gives you the standard error message for init scripts that says you should use start|stop|restart...

If your user is in the sudo group, you should be able to use sudo with your password for all commands. Try something safe like sudo blkid to see if that works. What I don't understand is why user_shutdown works when the includedir directive in /etc/sudoers is commented out. It's commented out in mine, too, but I can shutdown using sudo without password. I'm also getting the same results as you for 'service --status-all' - it doesn't change when I try to start sudo. Maybe that's because sudo runs and then exits after it changes the time stamp.

Edit: 'man sudoers' just answered my question.

The pound sign (‘#’) is used to indicate a comment (unless it is part of a #include directive... (and more)

#1897 Re: Devuan Derivatives » Can't boot to live Refracta 9 disc » 2018-09-01 14:04:02

Yes, (alt) means alternate. I wouldn't consider it experimental. It just starts synaptic from an xterm that asks for the root password. (which is 'root').

In a live session, all of the following methods will start synaptic, but only after you install it. The default method, which uses synaptic-pkexec, doesn't work properly. In the refracta ascii builds, it starts synaptic without asking for a password. That's ok in a live session, where sudo with no password is enabled, but it's not ok in an installation. That's why I removed synaptic from the beta2 isos.

Run (as root or with sudo) apt-get update and then apt-get install synaptic

From the menu, choose the regular synaptic entry or the alt. (You'll have both after you install synaptic.)
From a terminal, run gksu synaptic or su -c synaptic or sudo synaptic or synaptic-pkexec or su to get root and then just synaptic.

#1898 Re: Devuan Derivatives » Can't boot to live Refracta 9 disc » 2018-08-30 02:19:58

If you had installed it to hard drive and got this, I'd say edit /etc/default/grub and put "quiet" back into the linux line. Then run 'update-grub'. I think that will suppress it. But that won't work in a live session.

That iso should boot into xfce.  When you reboot, take a look in /var/log/live/boot and /var/log/live/config for clues. Post them here if they're short. (They usually are.) Also look in /var/log/Xorg.0.log for lines starting with EE.

You could also try running startx at the command line.

Run this, too - ps ax | grep lxdm to see if the display manager is running.

Maybe ctrl-alt-F7 will bring you to the desktop. Try that first.  (ctrl-alt-F1 will bring you back to the prompt.)

One more...  if it keeps trying to get an address forever, ctrl-c should stop it.

#1900 Re: Hardware & System Configuration » /etc/udev/rules.d/70-persistent-net.rules not regenerating [SOLVED] » 2018-08-29 12:19:01

IF the hotplug event is due to the (possibly faked) addition of a net device adapter, and the NAME attribute has not been set for it, and the environment does not contain an net.ifnames variable with value 1, and the initial kernel name pattern is one of some few (including eth* and wlan*), and some few more specialized conditions,
THEN make up a name for the device adapter, and run /lib/udev/write_net_rules to generate /etc/udev/rules.d/70-persistent-net.rules.

FWIW - on the system that had the 70-persistent-net.rules file that I removed, I added a usb wireless interface.

Addition of new device adapter -      check
NAME attribute not set -                  check
No net.ifnames variable -                 check
Kernel name wlan1 -                        check
Specialized conditions -                   ?????

When I plug in the usb wireless dongle, I get a message saying that wlx<hwaddr> was renamed from wlan1.
No 70-persistent-net.rules gets generated. Same if I boot with the dongle plugged in.

So who is renaming wlan1? What are those specialized conditions that were mentioned?

Board footer

Forum Software