Refracta Development, Scripts, etc.
Post a reply

Re: Going with the systemd flow . . . or not?

Sat Dec 13, 2014 9:24 pm

Don't know whether you're on modular-debian or not so posting this. Looks like it might be useful (but what do I know . . . )

http://www.freelists.org/post/modular-d ... ncing-vdev

Re: Going with the systemd flow . . . or not?

Fri Jan 02, 2015 1:13 pm

I just made a snapshot of the openrc testing version of Trios (jessie respin with a lot of "nosystemd" re-packages) and the snapshot does not boot. It hangs a little sooner after "starting scripts init-bottom" than refracta does. Same workaround works - boot with "init=/bin/bash", then start udev and init manually.

Re: Going with the systemd flow . . . or not?

Sat Jan 03, 2015 10:47 pm

I made a jessie iso yesterday with lxde, systemd, and the latest versions of refracta-snapshot and refracta-installer. I am using xz compression which I do not contribute to a problem. Sticking with sysvinit lead to knfsd no bootshittery. Installing systemd with live-config-systemd for refracta-snapshot was the next step to get rid of the knfsd problem.

The new iso boots sort of. Live-config fails as well as console system startup logging, which then tries to load my slim login, but sits at a blank cli screen with nothing on it.

Back in march I had no such problems with systemd whatsoever. Wtf is this? This is all completely unusable for debian now if you just want to have an installed system without the ability to make your own iso backups.

Too bad i can't experiment with devuan quite yet.

EDIT: I remember uselessd. Don't know what this means for us.

Re: Going with the systemd flow . . . or not?

Sun Jan 04, 2015 12:23 pm

Black console makes me think maybe you need to add 'nomodeset' to the boot command.
If you edited etc/slim.conf in your installed system, check the autologin settings. The live-config scripts edit those settings at boot time.
If your user name is something other than user, you might need to add username=<your username> to the boot line. (I'm not sure about that.)

Those are just some guesses. I just made a snapshot of a sid system, and the iso boots. But that one has lightdm, not slim. Made one of jessie with systemd about a month ago, and that worked, too. That one did not give me autologin to the console, but when I did log in, it went automatically to the desktop. That's with no display manager, just a window manager.

Note that the desktop now runs on tty1; it used to be on tty7. So if you try navigating to different virtual consoles with ctrl-alt-Fn, you might feel lost. Also, with systemd, the various tty1-12 that we're used to no longer exist. There's only tty1. The rest get created on the fly when you want to use them. If you ctrl-alt-Fn to a black screen, wait a little while to see if the prompt comes up. There might be some delay.

If you can get to a prompt, check /var/lib/live/config/ to see which live-config scripts ran at boot.

Can't think of anything else right now.

Re: Going with the systemd flow . . . or not?

Sun Jan 04, 2015 4:10 pm

Just in case you're not on the mailing list, here's theDevuan release roadmap. So we'll have something to play with by the end of January.

Re: Going with the systemd flow . . . or not?

Tue Apr 07, 2015 6:13 pm

Pleased to report that whatever was causing hang on live bootup with sysvinit and util-linux 2.25x seems fixed with util-linux 2.25.2-6 .. Using here nosystemd build from http://angband.pl/debian/pool/main/u/util-linux/

Lots of other debs there, including latest cups and dbus.

Latest Debian package noticed here with libsystemd0 dep is sane-backends which was quite simple to recompile. Debs posted here with sources: http://www.exegnulinux.net/refracta/exp ... -backends/

Sorry very little time to do anything with Refracta stuff (nor other dev work) lately.

Re: Going with the systemd flow . . . or not?

Tue Apr 07, 2015 6:25 pm

Nice to see you dzz. It's been a while. Good to know the live bootup glitch is fixed. Don't know whether you're keeping up but Devuan beta is just days away. As soon as I install and pimp it out, I'll see how resfractasnapshot likes it.

Re: Going with the systemd flow . . . or not?

Tue Apr 07, 2015 10:14 pm

Pleased to report also that my Jessie install with xfce4 now has shutdown reboot and usb handling working!

Using udisks2 and policykit from http://angband.pl/debian/pool/main/u/util-linux/ (seems the same as in devuan repo) and self-compiled consolekit2

This makes xfce4 a viable option again (although so far no suspend in logout menu)

Re: Going with the systemd flow . . . or not?

Wed Apr 08, 2015 11:35 am

Hey, thanks for the update and the repackaged debs, and welcome back. Good to see you again.

I'll either remove the the patch on initramfs-tools/init in refractasnapshot or change it so it only runs with the affected version(s) of util-linux. Wait... it's only fixed if you use the systemd-less package?

Another thing that appears to be fixed is running /sbin/blkid as user, so I can uncomment the tests in refracta2usb that wouldn't work. Don't know when that'll happen - I've been pretty busy with other stuff, too. And I haven't actually tested that in the script yet.

Re: Going with the systemd flow . . . or not?

Fri Apr 10, 2015 10:50 am

New util-linux needs some more testing before we can say for sure this problem is fixed. I used a clean debootstrap for this test. I don't yet know what will happen after an "upgrade" before refractasnapshot is used.

Posting from a new live image, built from that debootstrap. It is xfce with lightdm with a similar package list and UI configs to refracta7. Everything seems to work (including suspend). *systemd* is excluded. It has just been installed (with refractainstaller). Here are listed the alternative packages used:

Code:
[email protected]:~/Desktop$ dpkg -l|grep nosystemd|awk '{print $1 " " $2 " " $3}'|column -t
ii  bsdutils                      1:2.25.2-6.0nosystemd1
ii  consolekit                    0.9.2-1+nosystemd1
hi  cups                          1.7.5-10.0nosystemd1
hi  cups-bsd                      1.7.5-10.0nosystemd1
ii  cups-client                   1.7.5-10.0nosystemd1
hi  cups-common                   1.7.5-10.0nosystemd1
ii  cups-core-drivers             1.7.5-10.0nosystemd1
ii  cups-daemon                   1.7.5-10.0nosystemd1
hi  cups-ppdc                     1.7.5-10.0nosystemd1
hi  cups-server-common            1.7.5-10.0nosystemd1
ii  gir1.2-polkit-1.0             0.105-8.0nosystemd1
ii  gvfs:i386                     1.22.2-1.0nosystemd1
ii  gvfs-backends                 1.22.2-1.0nosystemd1
ii  gvfs-common                   1.22.2-1.0nosystemd1
ii  gvfs-daemons                  1.22.2-1.0nosystemd1
ii  gvfs-libs:i386                1.22.2-1.0nosystemd1
ii  init                          1.22+nosystemd1
ii  init-system-helpers           1.22+nosystemd1
ii  libblkid1:i386                2.25.2-6.0nosystemd1
ii  libck-connector0:i386         0.9.2-1+nosystemd1
ii  libcolord2:i386               1.2.1-1.0nosystemd1
ii  libcups2:i386                 1.7.5-10.0nosystemd1
ii  libcupscgi1:i386              1.7.5-10.0nosystemd1
ii  libcupsimage2:i386            1.7.5-10.0nosystemd1
ii  libcupsmime1:i386             1.7.5-10.0nosystemd1
ii  libcupsppdc1:i386             1.7.5-10.0nosystemd1
ii  libmount1:i386                2.25.2-6.0nosystemd1
ii  libpam-ck-connector:i386      0.9.2-1+nosystemd1
ii  libpolkit-agent-1-0:i386      0.105-8.0nosystemd1
ii  libpolkit-backend-1-0:i386    0.105-8.0nosystemd1
ii  libpolkit-gobject-1-0:i386    0.105-8.0nosystemd1
ii  libpulse-mainloop-glib0:i386  5.0-13.0nosystemd1
ii  libpulse0:i386                5.0-13.0nosystemd1
ii  libsane:i386                  1:1.0.24-8+nosystemd1
ii  libsane-common                1:1.0.24-8+nosystemd1
ii  libsmartcols1:i386            2.25.2-6.0nosystemd1
ii  libudisks2-0:i386             2.1.3-5.0nosystemd1
ii  libupower-glib1:i386          0.99.1-really-0.9.23-2.0nosystemd1
ii  libuuid1:i386                 2.25.2-6.0nosystemd1
ii  mount                         2.25.2-6.0nosystemd1
ii  policykit-1                   0.105-8.0nosystemd1
ii  sane-utils                    1:1.0.24-8+nosystemd1
ii  udisks2                       2.1.3-5.0nosystemd1
ii  upower                        0.99.1-really-0.9.23-2.0nosystemd1
ii  util-linux                    2.25.2-6.0nosystemd1
ii  uuid-runtime                  2.25.2-6.0nosystemd1
ii  xfce4-power-manager           1.4.1-2.0nosystemd1
ii  xfce4-power-manager-data      1.4.1-2.0nosystemd1
[email protected]:~/Desktop$

More later!

EDIT: Posted the ISO here for anyone who wants to test it: http://www.exegnulinux.net/refracta/iso/
Post a reply