The officially official Devuan Forum!

You are not logged in.

#1826 Re: Devuan » Great OS, minor critiques » 2019-01-22 11:44:44

Try xcalc. It's part of the x11-apps package and may already be installed.

apt-cache search software lists the following package among others.

$ apt-cache policy software-properties-gtk
software-properties-gtk:
  Installed: (none)
  Candidate: 0.96.20.2-1
  Version table:
     0.96.20.2-1 500
        500 http://deb.devuan.org/merged ascii/main amd64 Packages

No GUI user management.

That's an xfce thing. Other desktops have their own management tools.

#1827 Re: Other Issues » Openssh problems virus » 2019-01-21 21:36:43

I don't know how to interpret the output from dpkg -V. I like debsums better.

Check the installed package:

$ debsums openssh-server
/lib/systemd/system/ssh.service                                               OK
/lib/systemd/system/ssh.socket                                                OK
/lib/systemd/system/ssh@.service                                              OK
/usr/lib/tmpfiles.d/sshd.conf                                                 OK
/usr/sbin/sshd                                                                OK
/usr/share/apport/package-hooks/openssh-server.py                             OK
/usr/share/doc/openssh-client/examples/sshd_config                            OK
/usr/share/lintian/overrides/openssh-server                                   OK
/usr/share/man/man5/sshd_config.5.gz                                          OK
/usr/share/man/man8/sshd.8.gz                                                 OK

List changed package files from all installed packages with checksums. (Run this one as root)

# debsums -ca
/usr/share/abiword-3.0/system.profile
/usr/share/applications/sol.desktop
/etc/apache2/sites-available/000-default.conf
/etc/cron.daily/apt
/etc/firejail/thunderbird.profile
/etc/firejail/firefox.profile
/usr/bin/firemenu
/usr/share/applications/gparted.desktop
/etc/grub.d/05_debian_theme

I have some files that were changed. This is OK - I know that I changed these files. (Note: I just learned this command, and I really like it a lot. The above list was much longer, but I truncated it. It shows all the system files I've edited, including all the ones I forgot about.)

#1828 Re: Other Issues » Openssh problems virus » 2019-01-20 21:54:57

/etc/shadow- and /etc/gshadow- are backup files that get created when you add/remove a user or group. Their presence does not indicate that you have been hacked. And if you have been hacked, removing those files will not help you.

Edit: If you remove /etc/shadow or /etc/gshadow, you won't be able to log in.
See man shadow and man gshadow for more information.

https://www.securityweek.com/researcher … -backdoors

On a Debian-based distribution,
debsums or dpkg -V can be used to compare MD5 hashes of installed files with a manifest stored on disk in /var/lib/dpkg/info/. It’s a start, but the manifest file, which only contains paths and MD5 sums, can be tampered with. An mportant thing to know is that in the Debian and Ubuntu official repositories, only the metadata is PGP-signed. The .deb package itself isn’t signed. The metadata contains the hash of .deb packages and that is the only thing that can be trusted.

#1829 Re: Installation » Problem booting encrypted LVM » 2019-01-15 11:59:06

Sorry I wasn't available earlier. I'd like to know how this turned out. Did fixing crypttab fix the problem?

Also, for clarification...

The installer in the live isos (refractainstaller and refractainstaller-yad) will let you encrypt /home or / but without lvm. Instead of an encrypted swap partition, it can create a swap file on the encrypted root partition.

It's possible to manually create lvm and then use refractainstaller (cli version only) to install the system. See the link that Simplicio provided in the previous post for some examples.

If you (alphalpha) have a modified refractainstaller script that does lvm, I'd like to see it. Thanks.

#1830 Re: Installation » Installing Devuan from VBox » 2019-01-05 15:56:24

For the live installer, choose sudo at the beginning. It's easier - you won't have to enter a password. It has no effect on whether you use sudo or not in the installed system.

I prefer the live installer - it's a faster install. (I may be biased - I wrote it.) If you want the default xfce desktop, you can have it in about 10 minutes. If you want a more customized system, you may be better off with one of the installer isos.

If you use a gpt partition table on a system that's booting in bios (legacy) mode, you'll need to create a small, unformatted partition with bios_grub flag in gparted (or EF02 in gdisk). (Click on Help from inside the installer for more info about this.)

The warning about the version of yad might be obsolete. It's been working fine for me for a few months. My best guess is that something got fixed in gtk3 or in virtualbox.

#1831 Re: Devuan » Why are pulseaudio files present in Devuan? » 2018-12-29 18:35:36

Are you using ascii or beowulf? Try installing xfce4 in parts instead of with the metapackage, and maybe you'll see what is pulling in pulseaudio. They might have added the dep because there's no more xfce4-mixer.

I know that Refracta ascii does not have pulseaudio installed, so I know it's possible in ascii, and I'm pretty sure it's possible in beowulf.

#1832 Re: Devuan Derivatives » TDevuan My best hope for » 2018-12-27 16:59:20

Yes, TDE with devuan is possible. Here is one you might want to look at:
http://exegnulinux.net/

#1833 Re: Installation » Xen and the art of VM » 2018-12-24 11:50:09

Looks like that bug only affects systemd. I've been using that version of live-config in ascii and haven't run into problems with it. But what live iso are you using? Both the desktop-live and minimal-live should have refractainstaller installed already. You could use the cli version of the installer and then add vnc to the installed system later.

#1834 Re: Installation » Xen and the art of VM » 2018-12-24 00:35:05

I didn't think of it this morning, but you could just add 'noautologin' to the boot command. That would do the same as commenting out the sed command in 0160-sysvinit.

You might need to add some options to the genisoimage command. The xorriso command used to create the iso looks something like this.

xorriso -as mkisofs -r -J -joliet-long -l ${isohybrid_opt} \
    -partition_offset 16 -V "snapshot-live-cd"  -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
    -boot-load-size 4 -boot-info-table ${uefi_opt} -o "$snapshot_dir"/"$filename" iso/

isohybrid_opt is the path to isohdpfx.bin which is somewhere in /usr/lib/syslinux or /usr/lib/ISOLINUX. The exact location varies with the version of syslinux.
uefi_opt="-eltorito-alt-boot -e boot/grub/efiboot.img -isohybrid-gpt-basdat -no-emul-boot"

I'd be interested to know what error messages you got when trying to install refracta tools. If you don't want to do that in this thread, feel free to start another or email me. Thanks.

#1835 Re: Installation » Xen and the art of VM » 2018-12-23 11:37:30

The inittab in the live session does not contain the line you posted for the getty. It gets changed by /lib/live/config/0160-sysvinit to the following:

1:2345:respawn:/bin/login -f devuan </dev/tty1 >/dev/tty1 2>&1

If you want to change it again, you could make a hook script that runs after the other live-config scripts, but I'm not sure where you could put it without rebuilding the iso. In the refracta8 (jessie) isos, I put a hook script in /live/hooks and then add 'hooks=file:///live/hooks/myscript' to the boot command. (yes, three slashes, and this is from memory, so check man live-config)

Or, if you're going to mount the iso and mess with files, you could just change that live-config script to do what you want.

#1836 Re: Installation » [Solved] LiveCD fails to boot, spams consoles with "Auth failure" » 2018-12-22 01:29:57

The failsafe  entry in  the  syslinux boot menu is missing 'username=devuan'. I checked the amd64 so far. It's probably the same in the i386. Thanks for bringing this to my attention.  If/when we do a point release, I'll fix it. (And in beowulf, too.)

#1837 Re: Installation » [Solved] LiveCD fails to boot, spams consoles with "Auth failure" » 2018-12-21 18:42:54

It's not a known issue. That iso should work on hardware as new as yours. (2008?)

How far into the boot do you get?

Make sure the boot command contains 'username=devuan'.

Maybe try adding 'nomodeset' to the boot command. (That might be in the failsafe entry, which you should also try.)

#1838 Devuan Derivatives » Refracta Tools for Beowulf/Ceres (and Buster/Sid) » 2018-12-19 21:50:32

fsmithred
Replies: 3

New versions of refractasnapshot and refractainstaller are available in Ceres and also on sourceforge. The ones on sf are signed with my key and have ~fsr in the version. Other than that, they are the same as the ones in the repo.
https://sourceforge.net/projects/refracta/files/tools/

refractainstaller-base (9.5.0)

  * Set root path to include sbin directories. (for Buster/Beowulf)
  * Eliminate sudo/su question in wrapper script. Try sudo first.
  * Shorten log name to refractainstaller.log
  * Changed yad version test to 0.27 or newer needed. (This is a guess.)
  * Changed wording for sshd_config (s/without-password/prohibit-password)

refractasnapshot-base (10.2.0)

  * Set root path to include sbin directories. (for Buster/Beowulf)
  * Fixed missing grub splash in uefi boot.
  * Choose task first, get disk report only with full snapshot.
  * Put report in text-info window so it has scroll bars and fits on screen.
  * Merge grub-efi warning into main report.
  * Automate the encryption confusion:
  * Test initrd for cryptsetup. Rebuild with CRYPTSETUP=y if needed.
  * Test initrd for conf.d/resume and cryptroot. Remove if present.
  * Update ssh_config wording.
  * Replaced dysfunctional progress bar in check_space() with info window.
  * Test for config file after command-line options.
  * Changed name of log to refractasnapshot.log
  * Make help screen available within program.
  * Added '-iso-level 3' to xorriso command for isos larger than 4GB.

#1839 Re: DIY » [SOLVED] Creating a bootable iso file » 2018-12-16 18:55:59

I didn't put refractsnapshot-gui in the ascii repo because it wasn't working well with gtk3. You might get off-screen buttons in some of the windows. If so, just use the cli version. They are the same. The latest version (10.2.0) at sourceforge (and soon to be in unstable repo) doesn't have this problem. That version also has the fix for isos larger than 4GB. Nevertheless, you should exclude your data if there's any significant amount and use a different method for the data backup.

If you want to make a bootable backup of a non-uefi system, you can ignore the warnings about grub-efi. If you want your iso to be bootable on bios or uefi (in case you want to install on a uefi system) you need to do a few simple things:
- install grub-efi-amd64 and grub-efi-amd64-bin but don't let grub install the bootloader. Tell it NO when it asks.
- include the grub-pc package in the iso. Put it in the root of your filesystem before you make the snapshot. When you get around to installing the system, if you boot on bios, the installer will find the grub-pc iso and install the package. It will also ask if you want the bootloader installed. Most likely, you will want to say YES here.
Note: It's also possible to do the opposite of the above. Keep grub-pc installed, include grub-efi-amd64 and grub-efi-amd64-bin packages, set force_efi=yes in the config file, and make the snapshot. If you boot on a uefi system, the installer will find the grub-efi packages and install them.

If you know you will only install on a bios system, you can do nothing and just ignore the warning. Your iso will not boot on uefi systems.

#1840 Re: Hardware & System Configuration » Devuan Ceres Grub 2.02+dfsg1-8 (EFI) » 2018-12-09 17:43:52

grub-efi-amd64  2.02+dfsg1-8 seems to  be working correctly here. I rebooted into my ceres install, checked that the grub version was right and ran grub-install --bootloader-id=nodbus && update-grub.

This installation is on a single partition. No raid, lvm or encryption.

#1841 Re: Hardware & System Configuration » Devuan Ceres Grub 2.02+dfsg1-8 (EFI) » 2018-12-09 16:28:28

I haven't tried that yet, but I will let my ceres install take over the boot on this machine. Meanwhile, can you tell me how your grub directory got into the efi partition? The only file I have in any of the efi directories is grubx64.efi. My grub directory is a subdir of /boot, as it has always been.

#1842 Re: Installation » Single Partition Encryption » 2018-12-09 16:19:14

Installing the second system should be as easy as running the installer for that system and choosing (or creating) another partition - unless you didn't leave a spare partition or extra space on the drive to create one.

If you want help with partition layouts, describe what you currently have and what you want to accomplish. (output of 'fdisk -l' would help.)

#1843 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-12-06 17:54:59

Good one to know. I never heard of multipath-tools and don't have it installed. Also never used dmsetup commands. Thanks for that!

#1844 Re: DIY » largely for siva (+ anybody interested): distro remixing methods » 2018-12-05 20:22:29

I think I'm confused about what you want to do. If you want to include refractainstaller in your no-gui system, you won't be able to use the gui version. If you want gui, you have to install xorg and whatever else you want for a desktop.

apt-get install refractainstaller-base refractasnapshot-base
apt-get install refractainstaller-gui 
apt-get -f install

That last command will add all the dependencies, including yad (if you're in ascii, but not if you're in jessie.)

If you want refractasnapshot-gui, it's not in the repo, but you could download it here -
https://sourceforge.net/projects/refracta/files/tools/
Warning: the first screen might not display properly (with buttons off-screen). That's why it's not in the repo. There's no advantage over the cli version.

Now that I looked at the versions on sourceforge, I suggest you download the latest versions and install wtih:

dpkg -i refracta*.deb
apt-get -f install

If I misunderstood your question, try again.

#1845 Re: Installation » Single Partition Encryption » 2018-12-05 20:08:01

Here's a video showing how to do what you want to do, except not on a logical partition. It's very easy to get it wrong. (the '4' in the file name means it was my fourth attempt, and I've done it many times before.)
http://distro.ibiblio.org/refracta/misc … rypt-4.ogv

#1846 Re: Installation » Single Partition Encryption » 2018-12-05 17:11:44

Are you sure you're using a live iso? The output you posted looks like it's from the debian installer, which is only in the installer isos.

Some thoughts - I seem to recall that for a root partition inside an extended partition, you need to mark it with the boot flag. I guess that assumes that /boot is in the root partition.

If you encrypted the root partition without a separate boot partition, then you need to have a line in /etc/default/grub that will tell grub to ask you for the pass phrase.

GRUB_ENABLE_CRYPTODISK=y

If you installed from a usb, the bios may have switched the drive numbers when you tried to boot without the usb. Check what your grub.cfg says.

#1847 Re: Off-topic » The only thing I don't love about Devuan » 2018-11-29 14:09:24

Sorry about that, but we didn't get to choose who left and who didn't. If we did have that power, we would have taken a few more. But it turns out that would not have been necessary - they're coming around eventually. First year, we got all people who didn't want systemd, but as time goes by, we keep getting more people who thought they did want systemd and changed their minds after they got it.

Welcome to devuan.

P.S. Also sorry I didn't see your post a year ago. I don't think I've ever had two installs come out exactly the same with debian-installer.

#1848 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-11-28 19:05:36

Doh! You need to rebuild the initramfs without lvm support. I'm not sure if disabling it in all runlevels before running update-initramfs -u is enough. There may be a config file with a setting something like the one for mdadm. Another way to do it would be to remove lvm2 and mdadm, and the initramfs will be rebuilt automatically without those items.
.

#1849 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-11-28 13:43:48

I don't know how that could happen. Are you making new snapshots or doing this on a persistent partition after making changes? Either of those ways should work.

#1850 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-11-27 11:13:45

I've seen the same issue with mdadm and raid. To avoid having to manually unmount and close the volume group, you could disable the lvm2 service before making a snapshot. That can be done with update-rc.d or sysv-rc-conf. If you want to get fancy, you could have lvm enabled or disabled in different runlevels, and then make boot menu entries for the different levels. (There's already one for runlevel 3 as text mode in the stock refractasnapshot menu..) That way, it would be available if you need to boot live and access files in the lvm.

Board footer

Forum Software