libera/#devuan/ Monday, 2020-08-24

user1Hello.  I'm trying to create a init script for wireguard, but it seems it's not behaving as expected. ie, when i boot with no network, wg-quick tries to establish a connexion, blocking the boot process for like 1min00:06
user1that's the init script im using: http://sprunge.us/lnG5vZ00:06
user1if anyone could point me where the issue lies/how to fix it, i'd be grateful :>00:07
masonuser1: Do you just want it to start manually?00:35
masonIf so, maybe: update-rc.d wireguard disable00:35
masonThen you can "service wireguard start" and "service wireguard stop" at your convenience.00:36
user1i was more expecting it not to start if requirements aren't met (like, no network)00:37
user1but im not sure this can be accomplished.  your solution might be more adequate00:37
masonuser1: You can inject some scaffolding to check for a working network, and some logic to decide what to do if there's no network, etc. Manual control sounds more pleasant to me.00:39
user1mh indeed00:42
user1thanks for the hints00:42
openbsdtai123hello a little question, on devuan ascii live, what is the default desktop 1) XFCE4 or 2) LXDE ?00:47
openbsdtai123thank you00:47
fsmithredopenbsdtai123, xfce00:53
openbsdtai123is autofs or usbmount preinstalled on this live? it seems that the auto mount works fine... very fine.00:57
openbsdtai123thank you00:58
user1(is there any specific chan regarding the chimaera release ?)00:59
fsmithredusb is not mounted automatically - you have to click on the icon that pops up01:00
fsmithredautofs is not installed01:01
fsmithreduser1, no, and chimaera is not yet a release01:01
fsmithredbe ready for dealing with breakage if you use it01:02
user1fsmithred: yes indeed, i canoot upgrade my system because of broken deps01:07
user1i'd be glad to help tho. even if im not that tech savvy :x01:07
systemdleteso... any thoughts on xfce+policykit?01:11
fsmithrednot any that are fit to print01:16
systemdlete:)01:17
systemdletefsmithred:  Is this still an issue on Beowulf?01:17
systemdleteI'm trying to justify upgrading from ascii01:18
systemdleteor, maybe I just need to move over to mate01:18
systemdlete(I like mate anyway)01:18
fsmithredif you want shutdown/reboot buttons to work, you need policykit-1-gnome and all it pulls in01:22
fsmithredyou can exclude Recommends if you want01:23
fsmithredsystemdlete, I've been using beowulf since the beginning of the year. xfce works fine01:23
systemdletewhat happens if you try to launch, say, gufw?01:24
fsmithredno clue01:24
systemdlete(or another pk program01:24
systemdletexfce works fine here also)01:24
systemdleteIt's the pk stuff that seems to be iffy, judging by user reports I've found by searching the web01:25
fsmithredis gufw a graphical program that you need to run as root?01:25
systemdletegraphical ufw (uncomplicated firewall)01:25
systemdleteIt works fine on my host mate desktop, but not in my xfce VM01:25
fsmithredwell, if the authors or maintainers made a good pkexec file, it should work fine01:26
fsmithredwhy not in xfce?01:26
systemdleteit tells me I can't run as root, and then it tells me it is reporting me to the principal01:26
fsmithredis it beowulf?01:26
systemdleteascii, which was the basis of my question01:26
systemdleteboth are ascii --host and VM01:27
systemdletebut the host runs mate, whereas the guest runs xfce01:27
fsmithredok, so the problem is not due to changes in su01:27
fsmithredcan you run other programs as root on the desktop?01:27
systemdlete(sorry if I was not clear)01:27
systemdleteexample?01:27
fsmithredlike a graphical text editor or file manager?01:27
systemdletewhy would I run a text editor as root?01:28
fsmithredok, I'm lost01:28
systemdleteor do you mean another pk program?01:28
fsmithredwhat's the problem?01:28
systemdletegufw requires a policykit login01:28
fsmithredyou have to be root to run a firewall, right?01:28
systemdleteto make changes to the firewall, yes01:28
fsmithredis there a gufw-pkexec or something like that to start it?01:29
systemdletemust be01:29
fsmithredwell, you're running ascii01:29
fsmithredhow does it work01:29
fsmithred?01:30
fsmithredor maybe it doesn't work?01:30
systemdleteyes, there is a gufw-pkexec on both the host and the guest.01:30
fsmithredand you have all the right 'kit shit installed in the vm?01:31
systemdleteit works fine when I use the mate desktop on the host.  I can give the root login when it prompts me and I get the GUI. But not in the  guest where I am running xfce01:31
systemdletewhat would "all" of that be?01:31
systemdlete(I'm no expert on this stuff)01:31
fsmithredany other pkexec stuff work? synaptic or gparted?01:32
systemdleteah, gparted.  I could try that.   Hold on.01:32
systemdletewell, gparted tells me you have to be root to run it (like, duh).  If I run it from the menu, nothing happens at all.  It just fades away.  From user command line01:35
systemdleteit tells me that and just exits01:36
systemdletewhen I click the OK button01:36
systemdlete(sorry, fingers a bit unsteady here)01:36
systemdleteI'll try synaptic01:36
systemdletehttp://paste.debian.net/1160978/   (similar output for gufw, different output for gparted though)01:38
systemdletefsmithred:  Have you tried synaptic on xfce on beowulf?01:40
fsmithredyes01:40
fsmithredit works01:40
systemdleteyou are able to enter the root password and it takes it without an error?01:40
fsmithredam I here?01:51
systemdleteyes01:51
systemdleteam I?01:51
fsmithredyeah01:51
fsmithredthunderstorm here01:51
systemdleteoh01:51
systemdleteI thought maybe you didn't like my question.  LOL01:51
fsmithredpolicykit-1-gnome elogind libpam-elogind01:52
systemdleteGood to hear you are getting some wet there.  We got a little here (Sacramento) a few days ago, but not since.01:52
fsmithredwe just got dumped on. Sorry I can't send you some.01:52
systemdletewhere are you?01:52
fsmithredmassachusetts01:52
systemdleteoh, is that one of the hurricanes/tropical storms?01:53
fsmithrednot sure if they've arrived yet01:53
systemdleteso those are the 3 packages I need then?01:53
fsmithredand some libpolkits that come with them01:54
systemdletelet me check...01:54
systemdlete234.4-2 for elogind and libpam-elogind01:55
systemdletedo you have an ascii there with xfce?  maybe you could try it and we could compare?01:56
systemdleteif it fails for you also, then I have my answer.01:56
fsmithrednot one I can get to easily01:56
systemdleteok.01:56
fsmithredbut I know it works. I've spent time on this. Look on the forum.01:57
systemdletewell, maybe someone else here has one.01:57
fsmithredpkit-1-gnome01:57
systemdleteok01:57
fsmithredsystemdlete, how did you install the ascii?02:00
systemdletehmmm.02:00
systemdletethinking02:00
fsmithredlook in /var/log02:00
systemdletedpkg.log?02:01
fsmithredrefractainstaller.log?02:01
systemdletenope02:01
fsmithredor maybe just installer if you used d-i02:01
systemdleteI think it was a netinstall, though02:01
systemdleteI see I have 2 devuan ISOs where I normally keep them02:02
systemdleteboth are netinstall, one for ascii and one for beowulf02:02
systemdleteI found the installer subdir02:03
fsmithredyup02:03
fsmithredis the VM used for any real work?02:04
systemdleteoh yeah.  It's my "main" VM, where I do my personal accounting, job searches, church stuff, etc02:04
fsmithredoh02:04
systemdleteit's not a test VM, but I have tons of those02:05
fsmithredmake another one, about 12G and install beowulf to look at it02:05
fsmithredok02:05
fsmithredtry it, you'll like it02:05
systemdleteI have a beowulf vm already!02:05
systemdleteI use it for testing, and I have poked around in it a bit02:05
systemdleteIf/when I run into issues with beowulf, will the solution be to upgrade to Chimaera?   :D02:07
fsmithredno02:07
fsmithrednot for another year, at least02:07
systemdlete(was j/k there, fsmithred)02:08
systemdleteI searched the forum for policykit-1-gnome ascii xfce and got 4 hits02:08
systemdletenone look related to my issue02:08
fsmithreddid gparted work or not?02:09
systemdleteno02:09
fsmithreddid you try starting it from a root terminal?02:09
systemdleteit gives me a popup telling me that only root can do this, and then I click a control and it goes away, never to be seen again02:10
systemdlete(until I try it again, that is)02:10
systemdleteI can make you a movie.02:10
fsmithredwhat command are you using?02:11
systemdleteI tried it from the menu; nothing happens, as I said before.02:11
systemdleteI tried it from user command line --02:11
systemdletethat's where it gives the popup telling me mere plebes like me are not permitted to run gparted02:11
fsmithredgparted-pkexec as user should give you a text dialog that asks for password02:11
fsmithredwhich command?02:12
systemdlete(I'd like to remind linux that it is MY computer...)02:12
fsmithredsu02:12
systemdleteI ran gparted02:12
fsmithredgive root password02:12
fsmithredgparted02:12
fsmithredit should start02:12
systemdleteI can run any of them as root, setting the DISPLAY to :0.  yeah, then it works.02:12
systemdletebut that's a rather finicky workaround02:12
fsmithredin ascii, that should just work02:13
fsmithredno display messing02:13
fsmithredin beowulf, su is different02:13
systemdleteI didn't try it without.  I just assumed that root would not have access to the DISPLAY02:13
systemdleteoh02:13
systemdletewait, you mean just plain "su" -- I always use "su -" to get a root env02:14
fsmithredyes, just 'su'02:14
fsmithredand you can use user's X02:14
systemdletesure, if I ran just plain su I wouldn't need the DISPLAY variable set02:14
systemdletebut that's minor.02:14
systemdletethe point is, I have to su to run a GUI program.02:14
systemdleteSounds like I need to plan a couple of upgrades here...02:14
fsmithredeither that or make a working pkexec file02:14
systemdletewhere are those kept?02:15
fsmithredin /usr/share/polkit-1/actions02:17
fsmithredgood luck02:17
systemdletehttp://paste.debian.net/1160981/; it's the stock file that came with ascii02:18
fsmithredthat looks vaguely familiar02:19
systemdletehttp://paste.debian.net/1160983/  is an excerpt from the auth.log02:23
systemdleteI think that's several tries.02:24
fsmithredwhat display manager?02:24
systemdletelightdm02:26
systemdleteis that it?02:26
systemdleteistr there was a mismatch between dm's and window managers02:26
fsmithredI really don't know02:27
fsmithredyou can try the fix for lightdm that's in the beowulf release notes02:27
fsmithredthat's specifically for the shutdown buttons on the login screen, but it might help with the session overall02:28
systemdletehmmm. ok02:28
fsmithredthis is a guess. I don't understand policykit at all.02:28
fsmithredI understand that it's a major pain in the ass for me and a lot of other people.02:28
systemdleteAlong with SELinux, ACL's, and a zillion other bits of security tossed into the mix02:29
systemdleteSELinux doesn't bite as much these days.  They seem to have gotten the karma for various files just right.02:30
systemdleteBut every once in a while, I find that SELinux has to be addressed.02:30
systemdleteI'll try the Beowulf release notes02:31
systemdletethanks again for your patience.02:31
fsmithredgood luck02:32
systemdleteconsole-kit and elogind are both running.   If they are mutually exclusive, why doesn't apt handle that?02:41
systemdletethe release notes say to run "xprop --root --remove AT_SPI_BUS" but that throws an error.02:42
systemdleteof course, I am on ascii, not beowulf.02:42
systemdleteI did make the suggested change for the greeter though.02:42
fsmithrednot that02:47
fsmithredin /etc/pam.d/lightdm02:47
systemdletewell, the problem is gone, thanks!02:47
pablocastellanosTried for hours without success. It is possible to add nfs shares in /etc/fstab? With debian 6, debian 7, it worked. Tried in beowulf, and strange things happens at boot time.02:47
systemdleteI completely obliterated console kit from my system, rebooted, and voila!02:47
systemdleteI can successfully invoke gparted, etc.02:48
fsmithredoh02:48
systemdleteyeah, oh.02:48
systemdleteLOL02:48
fsmithredyeah, elogind or consolekit, not both02:48
systemdleteapt really should enforce that02:48
systemdleteI know I am pretty effusive with thanks, but thanks again.  These little things pile up and turn into major annoyances.  It is good to know I can come here to get some answers.02:50
systemdleteI'll still plan on a beowulf upgrade soon.02:50
pablocastellanosLooking at /etc/rcS.d/ supposedly mountall must not try to mount network filesystem, only local ones. then only after networking and nfs-common, mountnfs must mount nfs shares, but that's not happening. mountall tries to mount nfs shares, but rpcbind is not running, and errors appears at boot, and nfs shares are never mounted.02:51
fsmithreddo read the upgrade guide02:51
pablocastellanosThis is a brand new installation of beowulf, It is possible a bug on initscripts package?02:53
systemdleteI have an ascii install where I have an nfs mount in the /etc/fstab.  It works.02:55
pablocastellanossystemdlete: I'll try to configure my nfs mounts in ascii then, upgrade to beowulf to see what happens.02:57
systemdleteso you have an nfs entry in /etc/fstab and you have problems with this?02:58
fsmithredI use autofs with my nfs02:58
systemdleteon beowulf, I mean.02:58
pablocastellanossystemdlete: Yes, it never mounts.02:58
pablocastellanossystemdlete: A race condition occurs02:59
systemdleteI'm not recommending you install ascii then upgrade to solve this.  I doubt that would solve the problem.02:59
fsmithredpablocastellanos, did you see if there's a bug report either in devuan or debian?02:59
systemdletewhich init are you using on beowulf?02:59
pablocastellanosfsmithred: sysvinit03:00
pablocastellanosfsmithred: Tried to install openrc, it happens too03:01
pablocastellanosfsmithred: I'll check if there is any bug report03:01
rrqpablocastellanos: perhaps adding a "_netdev" option to the nfs entries in fstab make some difference?03:01
fsmithredare server and client both beowulf?03:02
rrqmountall.sh mounting avoids those03:02
rrq(and i'm not sure about the underscore)03:03
pablocastellanosrrq: OK, I'll try03:03
pablocastellanosfsmithred: Nope, server is debian jessie, client beowulf, but a manual mount -t nfs -o vers=3 jessie_ip:/path beowulf-path works. It's a problem with the mountall script of initscripts03:05
fsmithredok, you solved the problem I was expecting03:05
pablocastellanosfsmithred: Probably fstab syntax changed as rrq suggests03:06
fsmithred_netdev is correct03:06
fsmithredI'm looking at man mount03:06
adhocmorning folks03:08
adhoccan someone point me in the right direction?03:08
fsmithred-->03:08
adhocapt-get -yu dist-upgrade is throwing the following;03:08
adhocE: Repository 'http://deb.devuan.org/merged beowulf InRelease' changed its 'Suite' value from 'testing' to 'stable'03:08
adhocN: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.03:09
adhocthanks fsmithred03:09
fsmithredapt update03:09
fsmithredthen say 'yes' when it asks03:09
adhocok, that is new to me03:09
adhoc=)03:09
fsmithredbecause it is new03:10
adhocfeature || bug03:10
fsmithredhttps://devuan.org/os/install03:10
pablocastellanosadhoc: If you prefer apt-get, then apt-get --allow-releaseinfo-change update03:10
fsmithredcheck the upgrade guide for the tricky parts03:10
adhocthanks fsmithred03:11
adhocpablocastellanos: that will save me a whole lot of hassle across my VM build farm ;)03:11
pablocastellanosadhoc: :D03:12
adhochad not thought that installing beowulf, and it flipping from testing to stable would be an issue.03:14
fsmithredthe isos got made right before the repo was switched, so yeah, it's a bug03:17
adhocsuch is life =)03:17
adhocglad there is a work around03:17
adhocand you folks are helpful03:17
fsmithredapt needing you to allow it is the new feature03:17
fsmithredwe didn't do that part03:18
adhocdid that come from upstream?03:18
fsmithredyes03:18
fsmithredshould only run into it if you were running beowulf before it went stable03:18
adhocI had to upgrade to get access to various language libraries03:19
golinuxDoesn't anyone read documentation to solve upgrade/ install issues anymore?05:09
furrywolfI think most people are now used to software distributions where, rather than errata, a new build would be released with a workaround already in it.05:33
markizano<golinux> Doesn't anyone read documentation to solve upgrade/ install issues anymore? <- LoL - no... :'(06:02
golinuxWell . . . newsflash . . . it's annoying to have to answer the same question dozens of times when the answer is available on all devuan channels.06:04
adhocgolinux: If you are refering to my question above, I did search for about half an hour last week when I hit this problem last week06:17
adhocI didn't find anything.06:17
adhocI had another search this morning to see if htere wasn an update.06:18
adhocSo I asked here, as I assumed I was doing something wrong.06:18
adhoc"--allow-releaseinfo-change" is not in the man page either06:21
adhocFrom the error message, apt-secure talks about insecure repositories but not the mechanism required to move from testing to stable.06:24
adhocgolinux: perhaps it is on the channels because it is not sufficiently well described on the web yet.06:25
adhocHopefully in time this documentation will be created and you will see a drop in folks confused about what happened ...06:25
golinuxadhoc: Not referring to anyone in particular.  I don't even remember your question.  I am old an grumpy . . .06:28
adhocgolinux: so what is IRC for it not asking questions?06:33
golinuxThat is true. But questions that are well documented and discussed else are . . . well.06:43
golinuxNot saying that was your case btw.06:44
systemdletewhew!  That was nasty.  Entire ascii host (and VMs) froze up.  http://paste.debian.net/1160999/09:14
systemdleteNote that before this part of the log, there were many dozens of those USB errors ("xhci_hcd 0000:02:00.0: WARN Event TRB for slot 2 ep 4 with no TDs queued?")09:15
systemdleteI switched my two USB3 devices to USB2 ports to see if this alleviates that problem.  They are only warnings apparently, but I'm wondering if they might reflect some kind of instability.09:16
systemdleteSeveral of the VMs do use USB devices, including those 2 USB3 devices.09:16
kreyrenwhen we will get emacs-27 in devuan!09:43
kreyrenhttps://pkginfo.devuan.org/stage/ascii/ascii/emacs_46.1.html what09:44
kreyrennot even ceres has it yet :c09:45
Junicchisup13:41
Junicchiupgraded to devuan bullseye13:41
Junicchipulseaudio doesnt start automatically13:41
Junicchii have to start it manuall using pulseaudio --start13:41
Junicchii can use xinitrc to do it manually but13:42
Junicchianyone has an idea why it broke?13:42
zatumilautospawn disabled? https://www.devuan.org/os/documentation/install-guides/beowulf/Release_notes_beowulf_3.0.0.txt13:45
Junicchiits enabled13:48
Junicchiok i did that manually, didn't see the one in client.conf.d14:00
Junicchinow no prob14:00
ShorTienever heard of 'devuan bullseye' .. :/~14:05
fsmithredchimaera=bullseye   Junicchi be sure to use codenames in sources.list (chimaera)14:18
crashoverrideany standard place to put the env vars to be set at shell invokation time?14:29
crashoverridethere's /etc/environment, but that seems to be a PAM thing only.14:32
fsmithredcrashoverride, maybe /etc/environment.d/14:32
fsmithredI have two files ending in .conf14:32
crashoverridefsmithred: sure, but I was hoping for a HOME dotfile.14:32
debdogusually .bashrc14:33
crashoverrideterrible idea.14:33
crashoverrideI was only looking at /etc/environment to see if there was a per-user definition.14:33
fsmithredyeah, .bashrc should work14:33
crashoverridebashrc would never work.14:33
debdogor .bash_profile, depending on the env var14:33
crashoverride1. I do not, ever, use bash14:33
crashoverride2. bash isn't even installed.14:33
debdogthere must be something similar for your shell, too?14:34
crashoverrideyeah, but I am trying to clean my .zshrc14:34
crashoverrideand besides, I don't always use zsh, so I'd like something more portable.14:34
crashoverridebut no, not .profile14:34
debdogyou can source any file from withtin .zshrc14:35
crashoverrideI was searching for a place to specifically, preferrably defined in a standard, declare env vars.14:35
crashoverrideI know I can source files from my shell RC.14:35
crashoverrideI'm already doing this for aliases and functions.14:35
crashoverrideah well14:36
* debdog scratches head "not entirey certain I do understand you"14:36
debdog*erly14:36
crashoverrideokay, you see how .profile is defined as a standard file to execute when the shell is starting?14:37
crashoverridewell, I was hoping there were other places for different things14:37
crashoverridebut apparently, just profile.14:37
debdogAFAIK the root is /etc/profile. everything is getting sourced from there14:39
debdogAKA, anything there is 'standard'14:39
crashoverrideWell, no.14:39
crashoverridePOSIX clearly defines the existence of a .profile file.14:40
crashoverrideat least it mentions it, I'm currently searching for the exact specification; but I'm using a terrible search engine so... it will take some time.14:40
debdoghehe. if you find something, I'll appreciate a link14:40
debdogsays:14:41
debdog# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))14:41
debdog# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).14:41
debdogI have no clue how zsh handles things.14:42
crashoverrideWell, for now, I have https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html in which is said: ENV: [...] The file referred to by ENV differs from $HOME/.profile in that .profile is typically executed at session start-up, whereas the ENV file is executed at the beginning of each shell invocation.14:42
crashoverridezsh isn't very different and it also tries to be POSIX14:43
crashoverridebut again, I want my setup to work everywhere, not just in zsh14:43
fsmithredThe /etc/security/pam_env.conf file specifies the environment variables to be set, unset or modified by pam_env(8). When14:43
fsmithred       someone logs in, this file is read and the environment variables are set according.14:43
crashoverrideI'll try setting ENV to ~/.envvars14:43
crashoverridefsmithred: indeed, but that requires PAM.14:44
crashoverridewhich I try very hard not to use; so end up usually not using.14:44
debdogI think I'll try that tonight. waiting for a chance to have a closer look at zsh for some time now.14:44
crashoverridezsh is great.14:44
crashoverrideso many great productivity tweaks14:45
fsmithredthen maybe use /etc/login.defs14:45
crashoverridefsmithred: I'll look at it, thanks.14:45
debdogI know. but there is another factor: /me is lazy14:45
crashoverridedebdog: honestly14:45
crashoverridedebdog: install zsh, clone oh-my-zsh and install it14:45
crashoverridedebdog: and use the theme "agnoster"14:45
crashoverridestart from there.14:45
crashoverrideyou'll see, instantly better.14:45
* debdog reads up on that on https://ohmyz.sh/14:46
ShorTie'instantly' ??14:47
ShorTiesounds like alot of work to me14:47
fsmithredI use zsh to start a build with live-sdk and I haven't noticed any benefits.14:52
fsmithredbut I only use a few commands. I know there are some nice features for scripting.14:52
crashoverrideShorTie: it's literally "apt get install zsh && git clone https://github.com/ohmyzsh/ohmyzsh ~/.oh-my-zsh && sed 's,export ZSH=.*$,export ZSH='"$HOME"'/.oh-my-zsh,' .oh-my-zsh/templates/zshrc.zsh-template >> .zshrc14:58
crashoverride"14:59
crashoverridemeh, I should have prefixed the two last files with ~/ to make it foolproof14:59
crashoverridefsmithred: not for scripting no.14:59
crashoverridefsmithred: for scripting I use ash, dash, ksh and such14:59
crashoverridefsmithred: the WHOLE benefit of zsh is interactive use.15:00
crashoverrideexecuting folders to cd15:00
crashoverrideadvanced globbing15:00
crashoverrideinteractive completion and selection15:00
crashoverridefilename expansion15:00
crashoverridefuzzy matching15:00
crashoverrideetc15:00
suavedandyHello, guys.16:38
crashoverridehi16:39
suavedandyDoes lid switch suspend the system on SysVinit or I have nothing to worry about?16:40
suavedandyComing from Debian.16:40
fsmithredsuavedandy, it's not working by default in ascii or beowulf, but it does work in chimaera (current testing suite)16:50
suavedandyAnd that's good for me.16:51
fsmithredwell, you can set it to suspend or not in the power manager16:51
fsmithredbut that setting works only in chimaera16:51
fsmithredand I'm talking about xfce - I don't know about the other desktops16:51
suavedandyI don't have a GUI anyway.16:52
fsmithredlol16:52
crashoverridePOSIX is hella confusing IMO16:52
fsmithredI think you're safe16:52
suavedandyDoes Devuan have a documentation or something?16:53
fsmithredyeah some. What do you want to know about?16:53
crashoverridehow to refine kerosen.16:54
crashoverrideusing only household equipment and items.16:54
fsmithredhttps://files.devuan.org/devuan_beowulf/Release_notes.txt16:54
suavedandyAh, nothing. I forgot that the repos are listed on the site.16:54
suavedandyWanted to find the package repos.16:54
fsmithredexample lines for sources.list are at devuan.org, if you want to poke around the actual files, they're at pkgmaster.devuan.org (or any package mirror)16:55
suavedandyEh, I know how to edit my sources file. I have Nano ready.16:57
suavedandyThanks.16:57
masonsuavedandy: You can have the lid switch working with a modicum of configuration.16:59
masonsuavedandy: I don't use it myself, as I like to control sleep state manually, but half a sec and I'll give you the files you want to edit.16:59
suavedandyThe problem is that the system might go to sleep when a script is rolling.17:00
suavedandyYou can imagine what a disaster it would be to stop a script halfway through.17:01
masonsuavedandy: Oh, do you NOT want it to sleep?17:01
suavedandyOf course.17:01
suavedandyNo way in my life. I have Windows PTSD from that.17:02
* ShorTie Thinkz, He wants to give it a No-Doze before shutting the lid17:02
masonsuavedandy: Generally sleep will not cause problems for scripts, but you can make sure it doesn't happen. The common way to support sleep is the acpi-support package. If you have that installed, look at /etc/default/acpi-support. If you need to edit it, do so and restart acpid.17:02
suavedandyAlso, I have a habbit of closing the lid to have a coffee break or something while APT's rolling.17:04
masonYeah, you don't want to sleep then. I set up the same way, where lid close is just that, and I have to tell the system to pm-suspend manually.17:04
masonsuavedandy: If you observe sleep and it's not acpi-support doing it, grep -r acpi will probably turn up what's doing it.17:05
masonfsmithred: ^ in case the discussion is useful. Just re-verified that it works in Beowulf.17:06
masonNow I'm turning it off again.17:06
fsmithredmason, thanks. I'll re-test. Are you in xfce?17:06
masonfsmithred: No, xdm/openbox.17:06
masonfsmithred: acpi-support is DE-agnostic17:06
fsmithredoh, ok17:07
fsmithredI think that works in ascii, too17:07
masonAh, were you talking explicitly about XFCE not doing its thing out of the box? Sorry for the confusion if so.17:07
fsmithredyeah, just a gui setting17:07
masonAh, hrm.17:07
masonWell. Hm. One of my kids has Beowulf and XFCE, but it's not a laptop. I can maybe test a bit.17:08
suavedandyIf sleep doesn't cause issues then I guess it would be nifty in wireless mode.17:08
fsmithredI only have ascii and chimaera on the laptop17:08
fsmithredbut I can boot a usb and try beowulf17:08
masonsuavedandy: It doesn't cause issues in that scripts tend to pick up right where they left off.17:08
suavedandyAlso, hibernation option would help a ton with power saving.17:08
suavedandyThe one that uses the hard drive.17:09
suavedandyThat option I find quite useful.17:10
debdogcrashoverride: in case you have not found anything yet: ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/FAQ section "3.2: In which startup file do I put...?"17:41
crashoverridedebdog: thanks!17:41
crashoverrideinteresting read.17:41
debdogit's an extensive FAQ, have just had a quick glance but some things make me think I am probably not a zsh-guy :/17:42
crashoverridewhy?17:44
suavedandyI like how the repo for security updates is beowulf-security instead of beowulf/updates.17:45
debdogI am not a developer, no clue about C and stuff17:46
suavedandyTho I wonder why the URL addresses before the repos end with "merged."17:46
fsmithredbecause they are merged17:46
fsmithredwe merge the /devuan packages with those from debian17:47
* suavedandy confoozed17:47
suavedandyAh.17:47
fsmithredwe don't keep a full repo17:47
crashoverridefool repo*17:47
crashoverrideas in "confoozed"17:47
fsmithredamprolla pulls the un-forked packages from debian, filters out the banned packages and merges those with the forked (devuan) packages17:50
fsmithredI didn't say that exactly right, but you probably understand what I mean17:50
suavedandyBanned packages?18:29
suavedandyAmprolla?18:30
golinuxhttps://pkgmaster.devuan.org/bannedpackages.txt18:35
golinuxhttps://git.devuan.org/devuan/amprolla318:36
golinuxsuavedandy: ^^^18:36
nemowait. tomcat9 is a banned package??18:40
nemowth18:40
nemoit's just a java based application server!18:40
nemodid someone break its init packaging?18:40
nemothat's problematic for future of devuan on about 10 machines at work18:41
golinuxSo fork and fix it18:41
nemo*sigh*18:41
golinuxIt's been on the list for quite a while18:41
nemothat's kinda linux response to everything, and fair, but  there's only so many things I can submit code to18:42
nemoguess I should look into what the problem is and how hard it is to fix18:42
golinuxSet your priorities18:42
nemogolinux: does devuan have a bug server for this?18:42
golinuxbugs.devuan.org18:42
nemogolinux: yeah. and I'm going to guess priority for this one is pretty low. easier to just give up on devuan.18:42
nemook. lemme see if there's a discussion of the tomcat thing18:43
golinuxEverything i life is a choice18:43
nemohm... no tomcat bug18:43
nemohm. no discussion anywhere it seems18:44
golinuxSearch the devuan channels18:44
golinuxI know it's been discussed.18:44
nemohmmm no systemd dependency in gentoo tomcat9. that's optimistic18:47
nemoso it's probably just debian packaging18:47
fsmithredwhat tomcat package is missing? I thought someone was working on tomcat, but I don't see any tomcat with +devuan in the version18:47
golinuxnemo: Here you go: https://lists.dyne.org/lurker/message/20200116.174138.fff7c445.en.html18:47
nemoheh. just missing init script. lol18:47
fsmithredI suspect there's no systemd dep in the tomcat9 in devuan, either18:48
nemoit's even in the package source 😃18:48
nemo"However, in bullseye, the initscript has been18:48
nemoremoved from the package source already. "18:48
nemolame18:48
nemoI thought debian voted to not do crap like that18:48
golinuxBitch to debian18:48
fsmithredremoved by debian or removed upstream?18:48
nemooh. good point18:48
* nemo checks website18:49
fsmithredand the vote basically says that they can support sysvinit if they want to18:49
golinuxAnyway not our doing18:49
fsmithredand should accept patches when offered18:49
nemofsmithred: hm18:49
fsmithredyeah, it's not mandatory18:50
fsmithredI think this was one of those times when it was better not to ask18:50
nemofsmithred: *should accept* - so if I passed this dude's build on to upstream debian, that would possibly cause it to be accepted?18:50
fsmithredyeah, if you have a fix to make something work with sysvinit, you can submit it and it might get accepted18:51
nemoah. the upstream tomcat binary release for linux doesn't seem to include any init stuff at all.  so this must be all debian's doing18:51
fsmithredwhich is a better solution than devuan having to fork another package18:52
nemofsmithred: well, the message golinux linked to indicates someone made a fix already18:52
nemofsmithred: so I could literally just link to theirs (and maybe make a patch file)  and ask upstream to accept it18:52
nemomaybe just need to plug tab A into slot B18:52
nemobonus indicates people still care18:52
ShorTiegonna be virually imposible to get them to include it18:54
ShorTiehow are they gonna test it ??18:54
fsmithredthat thread also says that the devuanized version was moved to beowulf, but I don't see it18:56
fsmithredso it must have been updated by debian and not re-devuanized18:56
nemofsmithred: huh... I thought you guys applied overlay patches to debian stuff. so those patches need bitrot fixes?18:57
daniel-molinahello, is it possible to browse the packages with a web browser?18:57
nemofsmithred: you'd think adding init scripts would have low rot18:57
nemojust due to no overlap w/ the systemd stuff18:57
fsmithreddaniel-molina, there's pkginfo.devuan.org to see what packages are available18:57
suavedandygolinux: Lol, systemd blocked. (≧◡≦)18:58
fsmithredand there's git.devuan.org to see the devuan packages we forked from debian18:58
daniel-molinathanks fsmithred18:58
nemoShorTie: I would rather hope they wouldn't reject init script patches just due to inability to test in debian - that would make a mockery of that vote18:58
fsmithrednemo, any time a new version goes into debian repo, we need to fix that package again18:59
nemofsmithred: that makes sense, I just thought maybe the process was automated - pull debian source package, attempt to apply .diff - if it succeeds with no errors, package and proceed to testing18:59
fsmithredI think it was stated that it's up to the patch submitter to make sure it works18:59
nemobut I don't know much about it obv18:59
nemofsmithred: ok. but each new upstream version requires a new patch resubmission with devuan?19:01
daniel-molinado you know where I can find documentation about writing sysvinit init scripts?19:02
nemoanyway. at least it looks like problems w/ tomcat9 re not insurmountable, and we are ok on 8 for short-term. will just tuck this away as a "filing bugs w/ devuan/debian on a quiet day" todo item19:02
nemodaniel-molina: https://wiki.debian.org/LSBInitScripts/19:03
daniel-molinathanks, nemo19:06
nemonp19:10
openbsdtai123do you know maybe if thre is an emulator for "Sega Model 2" arcade?19:35
linux_nDevuan didn't detect my wifi. Is there something that needs to be done for it to detect wifi?20:36
suavedandyBTW, guys. Where's all the audio. Isn't ALSA, like, built into the kernel?20:37
masonlinux_n: You might need firmware, depending on what wifi it is.20:38
masonsuavedandy: apt install alsa-utils and use alsamixer to make sure you're not muted20:38
masonsuavedandy: And yes, ALSA is there out of the box, and Firefox at least will use it.20:39
suavedandyAlso, where's ACPI config again?20:39
linux_nok thanks20:40
masonsuavedandy: acpi-support, and the file I mentioned was /etc/default/acpi-support20:41
suavedandyAlso, why's my encrypted root busy when SysVinit tries to unmount it on shutdown?20:41
masonsuavedandy: Ah, that's a bug we haven't fixed. Easily fixed.20:42
suavedandyOof.20:42
suavedandyThe amount of stuff you did for SysVinit support is staggering regardless.20:42
masonsuavedandy: https://bpa.st/RUEA20:42
fsmithredadd beowulf-proposed-updates and install cryptsetup-modified-functions20:42
suavedandyThat's a very good job. Am impressed.20:43
fsmithredsuavedandy, ^^^20:43
masonOh, ignore what I said. fsmithred's answer will be easier.20:43
fsmithredhttps://pkgmaster.devuan.org/devuan/pool/main/c/cryptsetup-modified-functions/20:44
fsmithredor download the .deb and install with dpkg20:44
fsmithredit's for beowulf only20:44
masonI've got the ASCII version of the patch if anyone needs it.20:45
fsmithredoh, good20:45
masonThe one I posted was Beowulf, though. For completeness.20:45
suavedandyAnd why when I choose "Console productivity" when installing Devuan the installer can't finish installing packages20:47
fsmithredalt-f4 to read some messages20:47
suavedandyIs it because console productivity tools are not included with the DVD ISO?20:48
fsmithredif package installation fails, repeat that step20:48
fsmithredoh20:48
fsmithredpossibly. You didn't select a mirror?20:48
suavedandyNope.20:48
fsmithredun-check that one item and add what you can after the initial install20:49
suavedandyLinux distros act funny with my Wi-Fi, soft-blocking it so I have to unblock it. That's why I install from the USB directly.20:49
fsmithredapt show task-console-productivity   (for a list of the deps)20:49
fsmithrednot deps - Recommends20:50
suavedandyGuys. How do I change the hostname?22:32
user1sed -i 's/oldhostname/newhostname/g' /etc/host{s,name}22:33
user1well22:33
suavedandyGuys. How do I change the hostname?22:35
user1user1 | sed -i 's/oldhostname/newhostname/g' /etc/host{s,name}22:36
suavedandyhost(s.name)?22:37
user1{} not ()22:37
suavedandyhost[s,name]?22:38
suavedandy{}22:38
suavedandyhost{s,name}22:38
suavedandyThere.22:38
user1yes22:38
suavedandyI have localhost as my hostname. I did an offline installation so I wasn't prompted for a host name.22:39
user1localhost is a cool hostname22:39
user1you'll probably also need to restart the network22:41
user1or executing /etc/init.d/hostname.sh might be enough22:42
user1i guess that's it. the sed stuff, and hostname.sh22:42
suavedandyuser1: Does "user1 |" mean anything?22:59
gnarfacesuavedandy: i'm guessing he meant to flag you but flagged himself instead.  "user1 |" couldn't be part of the command unless the binary "user1" is on your system in your path somewhere, which it's not unless you put it there yourself23:01
user1no, i copy pasted what i said earlier23:01
user1indeed that's not part of the command23:01
gnarfaceah, i see.  most clients i've seen copy& paste names like this: <user1>23:02
suavedandy"ip6-newhostname"23:03
suavedandyAre you sure it was a good idea to replace localhost with a new hostname, User123:04
user1sorry ?23:06
user1if it didn't work, you'll have to manually edit the /etc/hosts and /etc/hostname files to apply the changes23:07
suavedandyEh, it's okay. I just inversed the hostnames in your command and deleted brackets and ",name"23:08
suavedandyThat should work, I guess. https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution23:10
suavedandyNo.23:14
suavedandyIt's actually this. https://linuxhandbook.com/debian-change-hostname/23:14
suavedandyThere we go.23:14
gnarfacesuavedandy: you should read the /etc/hosts man page, it's not hard to handle customization.  in most cases you want to define a hostname *and* localhost (ideally not pointing to the same address)23:27
suavedandyShould have just searched for it before23:30
gnarfaceyes, that's a very effective approach23:30
gnarfacein most cases where debian has replaced something with systemd, the old wheezy documentation still applies to devuan23:31
gnarfacejust fyi23:31
WafficusHi there, how do I change my date timezone on Devuan?23:32
Wafficus* from Central to EDT23:32
Wafficusi've done this on systemd based distros before, but not on this to be honest23:32
gnarfaceWafficus: should be the same as debian still, but i guess i don't know for sure:  apt-get install tzdata && dpkg-reconfigure tzdata23:33
Wafficusok thanks23:33
gnarfaceif they really replaced that with some systemd-specific garbage, that would be infuriating23:34
Wafficussam@samdevuan ~ $ dpkg-reconfigure tzdata23:34
Wafficus-bash: dpkg-reconfigure: command not found23:34
suavedandygnarface: Yeah, the manpage basically stated the same as that Linux Handbook article but also suggested changing one digit in the IP address just like ArchWiki.23:35
WafficusI did make sure I had "tzdata" installed"23:35
gnarfaceWafficus: WTF did you do!?!?!23:35
HurgotronWafficus: be root for dpkg-reconfigure23:36
gnarfaceWafficus: just kidding.  still though, that's alarming that you're missing that.  could be a bad sign.  it's in the debconf package though.  try installing that23:36
gnarfacedebconf: /usr/sbin/dpkg-reconfigure23:36
Hurgotrongnarface: notice his prompt :)23:37
Wafficusdebconf is already installed23:37
Wafficusyeah now with root I'm getting the ncurses menu for tzdata23:38
gnarfaceoh, right23:38
Wafficuswill changei t from here23:38
Wafficus*it23:38
Wafficusthanks for the headsup23:38
Wafficusthanks that worked23:38
Wafficusthanks a ton gnarface Hurgotron23:38
gnarfaceWafficus: no problem.  you probably should know you can dpkg-reconfigure a lot of packages very helpfully23:39
gnarfaceWafficus: (notably, if you didn't know about this, you probably should try it on the "exim4-config" and "locales" packges, too)23:39
suavedandyHow is the console productivity metapackage called again?23:40
gnarfacesuavedandy: not sure but guessing "task-console-productivity"23:40
Jjp137that's correct23:40
suavedandyThanks.23:40
gnarfacethere's a bunch of them called task-*23:41
gnarfacethey will show up in the searches23:41
gnarfaceuseful stuff like presets for laptops and such23:41
suavedandyfbi package…23:42
suavedandyWuh?23:42
gnarfacehehe23:42
gnarfacefbi - Linux frame buffer image viewer23:42
suavedandyOh.23:42
gnarfaceFrame Buffer Image23:42
gnarfacesomeone thinks they're clever or just wasn't from the US23:42
gnarfacei don't know23:42
suavedandyMan, there's so much bloat in this metapackage.23:43
gnarfacewell, that's kinda what they're for23:44
user1there's the kgb package as well23:44
gnarfaceyou could try adding "--no-install-recommends" to the command-line options, might slim it down, might not23:44
suavedandyWhy use parted instead of… I dunno, fdisk?23:44
gnarfacefdisk has no GPT support23:45
suavedandyuser1: Heh.23:45
gnarfaceactually i think fdisk only technically partially supports the MSDOS partition table format even, but well enough to make MS operating systems happy with it23:45
gnarfacethere are other partitioning tools that also support GPT but they're even more arcane than parted23:46
suavedandyIf I'll install parted, can I delete fdisk or some packages and scripts depend on it?23:46
gnarfacenot sure honestly.  i would suspect that nothing depends on fdisk but if something does it will sure tell you23:47
gnarfacewhat i am sure of is that fdisk takes up almost no space so your time is better spent culling elsewhere (texlive packages installed still?  you probably don't need those)23:47
suavedandyThere's also libfdiskl.23:48
gnarfacehmmm, a surprising amount of things might actually need it now that i look23:49
gnarfacetry this: apt-cache rdepends fdisk23:49
\0xc0ffeeThere is a build of fdisk that supports GPT, it is at least true on Fedora/CentOS systems, unsure about debian-based though (and that's a whole other point of frustration)23:49
gnarface\0xc0ffee: to be honest my information on that could be up to 5 years old (last time i struggled with converting an old GPT drive that had some disturbingly resistant windows7 cruft left over in the boot sectors)23:50
\0xc0ffeeA small pity the authors of 'parted' never included a means to specify the end of a partition by specifying how large of a partition you want, rather than making you break out the calculator23:50
gnarfaceyea but i don't think sfdisk or cfdisk are any more helpful in that regard, are they?23:51
\0xc0ffeefdisk let you specify the end of a partition by specifing a size, e.g. 50GB23:52
gnarfacewell, now it does.  within my professional career it could still only do block counts23:52
gnarfacei still run across versions like that here and there23:53
\0xc0ffeeparted is one such tool, it's something that frustrates me somewhat, as we could have both23:53
gnarfacewell, you know what they say... if you dislike it enough, then fork it.   if it's not upsetting enough to fork then maybe it's not a big deal.23:54
\0xc0ffeeAs for 'disturbingly resistant cruft' - RAID metadata left over on drives salvaved from an old LSI Logic array were a considerable pain for me23:55
\0xc0ffeegnarface: Unfortunately, forking it to fix it requires knowledge of programming; to assume that Linux users are fluent in C is perhaps unfair23:56
gnarface\0xc0ffee: well, it might be considered unfair but it might also be considered tough love23:56
suavedandyDo I put kernel module blacklists to /etc/modprobe.d/ as usual? The Almighty Beep has returned. And my parents are, like, sleeping… Jesus.23:56
\0xc0ffeegnarface: So the question then becomes: Do you want Linux to be adopted and used by ordinary (non programmer) users, or do you feel it should be the exclusive domain of developers?23:57
suavedandyThat damn beep. I'll get a heart attack from it faster then I become a senior.23:57
\0xc0ffeeThe latter is the path adopted wholesale by OpenBSD which makes no bones about that point and explicitly states that fact23:57
gnarface\0xc0ffee: (a means by which to encourage more people to familiarize themselves with C... mind you i'm not putting any effort into adding GPT support to fdisk either, so i'm just as guilty of apathy and laziness here)23:57

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