libera/#devuan/ Tuesday, 2021-05-18

peebowowhen your installing devuan, how can you choose your init system?06:05
gnarfacepeebowo: first of all, make sure it's not the live installer.06:07
peebowooh06:07
peebowook06:07
gnarfaceyou might also have to select "expert mode" but i'm not sure about that06:08
peebowoalright, thanks for the help06:08
gnarfaceno problem, scan the early questions in expert mode for the "load additional installer components" section (not sure if that comes up if you're not in expert mode) i think it is in there06:08
peebowowhat iso should i pick from the website?06:09
gnarfaceone of the netinstall ones is usually ideal unless you are trying to install to an airgapped system06:09
peebowothanks again lol06:09
gnarfaceno problem06:09
peebowobye!06:10
rwpgnarface, The standard installer will have a dialog question where it asks for choice of init system.  It's in the standard install flow.07:45
gnarfacenoted07:56
gnarfacei've just never actually run an install in non-expert mode on purpose07:56
gnarfacethat is to say that i've never completed one sober that i can recall07:56
gnarfaceso i just frequently caveat my advice with that07:56
gnarfaceto be in expert mode because i'm not sure what questions are not asked outside of that07:57
rwpI normally run the standard flow.  However have on occasion run the Expert flow.  I don't remember the reasons either way now.  But the standard flow has everything.08:06
golinuxrwp:  There are differences08:17
golinuxin choices08:17
golinuxIf you would like to select an alternate bootloader (lilo) or exclude non-free firmware, you must choose "Expert install" under Advanced options.08:18
golinuxScreenshots here: https://www.devuan.org/os/documentation/install-guides/beowulf/install-devuan08:21
rwpgolinux, I know there are differences.  But init question is in the standard flow and it is not necessary to use the expert install to get that dialog question.08:57
adhocthat is handy to know08:59
sissleHi there, got a brend new corsair 512 GB Stick, but refracta2usb doesn't recognize it :( It has a 4GB Fat 32 primary partition, bot no recognition12:54
sissleAny ideas why refracta2usb doesn't recognize the stick, is it due to size?12:58
fsmithredsissle, it doesn't see it at all?13:07
sisslecorrect13:07
sissleI can open it with gparted with no probs13:07
fsmithred /usr/sbin/hwinfo --usb --short|grep "/dev/sd"|awk '{print $0}'13:08
fsmithredthat's the comman it uses to find the usb. Try it in terminal and see what it says.13:08
sissleIts a bit complicated, is on other laptop13:08
sisslemoment13:08
fsmithredalso look in ~/.refracta2usb/snapshot2usb.log13:09
sissle  /usr/sbin/hwinfo --usb --short|grep "/dev/sd"|awk '{print $0}' shows nothing,   /usr/sbin/hwinfo --usb --short shows Corsair Voyager as disk?13:12
fsmithredno /dev/sd?13:14
sissleno13:14
tsadokWhat does dmesg say?13:14
xinomilomaybe not sdX but something else? is it mounted? df -h?13:15
sissleit's not mounted, dmesg says13:17
tsadokBut does it say what the device file is?13:18
xinomilowhat does gparted open? what's the device name there?13:18
sisslescsi 6:0:0:0: Direct access Corsair Voyager GTX13:18
sissleattached as scsi generic sg0 ....??13:19
tsadokSo /dev/sg0 ?13:19
fsmithredno, mine says sg5 there, and it's /dev/sde13:20
tsadokAh.13:20
fsmithredon the next line13:20
sissleI don't get it :(13:20
tsadokSo /dev/sga maybe.  Possibly.13:20
tsadokIf it got a device name assigned.13:21
sisslehow to check that?13:21
fsmithredgparted13:21
tsadokWhich occasionally doesn't happen for weird reasons, though gparted's ability to open it would be unexpected then.13:21
sisslein gpartd it sda13:25
fsmithredoh, this is interesting. I just plugged in a usb hard drive (2T) and it shows up in dmesg but not with hwinfo13:25
tsadoksissle: Ok, so /dev/sda is the device file then.13:25
sisslenice that this an interesting challenge ;)13:26
fsmithreddid you boot live usb? Or is there no hard drive?13:26
fsmithredand /dev/sda should have shown up in refracta2usb.13:26
sisslethere is a SSD (sdb) and on the stick is actualy an iso I wrote to it with etcher to test if the stick is working in any way, so I will create now an 4 GB FAT 32 on it (Marker boot (lba?))13:27
fsmithredjust need to have boot flag on it13:28
sissleshould i refresh the partitiontable (msdos)?13:29
fsmithredI just re-partition with gparted13:29
fsmithredI only mess with the partition table if I zeroed the beginning of the usb stick13:30
sissleSo now I have a 4 GB fat32 boot partition, rest unallocated13:32
sisslereboot without stick13:34
sisslesame :(13:34
fsmithredyeah, for some reason hwinfo isn't seeing the device13:34
fsmithredI'm getting the same with my usb hard drive13:34
sisslein gpartd its now sdb13:34
fsmithredok, so here's how to hack the script so it works. gimme a sec.13:35
sissleevery time u need, glad u help me :*13:35
fsmithredok, as root...13:38
fsmithrednano +159 /usr/bin/refracta2usb13:38
sissleyessir13:39
fsmithredTell me if you're on a line that starts with "device=$($DIALOG --width=400 --height=200 --center --title="$TITLE"13:39
sisslercorrect13:39
fsmithredor if you see it nearby13:39
fsmithredcool13:39
sissle<:D13:39
fsmithredcomment out that line (begin the line with #)13:39
sissleyep13:39
fsmithredalso to the next few lines to inclued the if/fi that has the exit 0 in it13:40
fsmithredlooks like total of 5 lines here13:40
fsmithredthen on the blank line, put the following13:40
fsmithreddevice="/dev/sdb"13:40
sisslewith --$BUTTON... as well commented13:40
fsmithredyeah13:41
fsmithrednote that this will only work if the device is really /dev/sdb13:41
fsmithredand could totally mess up your system if it's wrong13:42
sisslethx 4 warning13:42
sisslebut this is quite dirty, isn't it :P13:42
fsmithredwe're just hard-coding the device instead of selecting it from a list13:43
sissleO i've overseen the /dev/sdb :O13:43
sissleI'll write it in, makes suddnly all sense13:44
fsmithredoverseen/overlooked13:44
sisslehmmm...same13:46
fsmithredyou saved the script after changing the lines?13:47
sissleyes, just in again13:48
fsmithredyou're right. It doesn't work.13:48
fsmithrednot sure why.13:48
fsmithredoh13:49
fsmithredthere's a test above that13:49
fsmithredI think you can ignore the warning.13:49
fsmithredjust select the task you want13:49
fsmithredmaybe not13:50
sisslenope :(13:50
sissle"No device was selected"13:50
fsmithredyeah13:52
fsmithredcomment out lines 153-15613:52
sisslein original format?13:53
fsmithredif [[ -z "$usbdevfullist ]]...13:53
fsmithreddown to "fi"13:53
fsmithredfour lines13:53
fsmithredseems to work now.13:55
sissleyes, great :D13:55
fsmithredtested by selecting "Format" and gparted opened with the right disk13:55
sissleoh, ok, I'll test that13:55
fsmithredyeah, that way you can be sure you have the right disk13:56
sisslehmm gparted says Could not stat device /dev/sdb13:57
fsmithredfdisk -l13:57
sissleno /dev/sdb, stick in and out13:59
sisslethere it is13:59
fsmithred?13:59
fsmithredis it sdc now?13:59
sissleno, /dev/sdb and gpartd finds the right one14:00
fsmithredah, ok14:00
fsmithredI need food. I'll be back in a few minutes.14:01
sissleI'm writig an snapshot, till later "Mahlzeit!"14:01
fsmithredback14:10
sisslewb14:10
sisslecould write snapshot.iso, but it didn't boot to end, no user login...14:10
sisslewhere can i get refracta-lang14:11
sissleI#ll update my system then, create new snapshot and retry it14:12
fsmithredhttps://sourceforge.net/projects/refracta/files/Extras/refracta-lang_1.1.deb/download14:12
sisslethx14:13
sisslesorry for my dumbness14:13
fsmithredwhat dumbness?14:14
sissleto find the file myself14:15
sissleShould I create a new snapshot or re-squash it will do it?14:18
fsmithreddepends on what changes you made14:22
fsmithredre-squash is needed if you edited things in $work_dir14:23
sissleThx, I'm creating a new, 'clean' one14:23
fsmithredwhole run is needed if you changed stuff in the source system14:23
sissleyou're very polite, thx again 4 ur time14:24
fsmithredyw14:24
fsmithredI like my stuff to work.14:24
sissleGreat spirit :)14:25
sissleI relize that refracta2usb is 'just' a bash script, right?14:25
fsmithredyup14:28
fsmithredsome functions are in separate files in /usr/lib/refracta2usb14:29
sissleDamn, doesn't boot, black screen14:29
fsmithreddid you get a boot menu?14:29
sissleAuthentication failure wircd?14:30
fsmithredwicd?14:30
sissleyep14:31
sissleboot menu shows up, many lines till Authentication14:31
fsmithredyou made a snapshot of a system that has your wireless credentials?14:32
sissleI thought yes14:32
fsmithredand you didn't set it to keep those creds.14:32
fsmithredI think it's in the config file14:32
sissleI'm not sure, it just works on boot, so I guess yes14:32
fsmithrednetconfig_opt="ip=frommedia"14:34
fsmithreduncomment that line in /etc/refractasnapshot.conf to include your wireless logins in the iso14:34
fsmithredalso preseves /etc/network/interfaces14:34
sisslewhat happens then when booting on an other pc with wicd?14:35
sisslehow to config in devuan beowulf xfce the wifi? Didn't find anything :o14:36
fsmithredif the iso has the right firmware for the other pc, then wireless will work.14:37
sisslecan't I just deactivate on boot?14:37
fsmithredif you set up persistence, you'll run into issues with the network device changing14:37
fsmithredoh, probably. I'd have to think about how to do that.14:38
sisslehm, sounds unpleasant, wanted to create my personal usb-pc takeaway14:38
fsmithredI usually do that by putting personal stuff in the persistent volume, which is encrypted.14:39
sisslethats my plan too14:39
fsmithredthen there's always the fallback read-only system with no personal data14:39
fsmithredif you want to be able to boot without wicd running, you could turn it off in the default runlevel14:41
fsmithredthen change runlevel when you want to run it14:41
fsmithredor do stuff manually14:41
sissleI don't find any wifi / network gui editor in xfce14:42
fsmithredI need to go out in a few minutes14:42
fsmithredit's in wicd14:42
fsmithredpreferences. Click on the triangle/arrow in the upper right14:42
fsmithredor expand to full screen to see it14:42
sisslehow to open wicd? From bash?14:42
fsmithredalso a button for settings with each wireless signal it sees14:43
fsmithredin Network in the apps menu14:43
fsmithredsorry, Internet14:43
sisslei dont have there network, only firefox14:43
fsmithredis wicd installed?14:43
fsmithredwicd-gtk14:44
sisslenot yet, installing14:45
sissleaah14:45
sissledo I still have to uncomment the line in the conf now?14:46
fsmithredno14:46
fsmithrednot if you're going to set up persistence14:46
fsmithredboot with persistence, set up network there14:46
sisslebut I've to create a new snapshot14:46
sissleThanks 4 all ur help. Have a nice day14:47
fsmithredyeah, for wicd-gtk to exist14:47
fsmithredgood luck14:47
sisslesame 2 u14:47
sissle@fsmithred: again the authentication failure wicd15:25
sissleHi there, I still trie to boot a beowulf 3.1.1 (original and modified .iso) usb stick. I'm stuck in an authentication failure on boot up with wicd. All tries (ip=frommedia), taking an original .iso didn't work. Any ideas?17:27
gnarfaceyou're not able to try a ethernet??17:30
sissleit does not show a login17:30
sissleits hanging at starting wicd17:30
gnarfacewell, i don't know what's wrong with it, but if you can use ethernet maybe you can update and that will fix it17:31
gnarfaceyou're sure you have the firmware for this wifi device if it needs firmware?  that might be something else you'd have to get by ethernet17:31
gnarfacewell, it might be on that cd, i don't know for sure17:32
sissleI tried several iso, all made with refracta2usb17:32
gnarfacei see... what is the wifi device?17:33
sisslegood question17:33
sissleI boot ...17:33
gnarfaceit should show up with the output of lspci or lsusb17:33
gnarfaceit should also show up in dmesg but it would be harder to find17:34
sissleNetwork controller Intel Centrino Advanced-N 620517:36
sissleEthernet: Intel 82579LM17:36
gnarfacehttps://wiki.debian.org/WiFi17:36
gnarfacehttps://wiki.debian.org/iwlwifi17:37
sissleIn the installed beowulf wifi works fine17:37
sissleonly usb boot doesn't work17:38
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=firmware-iwlwifi17:38
gnarfacemy assumption is that you're missing this package17:38
gnarfaceor it might just not be a new enough version17:39
sissleas said, wifi on the locally (HDD) installed system works, firmware... is installed17:40
fsmithredsissle, do you get the error message when the desktop is trying to come up?18:00
fsmithreddid you change the user name from "user" to something else, and if so, is there a username=something in the boot command?18:01
sisslewb, good point18:41
sissleIt Works :O18:46
daemonhey all is there an rc method to simply reset a postgresql server database to blank18:49
daemonwell as if it was brand new18:49
sisslesudo apt-get purge postgresql then reinstall?18:53
aitor_hi20:58
aitor_today i uploaded new images of gnuinos:21:00
aitor_https://www.gnuinos.org/Beowulf/21:00
aitor_some minor changes in the packaging of vdev; now the images work fine in virtualbox21:01
aitor_but not so good with qemu... i'm still working on that21:02
aitor_the images also include the Hopman project, you'll find the icon of hopman in tint221:04
aitor_be careful with your data during your tests21:07
aitor_an issue with uefi has been fixed too21:08
aitor_bbl21:10
Hurgotronxfce on beowulf here - is it supposed to ask for the password all the time when e.g. mounting CDs or USB drives via the desktop? My old system didn't...21:56
fsmithredHurgotron, no it should not ask for those things. Make sure you have policykit-1-gnome22:12
Hurgotronfsmithred: I do.22:40
fsmithredelogind, libpam-elogind, udisks2, gvfs-backends22:41
Hurgotronall of that, except gvfs-backends - just gvfs. But that works on the virtually identical old machine just fine.22:43
Hurgotronfsmithred: looks like a policykit issue to me. Responsible for mount is the entry org.freedesktop.udisks2.filesystem-mount in /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy23:01
Hurgotronbut the action <allow_active>yes</allow_active> does not work for me.23:01
Hurgotron<allow_inactive> yes is also not enough. Only if I set <allow_any> to yes it works as expected23:02
HurgotronThe old system didn't have that...23:02
fsmithred<allow_any>auth_admin</allow_any>23:02
fsmithred<allow_inactive>auth_admin</allow_inactive>23:02
fsmithred<allow_active>yes</allow_active>23:02
fsmithredthat's what I have in beowulf23:02
HurgotronSame, on the old system and before I started debugging.23:03
fsmithredI did not change any of that and mounting external media works for user23:03
HurgotronSame :)  Still, on the new system i need to have <allow_any>yes</allow_any> (well, just for testeingmt he issue is something else of course)23:04
fsmithrednew system is beowulf or chimaera?23:04
Hurgotronbeowulf23:05
fsmithredoh, there's a second section that allows differently23:05
HurgotronI diff'd all pof polkit - it's identical23:06
fsmithredfirst two are the same, third one is23:06
fsmithred<allow_active>auth_admin_keep</allow_active>23:06
fsmithredoh, this file just keeps on going23:07
Hurgotronmaybe the authentication agent is broken or something,,,23:07
fsmithredmore likely something is missing.23:07
fsmithredunless it's just broken in your system23:08
Hurgotronfsmithred: unfortunately my experience debugging policykit is limited23:08
fsmithredsame here23:08
HurgotronThought so... anyone else? :)23:09
fsmithredmaybe loginctl says something useful23:10
fsmithredloginctl session-status23:11
fsmithredI have no idea if this will help23:11
HurgotronIt does, good one.23:11
Hurgotronloginctl session-status23:12
HurgotronCould not get properties: Caller does not belong to any known session23:12
fsmithredoh23:12
fsmithredno display manager?23:12
Hurgotronwhich explains a lot23:12
HurgotronSlim. it's a really standard setup23:12
Hurgotronnot sure what I fucked.23:13
Hurgotronah I can think of something...23:13
fsmithredmaybe run that pam thing23:13
fsmithredif I can remember it23:13
HurgotronI canged the hostname at some point. But several reboots ago23:13
fsmithredpam-auth-update23:13
fsmithredI have Unix auth and elogind checked in that.23:19
fsmithredyou changed in /etc/hostname and /etc/hosts?23:20
Hurgotronyes...23:21
Hurgotronpam-auth-update looks the same here23:22
fsmithredI think someone may have posted about getting slim to play nice with sessions at the forum recently, but I don't know who or what thread.23:23
fsmithredanother possible solution is to install lightdm23:23
fsmithredafk23:26
Hurgotronhttp://dev1galaxy.org/viewtopic.php?id=4034 I guess23:27

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