libera/#devuan-dev/ Sunday, 2021-10-17

systemdletewhen anacron starts on my beowulf laptop, it says "Starting anac(h)ronistic cron: anacron deferred while on battery power" -- that would be fine except that the laptop is plugged in when I run "service anacron start" and get that message03:00
systemdleteI've web searched for this, and it seems this was a known issue back in 2003(?)   Had something to do with the switch from apm to acpi or something.03:02
systemdleteAnyway, has this ever been addressed since then?03:02
systemdleteIncidentally, my anacron jobs are *not* running.03:02
bb|hcbsystemdlete: anacron is not forked, maybe checking if the same problem is there in Debian and filing a bug report there?03:03
bb|hcbfor reference: https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=anacron&x=submit03:03
systemdletebug has already been filed for this, long ago.03:04
systemdleteI'm looking at mailing list comments from 18 years ago03:04
bb|hcb:(03:04
bb|hcbDo you have a proposed fix?03:04
systemdleteI'm wondering if I'd be better off disabling anacron and just running jobs the old-fashioned cron way.  I mean, my laptop is on wall power most of the time anyway.03:05
systemdlete(the battery is flakey, at least with devuan running on it.  I am sure it works quite nicely with Windoze)03:05
systemdleteno, I have no idea how to best fix this.  I only just started looking at this about 2 days ago when I first noticed it.03:06
systemdletebb|hcb, do you run beowulf on a laptop by any chance?03:06
bb|hcbnope, I run chimaera long before it was released03:07
systemdleteon a laptop?03:07
bb|hcbcouple of them03:07
systemdletedid you run an earlier devuan on either of them before now?03:08
bb|hcban old one (10yrs asus) is with me right now03:08
systemdletemine is an asus also, but it is a tablet, not a real laptop but it comes with a keyboard03:09
bb|hcbit was very brief - i installed beowulf and immediately upgraded03:09
systemdleteok, thanks.03:09
systemdleteso maybe...03:09
bb|hcbif you want me to test something, its ok...03:09
systemdletenah.  You don't have to unless you are curious03:10
systemdletemight be interesting03:10
systemdleteI appreciate the offer03:10
systemdletebb|hcb, do you get the same message from anacron?   "service anacron restart"03:11
systemdleteor maybe stop it and start it03:11
systemdlete(I mean, do you get the same message under chimaera?)03:12
systemdletebut I have a different issue, to do with installing devuan (chimaera in this case, but the same has happened with beowulf and ascii too).03:13
systemdleteThere seems to be no obvious way in the partitioning portion of the install to request that a volume group be encrypted rather than individual volumes03:14
bb|hcbhm, anacron works as expected03:14
bb|hcbthere is message only when i pull the power03:15
systemdleteI mean, I can probably do the disk partitioning outside the installer manually, but I am not sure if the installation will work correctly after that03:15
bb|hcbthat is with anacron 2.3-3003:16
systemdleteAnd another issue is that I accidentally created one partition, but then went back and split that into 2 partitions.  But the LVM part of the partitioning still thinks the 1st partition is the full length of the disk.03:17
bb|hcbmaybe its my wrong personal preference, but I'd rather leave free space during install and do the changes afterwards...03:17
systemdletenot wrong, really.  bb|hcb, I used to do linux installs that way also03:18
systemdleteI used to feel intimidated by stuff like raid and lvm.  These days, I enjoy using them very much, now that I took the time to try them03:19
systemdleteAs to the first issue, with anacron, it sounds like maybe chimaera has resolved this.  But it could also be the particular "laptop" I am using.03:20
systemdletethis is a "Transformer" based on the Intel cherry trail platform.03:20
bb|hcbwhen you touch partitions, it is very likely the kernel view not to get updated; use lsblk to see if the change is there or not; if not, most easy is to reboot03:20
systemdlete(SoC?)03:20
systemdleteright bb|hcb03:21
systemdleteI probably need to sync the new config at a command prompt (shelling out to F1 console)03:21
systemdletepartprobe03:23
systemdletewhich is not available in the shell at this point.  :(03:24
systemdletebut there is another tool that can do this also...03:24
bb|hcbblockdev --rereadpt /dev/XXX03:24
systemdletekpartx03:25
systemdletehmm blockdev, ok03:25
systemdleteblockdev:  Device or resource busy03:26
bb|hcbI may be old-fashioned, but I use fdisk (especially after GPT support is there) ;) blockdev is a low-level tool that allows telling the kernel to refresh the partition table03:26
systemdleteneither df nor mount show any /dev/sda partitions03:26
bb|hcbthat means the partition is in use, most easy is reboot; it may be mapped as lvm or part of raid, who knows03:27
bb|hcbmount may not see it, check in /proc/mounts03:29
systemdletesorry, while I was waiting I continued with the install.  It is encrypting now.03:32
systemdleteBut what I really wanted is one key for the entire vg.  I worry I will get a system with a decryption prompt at boot for 5 different volumes!03:33
systemdleteI think I know how to fix that, but what a pain03:33
systemdleteThe whole idea was for the one vg to be encrypted.  Then if I want additional volumes to be encrypted, I can just add new space to the one, encrypted vg03:34
systemdleteI can modify the crypttab after install and set the volumes up to use the same key.03:37
systemdleteI've done this already when I had to add new physical disks to some VMs.  But lvm does support encrypted VGs -- I've tried it and it looked like it works.03:38
systemdleteIts just the installer that does not know how to do this.03:38
gast0nhi, live-build is still maintained?03:39
bb|hcbsystemdlete: I have no idea, never did that. Laptops are like a temp resource for me and I always do the simple encrypted all-in-one part...03:42
systemdleteRecently (about the last week) I've had file systems go readonly on me.  These are in VMs, so it cannot be a hardware issue (I've checked the host system and there are no hard errors in the kern.log)10:34
systemdleteI'm supposing that this is related to a recent kernel maybe?10:35
systemdleteI have updated the systems here (mostly VMs, a couple of physical boxes) and maybe there was a kernel update, idr now.10:35
systemdleteAfter a reboot -- and fsck -- they seem to go back to normal, though today I had another one go readonly on me, and it had been rebooted just a few days ago.10:36
systemdleteThis is troubling since I have not seen this behavior on any linux system in years.10:37
systemdleteThese are devuan systems.  All are beowulf, though one is ascii (to be upgraded soon...) but I don't remember if that one had this problem recently.10:38
systemdleteAll of the systems experiencing this are VMs.  Hosts have not seen this.10:39
adam_free2airthrough validating arm builds, i have discovered that there is an additional dependency of xorg for chimaera minimal builds to install xfce4 with slim as per https://www.devuan.org/os/documentation/dev1fanboy/en/minimal-xfce-install.html14:38
adam_free2air(don't think slim by default plays well with wayland)14:39

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!