The officially official Devuan Forum!

You are not logged in.

#376 Re: Other Issues » [SOLVED] /.config and /.cache with Daedalus » 2023-03-05 18:44:21

boughtonp wrote:

home directory

If you read the OP, you'll notice that there are no home directories involved at all, so XDG_HOME_WHATEVER has nothing to do with anything.
The directories in question are /.config and /.cache - i.e. hidden directories in the system root.

I don't have the machine with me ATM (I'll check later), but IIRC I've seen the same with a chimaera install, and only where pulseaudio is involved.
Whether this is a bug or just expected janky behaviour for potteringware, it is, at the least, extremely ugly.

#377 Re: Hardware & System Configuration » Dying machine? » 2023-02-01 06:36:39

TCH wrote:

how can i debug if the hardware is erroneous?

I'd start by passing 'debug' on the kernel command line and seeing if it spits out anything more useful, then proceed to booting a different operating system to eliminate software entirely.
Most anything will likely do for that, but since the hardware was almost certainly designed to run Windows, as distasteful as it may be that's not a completely terrible option for testing.

As for isolating a hardware fault, the obvious answer would be to try to reproduce the problem in as minimal a configuration as you can. Remove expansion cards and extraneous peripherals, swap or replace PSU, memory modules, that kind of thing.
I don't see a smoking gun in your logs (though I do wonder what exactly pppd is up to at the end there), so a process of elimination would be the next logical step.

Aside, what Altoid said. I have plenty of old hardware, some of it going back to the mid '90s, and it still works just fine.
Assuming something is no good simply because it's old is kinda silly (as is insisting on DOS filename extensions when we have perfectly good magic for that matter).

#378 Re: Other Issues » Scrolling Output in the Console Window » 2023-01-24 20:43:38

Head_on_a_Stick wrote:

It's been enabled by default since stretch, at least for the GNOME desktop.

I was unaware that it's enabled by default now, but then I would be, because "expert" mode netinstalls with --no-recommends, and, well, GNOME *shudder*.

#379 Re: Other Issues » Scrolling Output in the Console Window » 2023-01-24 20:33:23

blackhole wrote:

What could possibly go wrong?

IME, very little. unattended-upgrades has been available (as opposed to mandatory, ala microsoft) in debian and derivatives for as long as I can remember, and I have several machines that have been running it for well over a decade without any drama (with one notable recent exception, but that was a "devuan shipped nonfunctional configs", not "unattended-upgrades ate my lunch").

I probably wouldn't bother with it on a desktop pc, but for headless boxes, especially if you have many headless boxes you can't be arsed updating manually one at a time (or remembering they exist for that matter), it's pretty dang handy.

bai4Iej2need wrote:

Scrolled up and down on the local console and it works again.

Wait, what? Are you telling me that this stupid "nobody uses TTYs any more" regression has actually been fixed?

#380 Re: Devuan » My fears about the /usr merge » 2023-01-24 19:40:31

blackhole wrote:

may or may not be in line with a users best interests.

Oh don't be silly, redhat knows your best interests, and they're working hard to turn that nasty open-source "bazaar" of disorganised, quarrelsome nerds and their toys into a shiny, polished, corporate friendly product you can be proud to use. Trust me, you're going to absolutely love it (or else...) tongue

*begins countdown for this "warning" becoming a hard-nope, complete with another asinine "Gentoo folks, this is your wakeup call." from some droid over at freedesktop.org*

#381 Re: Devuan » My fears about the /usr merge » 2023-01-24 07:26:01

Head_on_a_Stick wrote:

for people like me it just gives *many* more opportunities to fuck things up.

Stick to the profile defaults then, and it's just Arch with more waste heat and fewer linking problems. @preserved-rebuild goes "Brrr" tongue

As for broken compilers... Well, if you want to break your compiler that's optional as well.

#382 Re: Devuan » My fears about the /usr merge » 2023-01-24 06:17:10

Head_on_a_Stick wrote:

fundamentally broken

Fundamentally broken if you run systemd perhaps. On sane distros (such as gentoo), /usr on it's own partition is just one of a great many possible configurations, in this case filed under "may require an initrd, won't work with systemd, not recommended for newcomers".
split-usr is just another USE flag, and it's up to the end-user to determine whether or not it's set. As it should be.
The same goes, of course, for systemd itself.

As of this moment, a couple of applications I use still have file-collisions (in this case upstream binary names) with a symlinked /bin/, so I'll flip that flag when (and if) I'm good and ready.

I notice a large percentage of the "in-comprehensive list of software" in that link you posted appear to be products of the redhat/LP/gnome/freedesktop cabal... Purely coincidental I'm sure. roll

#383 Re: Installation » why this solution not working on Devuan Chimaera? » 2023-01-24 05:49:54

Another prime example of why I'm not being nice any more. ^

If you want people to help you, ragging on the distro for not supporting the weird crap you're trying to do really isn't the way.
You come in here with an attitude like that, you're liable to get the same right back.

Reporting people who call you out is just another nail in the coffin, particularly if you're so childish as to make an exhibition of it. We don't owe you anything, and neither does Devuan - it even states such right there in the console when you log in.

#384 Re: Hardware & System Configuration » [SOLVED] nginx modules-available error » 2023-01-21 18:43:30

dcolburn wrote:

I misread this thread as installing the module to populate defaults rather than merely using it because the OP wanted it.

One of many reasons to read the manuals rather than just copying random things from stackoverflow...

#385 Re: Hardware & System Configuration » [SOLVED] nginx modules-available error » 2023-01-21 18:23:36

dcolburn wrote:
include /etc/nginx/modules-enabled/realupnow.conf;

Well yeah, obviously. If you tell nginx to incude a file, it's going to try to load it, and it's going to bitch if it doesn't exist.

modules-enabled should (IIRC, I actually run apache, but the config directory layout is much the same, it's a Debian thing) contains symlinks to files in modules-available, which in turn contain load_module directives pointing at dynamic module .so files.

Only you can explain the presence of that include line, it's certainly not in any default configuration shipped with Devuan.

dcolburn wrote:

Am I correct that I need to install nginx-module-geoip?

That depends on whether or not you want to use module-geoip, no? I can't make that determination for you.

Ed. Since we're playing the edit game...

dcolburn wrote:

WDYT?

I think you should slow down, and go read the nginx manuals instead of jumping on random stackexchange and reddit posts.

Aside, while having your site definition in modules-enabled might work if you include it from some other config, it's pretty high on the list of "things that will cause a bunch of gratuitious confusion in about 2 hours time". Put it where it's supposed to go.

#386 Re: Hardware & System Configuration » [SOLVED] nginx modules-available error » 2023-01-21 17:59:58

As you haven't told us what's in that file, I suppose I have to guess...
Going by your previous threads, perhaps it's the site definition for something you're trying to serve on the domain realupnow.com? If that is case, it's simply in the wrong directory, and the only explanation I can think of is that somebody put it there...

#387 Re: Installation » "target_home" dir after installation? » 2023-01-21 10:08:16

deepforest wrote:

why i cant here do the same?

As HoaS implied in the very first reply to this thread, you can. With the not-refracta bootable install image.

If you insist on using the live image, a workaround has already been suggested.

Complaining about a missing feature in refracta installer achieves nothing. If you really want it, nobody is stopping you from implementing it yourself.

#388 Re: Installation » why this solution not working on Devuan Chimaera? » 2023-01-20 04:33:38

deepforest wrote:

solution for normal distros but not for "knee develop" semi working devuan

ROFL. Devuan not including out-of-tree kernel patches for fossilised proprietary drivers is not a bug. Go hassle Nvidia to fix their trash.

All your threads are this same BS. Vague problem descriptions with insufficient debugging information, pigheaded insistence on doing things some $other_os way, then a bunch of complaining when you inevitably break your install. I'm done trying to help you, you just don't listen.

Bye now, have fun. I await your next reinstall thread with bated breath (and popcorn).

#389 Re: Installation » why this solution not working on Devuan Chimaera? » 2023-01-19 03:15:40

Because following some random blog post and using third-party executable installers rather than the repos is a sure-fire way to mess up your install?
The debian documentation and discussion boards are replete with warnings not to do this, and for good reason.

Other than that, if you want help you will need to provide a whole lot more information (with command output and such in code tags, not blurry screenshots) than just "why not working". Nobody here is psychic, and I for one am all out of patience for guessing games.

#390 Re: Installation » "target_home" dir after installation? » 2023-01-18 11:21:45

Camtaf wrote:

I've found installing from live distros to be the easiest way

Where it involves a real installer with some sembance of a polished, quality product (e.g. calamares) I agree. If it's refractainstaller, not so much. That thing has "janky" written all over it.

Camtaf wrote:

The OP's problem may well have been from having his 'home' mounted at the time of installing.

Yeah, that's my (second) guess as well... Right after "If I can make refracta derp and skip steps, so can he".

#391 Re: Installation » "target_home" dir after installation? » 2023-01-18 07:58:45

Head_on_a_Stick wrote:

I've never tried the live installer

I have, once. I was not particularly impressed.

Head_on_a_Stick wrote:

I don't even know what it is

If we're talking about the desktop livecd, I expect that would be refracta installer.

Head_on_a_Stick wrote:

the traditional boot menu installer has always behaved impeccably for me.

Ditto.
I've never seen the traditional debian installer do anything funky either, but IME it's pretty trivial to screw up refracta, since it's really just a bunch of shell scripts, rsync, and yad/zenity.
There's no option go back if you miss something, precious little in the way of confirmation, and skipping or closing any of the random dialogs and terminal windows it spawns is likely to have it just truck on and copy the system regardless. i can totally imagine how one might end up in this kind of mess.
Perhaps I'm being unduly harsh here, but considering I was able to accidentally break the install process on my very first go (though not as badly as this example) it sure doesn't inspire much faith.

If the OP had provided proper reproduction steps, I might even be able to prove it too... oh well.

Random thought, I don't suppose we did anything... unexpected in the live session before running the installer, like, say mounting the existing /home filesystem somewhere?
It's just a thought mind, while I am looking at what I think is the current refracta scripts with one eye, I'm far too lazy to properly dig through that bunch of bash right now.

And another random thought, because I know HoaS just loves shellcheck...

shellcheck ./refractainstaller-gui | grep ^In | wc -l
143
shellcheck -S warning ./refractainstaller-gui | grep ^In | wc -l
52
shellcheck -S error ./refractainstaller-gui | grep ^In | wc -l
5

Ouch. tongue
Yeah, I just use d-i. You should too.

#392 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2023-01-17 23:54:22

Marjorie wrote:

Surely that would only make sense if I wanted to upgrade immediately 'testing' became 'stable'?

No, that's what "archive" (a=foo) matching is for.

a=stable will track whatever release is currently marked as stable (so it's liable to silently start pulling in packages from a new stable release as soon as it becomes available).
n=<codename> will track <codename> forever until you change it manually, regardless of unstable/testing/stable status.
n=${distro_codename} does the same, except that it uses lsb_release to determine which release codename you are currently running. When (and only when) you switch to a different release (i.e. change your sources and do a manual dist-upgrade), lsb_release picks it up, nobody needs to look at that file.

That last one has been the "safe" default in Debian for a long time now, and AFAICT the only reason it isn't on Devuan is that lsb_release was broken for a while (returning Debian release names).
IIRC lsb_release in turn was broken to work around yet another "we're 99% Debian but trying to pretend we're not" class bug. Of course. roll

All that is now fixed, so I see no reason not to put this trivial bit of automation back. smile

#393 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2023-01-17 11:47:00

Marjorie wrote:

This is my fixed/working version. I suspect its unchanged (apart from changing ascii to chimaera in line 43) since I used ascii.

If your install dates back to ascii (and you haven't let dpkg clobber the config files) you would have correct distro name, as this predates the fix getting lost and the package reverted to upstream Debian.

Marjorie wrote:

not sure its really worth pestering our admins to do this every time Debian change it upstream as there are other options in the config you might want to change anyway

That's kinda my point WRT using ${distro_codename} instead of a hardcoded release. That's how Debian does it, and it allows unattended-upgrades to track the new release after a dist-upgrade with no manual changes to its configuration at all.

Ditto for the devuan-security line, I see no reason not to use ${distro_codename} there either, unless to create more packaging work.

#394 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2023-01-16 23:00:20

LeePen wrote:

Could you please test

Works fine on beowulf as far as a cursory test in a VM. Not so much on chimaera if one is using codename matching though...

I see the config template for Debian (50unattended-upgrades.Debian) references release as ${distro_codename}, and AFAICT from the python script, that's pulled from the output of lsb_release.
The config for Devuan does not (though it retains the reference to /etc/debian_version, which is nonsensical on Devuan), instead including hardcoded lines for beowulf.
The relevant (main, security) lines are also commented in the Devuan config, whereas for Debian they are not. Minor detail and all.

IMO since lsb_release returns correct information on Devuan, it would make sense to use ${distro_codename} by default here as well. Also changing /etc/debian_version to /etc/devuan_version for less confusion, since the former doesn't actually contain a release codename.

TBH I'm a little confused that the Devuan config deviates so far from the Debian version to begin with - all that's really needed is s/Debian/Devuan/g and some minor cleanup of the comments.

#395 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2023-01-10 04:31:29

GlennW wrote:

I would wager that the company that made your computer did not envison you running linux and therefore you have theoretically hacked your computer by installing GNU/Linux. Not all hacking is criminal, check out "Game Theory", know the rules of the game you can better get value from the experience.

I use "hack" and derivatives in their original meanings, always have.
Media droids conflating "hack" and "hacker" with the correct "crack" and "cracker" is not my problem, nor are ignorant muggles who do the same.

My problem with "Freedom Hacks" is the same problem I have with this board in general - a tendency to slap "freedom" on everything Devuan, as if it were some kind of philosophical fight against an oppressor, rather than a 90%+ Debian fork that retains support for multiple init implementations... Which is functionally what it is and always has been.
... That and it apparently being irresistible to preachers, rebels, "free thinkers", free speech advocates, conspiracy theorists and anti-establishment/anti-conformists in general.

Call that tutorial/howto sub something less ridiculous and I might be inclined... But not for this, because this is a packaging bug that got swept under the rug, plain and simple. It doesn't need a hack, it needs to be fixed.
Besides, if somebody needs a "freedom hack" post for a word replacement as obvious as this, I expect they probably need spoon-feeding and burping as well.

#396 Re: Hardware & System Configuration » Server lost changes and partially reverted » 2023-01-06 04:17:45

dcolburn wrote:

two SSD drives in a Raid 1 format.

Elaborate please.

dcolburn wrote:
root@devuan1:/etc/nginx# lsblk -f
NAME   FSTYPE          FSVER            LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda    isw_raid_member 1.1.00                                                                          
sdb    isw_raid_member 1.1.00                                                                          
├─sdb1 vfat            FAT32                       8395-4005                             506.3M     1% /boot/efi
├─sdb2 ext4            1.0                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   37.7G     9% /
├─sdb3 swap            1                          xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                [SWAP]
└─sdb4 ext4            1.0                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  297.8G     0% /home
sr0    iso9660         Joliet Extension Devuan 4.0 2021-10-12-11-25-10-00   

That "isw_raid_member" signature makes me suspect you are using BIOS "RAID", aka. Intel "Rapid Storage", in which case... 

dcolburn wrote:

Is it possible that looking here ... https://linuxconfig.org/linux-software-raid-1-setup

... scrolling down to Configure persistent RAID mount ...

that the missing line in /etc/fstab "/dev/md0  /mnt/raid1  ext4  defaults  0  0" is the cause?

mdadm, (unless it has grown Intel RST support recently) has nothing to do with anything here. I also see no mention of any mdadm RAID arrays in that output.

If you really do have a software raid, mdadm (e.g. mdadm --examine --scan) should be able to find it, otherwise...

IIRC, Intel RST is handled by dm-mapper like any other BIOS fakeraid (ask google, I don't use it), and I expect your raid volume should be somewhere under /dev/mapper/... Not /dev/sdb2, which is where your root filesystem currently is.

What mounting an underlying member of a BIOS raid volume would do I don't know (will the BIOS resync on reboot? trusting which drive?), but the symptoms that you are reporting wouldn't surprise me at all.
This is all speculation mind, I don't use BIOS raid myself, and frankly I suggest you ditch it as well (unless you need to access the array from bare-metal windows for some deranged reason). Software (mdadm) RAID is better in every way.

#397 Re: Off-topic » Revival of the Linux Framebuffer & DirectFB » 2022-12-15 04:06:22

Head_on_a_Stick wrote:

It's using both a compositor and a window manager...

Sure. Unless everything has changed since I last used it, there's no requirement to actually use those functions though.

Head_on_a_Stick wrote:

As I said, Wayland is simpler, more direct and more widely adopted with better support.

You can try and sell me on Wayland all you like, but until it does all the things X can do I really have very little use for it.

A simple framebuffer for the TTY? that I'll use, if infrequently. A rich networked display server for more complex GUI environments? cool.
Something in-between, whose primary targets appear to be "high refresh rate" (aka gaming woo) and better support for "devices"... Yeah, I don't really need that at all.

If Wayland was X+, I'd be keen. Right now it appears to be X- with a number of missing features, and were I to switch to it I'd end up running something in xwayland ~80% of the time anyway.
Why is replacing X with something that can't do all the things X can useful?

#398 Re: Off-topic » Revival of the Linux Framebuffer & DirectFB » 2022-12-14 04:17:01

Camtaf wrote:

Yes, if I remember right, you could play video with the likes of mplayer, & maybe have graphics in a text type web browser in a command line installation - it's been a long time since, but I'm pretty sure I used to watch videos.

I used to do this as well, and further back with svgalib... Both on hardware far too slow to play video from X, and with too little memory for a full DE.

With links and directfb, you can run a graphics capable web browser in a TTY as well... That means a browser capable of accessing the current-day internet for machines with <128MB RAM.
Now we just need, say, a i386 Debian/Devuan "revival" as well. Perfectly Good Pentium deprecation stupidity and all that.

Head_on_a_Stick wrote:

why is running graphics from a console screen useful?

Because you can, windows are bloat, and who needs a window manager anyway when you have 12 TTYs?
Or maybe, because needing to run a full-blown WM and compositor on something with no use for windowing or a GUI (e.g. a "digital picture frame" type device or monitor for a video stream) just to get basic framebuffer video output is patently silly?

#399 Re: Desktop and Multimedia » [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5 » 2022-12-02 13:35:27

Debian/Devuan unstable is not a rolling release like Arch, it it a playground for new packages before they move to testing. Unstable and testing are not subject to the same quality control as stable, they can and do break at any time, and they are categorically not recommended for inexperienced users.

Do you actually need a 6.x kernel? Unless you have a very good reason for running 6.x, you're only setting yourself up for problems - particularly when coupled with third-party trash like nvidia's proprietary driver, and even more so with a bunch of patches nobody else here would touch with a long stick piled on top as well.

Even my non-mission-critical-canary gentoo desktop is still running 5.15. Why you ask? Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation.

Ogis1975 wrote:

western media...

This again? Seriously? Please keep your political trolling out of support threads.

#400 Re: Hardware & System Configuration » DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times » 2022-12-02 05:14:54

deepforest wrote:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval

many times at booting and no network after booting

From a quick glance at that log file, it appears that dhcpcd is successfully obtaining a lease for 192.168.0.26 from a server at 192.168.0.1...
Then connman and networkmanager start fighting over the interface, killing each other's dhcpcd instances, and everything pretty much goes to hell.

Why exactly are you trying to use 3 different methods to configure your network all at the same time anyway? That's bound to cause chaos.

deepforest wrote:

PS how can i choose networking? from upper config file or NetworkManager?

Pick one method to configure networking.
IIRC networkmanager will leave interfaces configured in /etc/network/interfaces alone by default, so ifup and networkmanager should be able to coexist peacefully... At least in theory.
That would still be confusing though, if you want to use networkmanager and have the interface come up before anyone logs in, look for a "system connection" or "available to all users" option in your networkmanager frontend of choice.

Otherwise, get rid of networkmanager and connman (as well as any other random actors you didn't mention) and just use /etc/network/interfaces like the good-old-days before all this overcomplicated gui crap came along.

deepforest wrote:

why after that i have no network?

steve@damnation:~$ crystal-ball --query "what did he do?"
crystal-ball: command not found

Oops, guess I misplaced it. roll

Board footer

Forum Software