libera/#devuan/ Thursday, 2018-08-09

ServiceRobotdoes anyone know if netifrc is available?06:34
golinuxhttps://pkginfo.devuan.org/06:37
ServiceRobotdamn, it's nowhere to be found in any version06:38
ServiceRobotguess I have to configure manual network the debian way06:38
ServiceRobotor I could just use iproute206:39
golinuxYou asked about a list of devuan projects, I found it but you had gone06:41
golinuxI'll try to find it again06:41
ServiceRobotme?06:41
golinuxI though so.06:42
golinux+t06:42
ServiceRobotI don't remember asking?06:42
golinuxOK.  Maybe someone else06:42
golinuxI'll drop it here anyway https://git.devuan.org/devuan-packages06:44
golinuxHa!  It was you!!06:47
golinux15:27:59 <ServiceRobot> so I'm trying to understand how Devuan sets itself apart from Debian other than the removal of systemd and sysvinit by default06:47
golinux15:28:18 <ServiceRobot> are packages from debian modified in anyway?06:47
CriggieServiceRobot: devuan users have a different flavour of arrogance to the regular debian users :-P06:48
Criggie-grin-06:48
golinuxServiceRobot: You see, we do a lot more the init removal.06:51
ServiceRobotoh, that was answered yesterday by you guys though06:51
ServiceRobot"different flavour of arrogance". that's a bold claim06:52
golinuxI was not awake when the question was asked.06:52
ServiceRobotthen how did you know I asked it?06:53
rrq"when a tree falls in the forest, golinux can hear it, awake or not":)06:54
ServiceRobotshould I quote you on that?06:55
ServiceRobotfrom reading the debian wiki, ifupdown is used to configure the network manually. but ifupdown is legacy, I thought?06:57
ServiceRobotit seems ifupdown2 is an option which depends on iproute206:58
CriggieServiceRobot: I'm just a smartarse - not being serious.07:01
ServiceRobotnah, we gucci. but what's the best way to manually configure the network?07:02
ServiceRobotI just finished taking my final in networking and passed the class07:02
ServiceRobotit seems ifupdown2 looks good. it depends on iproute2 and is written in python07:03
ServiceRobotidk if it's a good option though07:03
CriggiePersonally I want my network to stay where I put it statically.  So its  edit /etc/network/interfaces for me07:04
CriggieLess fun for those who move about a lot07:04
ServiceRobotright, ifupdown uses /etc/network/interfaces07:04
Criggieyup - no Netowkr Mangler here .07:05
ServiceRobotI don't want a network manager for a static server07:05
Criggieexactly!07:05
ServiceRobotbut should I give ifupdown2 a try? mind you I've gotten my network working before by putting iprout2 commands in rc.local but it seems it's a good solution07:06
gnarfaceit doesn't really add features you're likely to need07:07
gnarfaceyou shouldn't have to touch either one though, the scripts should handle it for you, all you need to do is correctly edit /etc/network/interfaces07:07
ServiceRobotI don't know. the reload feature looks like something I'd use for testing07:07
CriggieSimple tools are good - they just work.07:07
ServiceRobotthing is I need ifupdown. it's what parses /etc/network/interfaces no?07:08
gnarfacei thought it was the init script07:08
gnarface /etc/init.d/networking07:08
ServiceRobot"This package provides the tools ifup and ifdown which may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in the file /etc/network/interfaces."07:08
ServiceRobothang on a minute07:08
gnarfaceoh, we're talking about the same thing07:08
gnarfaceifupdown is the package name that the /etc/init.d/networking script is in07:09
ServiceRobotbut it also provides the interfaces file?07:09
gnarfacei'm not sure about that, something does but it comes from a postinst script probably...07:10
gnarfaceprobably though07:10
gnarfaceprobably a postinst script in the ifupdown package, but also maybe multiple packages could provide it07:10
ServiceRobotya, /etc/init.d/networking runs commands from ifupdown07:11
ServiceRobotbut from what I read ifupdown isn't being developed anymore?07:11
gnarfacei don't know the answer for that for sure, but i question the relevance07:12
gnarfacethis isn't the type of thing you want being "constantly developed" underneath your running system07:13
ServiceRobotwell I don't mean constant. I'm wondering if it's abandoned is what I mean07:14
ServiceRobotifupdown2 looks interesting07:14
gnarfaceno, abandoned isn't the same thing as finished07:14
ServiceRobotI've heard other people mention the distinction07:15
gnarfaceas long as you're using jessie or ascii, the version in there won't be changed or updated in any incompatible ways, regardless of what upstream is doing, so it doesn't matter whether it's abandoned.07:15
gnarfacethe version in the distro will be maintained regardless, during that major release07:15
gnarfacenow, it might affect whether it's in future versions07:16
ServiceRobotI suppose. I like to think ahead though07:16
gnarfacebeowulf is still up in the air and could be changed07:16
ServiceRobotthat's what I'm wondering07:16
gnarfaceceres could be changed out from underneath you any day07:16
gnarfacebut eventually beowulf will also get frozen07:16
ServiceRobotifupdown2 is written in python and has a couple new things added. I like python so that's something I guess?07:16
ServiceRobotmay as well use it07:16
gnarfaceand all these decisions are made upstream, btw, at Debian07:16
gnarfaceDevuan just inherits their decisions on package versions07:17
ServiceRobotand makes changes if it doesn't align with the no-systemd motive07:17
ServiceRobotsort of a middle-man for me07:17
ServiceRobotin any case I better get to work setting up devuan on my server machine07:21
ServiceRobotyou guys have been very informative07:21
DocScrutinizer05>> Hence, sooner or later we'll fix all these things for you anyway...<< [Poettering] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739593#54 BWAHAHAHA08:50
MinceRnice to see that site-specific configuration is done in the upstream source code, by client request08:53
MinceR"someone asked for this setting to be changed so we just forced it on everyone else!"08:53
DocScrutinizer05yep, and "we break it for everxybody but a few guys (those who asked for it) but don't worry, *eventually* we will fix all this for you again"08:54
DocScrutinizer05what a blatant obvious lie - when they don't fix it right away same time as introducing the default change, OTHER DEVS have to fix stuff08:55
DocScrutinizer05came to it via https://wiki.debian.org/systemd#Shared_bind_mounts which explains how nasty the situation really is08:56
DocScrutinizer05>> Thus, when you do this:     mount --bind / $CHROOT     mount --bind /dev/ $CHROOT/dev     umount $CHROOT/dev then /dev will be unmounted in your base/parent system as well! << OHMY08:57
MinceRlol08:59
MinceRgood thing it will probably be busy and thus not umounted08:59
DocScrutinizer05don't bet on it08:59
MinceRnot sure what this will do to $CHROOT though, probably that won't be possible to unmount either09:00
DocScrutinizer05have fun trying it ;-D09:00
MinceRwell, it's not like i'll ever do system installation or rescue with lendows live media anyway09:00
DocScrutinizer05a simple umount /dev should do for hours of fun09:00
DocScrutinizer05(umount /dev) seen sth similar when a friend rm -r /scratchbox  (a chroot dir for a qemu env). He wasn't able to recover the machine via ssh09:03
DocScrutinizer05obviously the problem was the bindmount of /dev and all the divices in /dev got rm'ed09:04
DocScrutinizer05totally different topic: I get a random behavior on starting up a daemon servicing a USB HID (UPS). It only starts up a statistical one of 4 times, failing with some errors for the rest. How to tackle this?09:09
DocScrutinizer05https://pastebin.com/20zwNkcr09:12
* DocScrutinizer05 glares at USB09:13
dethaDocScrutinizer05: force it to use that specific protocol?09:17
dethaSounds like one of those where the UPS gets confused by the driver trying various protocols, and depending on timing it may work or not09:17
DocScrutinizer05hmmm. I don't see how the protocol introduces statistical error, but maybe worth a try anyway - if possible09:18
DocScrutinizer05yeah, UPS getting 'upset' might be a valid explanation09:18
DocScrutinizer05I'm looking into USB reset09:19
DocScrutinizer05virtual mating cycle09:19
MinceRkinky09:19
dethaiirc that protocol is just a variant of 'serial-over-USB', with a USBmaster-to-serial adapter in the UPS09:20
dethaSo it's just sending a few bytes over a tunneled serial link09:20
DocScrutinizer05then, >>No supported devices found.<< seems to suggest USB lib doesn't even find the HID devices to probe for protocols09:20
DocScrutinizer05detha: (ser over USB) exactly09:21
dethaTrue. You can also force it to use a particular USBid too, maybe that helps09:21
DocScrutinizer05I already do09:21
MinceRi don't think it's supposed to be serial if it's HID09:21
DocScrutinizer05yeah, I'm totally lost with this. I tried both09:22
DocScrutinizer05it's totally obscure what actually goes on there09:22
DocScrutinizer05the device shows as HID in lsusb for example09:22
dethaYeah. sometimes running the driver itself, with -dddd, shows something. I remember spending 2 days getting one of those to work09:23
DocScrutinizer05https://pastebin.com/20zwNkcr09:24
DocScrutinizer05dang, sorry09:24
DocScrutinizer05https://pastebin.com/gvz0m00w09:25
dethaoddness indeed09:32
DocScrutinizer05I tend to blame the USB lib09:34
DocScrutinizer05https://pastebin.com/qZhd5Pvb09:37
dethaIt certainly looks that way. Anything interesting in dmesg, like the device disappearing/reapeering ?09:42
DocScrutinizer05nope09:47
DocScrutinizer05well, waitz09:47
DocScrutinizer05nope:  https://pastebin.com/Wp9E38Cq09:53
DocScrutinizer05(my dmesg is var/log/messages09:53
DocScrutinizer05)09:53
DocScrutinizer05IOW dmesg doesn't log at all since rsyslogd started09:54
dethaso much for that theory, not the very low-level USB stuff then09:55
DocScrutinizer05who asked if systemd had an editor already?  journalctl --since "9:40"   !vim09:56
dethaoooh. does it also have !emacs ?09:58
DocScrutinizer05sure09:58
DocScrutinizer05at very least no privilege escalation built in ;-P09:58
DocScrutinizer05at least no OBVIOUS IMMEDIATE ...*09:59
DocScrutinizer05detha: https://pastebin.com/W8F1ciGC10:06
DocScrutinizer05comes in chunks10:06
DocScrutinizer05with seconds of pause in between10:06
detha30 seconds? That's USB lib/driver problems yeah10:07
DocScrutinizer05whatchagonnado when it explodes into your face?10:10
DocScrutinizer05this also explains a few trouble I've seen with my USB attached camera "storage device"10:11
DocScrutinizer05MIP?10:12
DocScrutinizer05PIP10:13
DocScrutinizer05err PTP10:13
DocScrutinizer05https://pastebin.com/uT9XT7k010:15
dethaI would blame the driver. Got any other machines with older or newer kernels you can try the device on?10:17
DocScrutinizer05it the driver (or HW) no doubt10:33
DocScrutinizer05other machine hmmmm hard10:33
DocScrutinizer05other USB port maybe10:34
DocScrutinizer05UGH!! https://pastebin.com/dAfEGr4E10:35
DocScrutinizer05NB the error though10:35
DocScrutinizer05unplug-replug makes it behave like this on the original USB port as well10:37
DocScrutinizer05https://pastebin.com/uhmTHWRz10:38
DocScrutinizer05seems like the product type HID got not detected (yet?) on the fast, last, one? lists "error" for a few values where the slow one has "iProduct                2 USB to Serial"  and  "iConfiguration          3 20100813"  and  "iInterface              4 Sample HID"   and (HID) "Report Descriptor: (length is 27)"10:45
dethaSounds like breakage in the hub talking to the device10:48
DocScrutinizer05hmmmmm10:48
DocScrutinizer05the second one, with the "errors" (no HID detected) is after replugging and founf on a sibling USB port as well10:53
fr33domloverHi people10:53
fr33domloverI'm trying to migrate a fresh debian 9 to devuan ascii10:53
DocScrutinizer05so the defect in hub would be to *detect* "HID"?10:53
fr33domloverhttps://devuan.org/os/documentation/dev1fanboy/migrate-to-ascii10:53
fr33domloverI'm doing apt-get install sysvinit-core10:54
fr33domloverBut no such package10:54
DocScrutinizer05detha: hey, look at this https://pastebin.com/EG5p0wuN - it's initial lsusb after plugging to a genuine USB2.0 external hub10:56
gnarfacefr33domlover: usually it's a mistake in your /etc/apt/sources.list or you forgot to run `apt-get update` first10:57
fr33domlovergnarface, thanks i'll check. it's a fresh vps, just created, didn't do anything yet ^_^10:57
dethaDocScrutinizer05: I was thinking about that - putting an external hub inbetween the two. What does nutdrv do with that setup?10:57
DocScrutinizer05detha: I.E "iManufacturer           1 INNO TECH" (not "error") *and* fast10:58
dethaA USB hub works like a network router, as far as I understand10:59
djphdetha: more like a network hub, aaiu, but meh11:00
djph*aiui11:00
dethadjph: maybe more like a switch. But definitely not like a traditional network hub11:00
DocScrutinizer05detha: `/usr/sbin/upsdrvctl -DDD start` 4 of 4 succeed11:01
dethaDocScrutinizer05: the good news: it works. the bad news: it's a kludge with more points of failure ;)11:01
djphdetha: yeah, words ... I need coffee11:13
DocScrutinizer05actually, it's still broken11:28
DocScrutinizer05https://pastebin.com/qfqq3Tkt11:28
DocScrutinizer05check for ################ and ++++++++++++++++++++11:28
dethano logic in there, random timing things.11:32
DocScrutinizer05if any logic then: a USB mating cycle almost always fixes it. And a `systemctl start nut-driver.service` breaks it for good until such mating-cycle11:35
dethayeah. Something the driver does confuses things.11:47
fishfear1how well does devuan support chromebooks? it installs just fine on my Acer C720, but apparently the wifi does not work. ip addr shows the interface, but there is no address (through default install) -- if there is something else to be done then that is my fault. I haven't touched debian in so long and things aren't where I expect them to be :s12:19
djphdid you connect to a WLAN?12:22
djphI mean, that's kind of key in order to get an IP address :)12:22
gnarfacefishfear1: i don't know but it's possible you might just be missing non-free firmware.  do some google searches for the wifi device model#12:30
fishfear1djph: .... I may actually be a moron tonight ^^; I have an idea about what variant of PEBKAC has afflicted my situation. thanks12:35
fishfear1I'm so used to setting up wired connections that I forgot this isn't wired-capable. so... oops12:35
djpherr... what?12:37
DocScrutinizer05well, actually you *could* set up WLAN with static IP as well. Similar to wired eth12:55
fishfear1I'm so used to setting up my [static] address by hand with normal text files in a console that I tried doing that with my laptop here while forgetting I need to use some gui applet (or know the process of doing that by hand also; which I don't)12:57
fishfear1tldr I'm an idiot due to bad habits. don't worry12:57
gnarfacethe file is /etc/network/interfaces12:57
gnarfacethe man page is just `man interfaces`12:58
fishfear1thanks gnarface13:01
DocScrutinizer05fun question: how do you list the NAMES (not values) of all $LC* ?13:06
DocScrutinizer05echo $LC* gives the values13:06
dethaset |grep LC_13:07
DocScrutinizer05:-)13:08
DocScrutinizer05set |grep ^LC13:09
nacelleenv might be better than set, where some shells dont have a set20:58
nacelle(I think)20:58

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