The officially official Devuan Forum!

You are not logged in.

#827 Re: Installation » [SOLVED] What's the minimum disk space does the most minimalist setup take? » 2023-01-01 02:51:14

Installing "daedalus preview" without network seems to clock in at 860M.

#828 Re: Hardware & System Configuration » [SOLVED] Good nginx ssl instructions » 2023-01-01 02:33:03

I tend to prefer the command variant

certbot certonly --webroot -w /var/www/html -d my.domain.name

where then the file will be placed in the directory

/var/www/html/.well-known/acme-challenge/

which thus my HTTP service needs to serve.

This starts with

  1. my domain name registration being configured so that the nameserver(s) for my.domain.name point out my authoritative DNS service, and then

  2. I configure that with A and/or AAAA records for my.domain.name point to the external IP for my server.

Thereafter I configure SSL for nginx to use the public certificate and private key under /etc/letsencrypt/live/my.domain.name/ (sometimes with a version code added into that pathname).

#829 Re: Hardware & System Configuration » [SOLVED] Good nginx ssl instructions » 2022-12-31 23:54:22

Note that the SSL credentials system is built upon "domain name control"; i.e., that you are the current renter of the proposed domain name, and in control of the DNS resolution for it.

The "http" validation done by Let's Encrypt via certbot involves them, at an external host, looking up the domain name (realupnow.com) so as to access a file via HTTP that certbot has prepared. This is only possible if you have control of the domain resolution to make that name resolve for that external host to your host and then also run an HTTP service for offering that file.

#830 Re: Hardware & System Configuration » [SOLVED] HP envy 360 with ryzen and radeon multiple issues Q » 2022-12-31 13:36:48

For the display you could try adding your own mode line with something like the following

# xrandr --newmode 1920x1080  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
# xrandr --addmode LVDS 1920x1080
# xrandr --output LVDS --mode 1920x1080

You obtain the details for the "newmode" line with cvt, and I guessed on "LVDS" as your output name, but xrandr tells you what that is. The command sequence is 1) define the mode line, 2) attach it as an option for an output, and 3) select that mode line for the output.

hth

#831 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 23:52:13

Firstly, the configuration does not include SSL setup so the service is http and not https.

Next, you will need to convince your browser that the FQDN (fully qualified domain name) realupnow.com resolves to the IP address 127.0.0.1 (or the other one if you prefer, since nginx listens on all interfaces, i.e. both lo and eth0).

Traditionally a browser would end up using the standard libc function gethostbyname to determine the IP adddress to use, and this is technically configured via /etc/nsswitch.conf and /etc/hosts. If all is per traditionally normal, then it is enough to add a line to /etc/hosts:

127.0.0.1 realupnow.com

(with a terminating newline). That would declare the DNS resolution for realupnow.com to be 127.0.0.1.

More recently browser developers have introduced new and interesting ways of resolving domain names, so it's possible that this won't work for you. In that case, you should install surf and trial this via the command line start:

$ surf http://realupnow.com/info.php

Unless of course, you rather enjoy some browser wrestling smile

Note that it's http without a trailing s.

#832 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 23:14:14

Right; remove all links from /etc/nginx/sites-enabled/ except the one for your service configuration.

And: nginx needs to be restarted after any changes to its configuration files. (Sometimes "reload" is enough, but that's really only a consideration for a busy live site).

#833 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 22:48:51

Look at end of /var/log/nginx/error.log.

Directory /var/www/realupnow.com exists and is readable by www-data ?

php7.4-fpm is started?

btw, code things (like configuration files) are best displayed with code tagging rather than quote tagging since that will avoid word-wrap linebreaks that otherwise might cause confusion.

#834 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 22:18:09

Ah, with "configuration file" I meant the service configuration, which presumably is /etc/nginx/sites-available/realupnow.com.

And to make it easier for you to debug, you should remove the other links in /etc/nginx/sites-enabled (and restore them later). ... and restart nginx

#835 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 21:40:07

No.

Rather, please show the content (with ls -l) of /etc/ngiginx/sites-enabled/, and your nginx configuration file.

#836 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 06:18:55

As you might know:

nginx provides execution logs as /var/log/nginx/access.log and/or /var/log/nginx/error.log

php7.4-fpm provides execution logs as /var/log/php7.4-fpm.log

#837 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 03:58:32

Does /etc/nginx/sites-enabled have more than the link to your config?

The alphabetically first of any pathnames there will be the virtual server configuration that handles access without proper server name ("127.0.0.1").

For testing, you may temporarily add a line to /etc/hosts to allow direct access via your external server name:

127.0.0.1 example.com

for trialling http://example.com/info.php (or even https://example.com/info.php once the SSL credentials have been set up)

#838 Re: Hardware & System Configuration » [SOLVED] php-fpm line missing from /var/run/php/ » 2022-12-30 03:20:48

You may follow that instruction without worrying about that link.

The link is likely a side effect of having installed multiple variant php*-fpm for experimentation, and then they configured nginx to use the link pathname for the socket instead of the direct pathname. In that way the nginx configuration need not be changed when the "alternatives" configuration is changed for a different php*-fpm version.

#839 Re: Off-topic » Music » 2022-12-30 01:21:01

Something for everyone: http://radio.garden

#840 Re: Installation » [SOLVED] Daedalus5preview installation failure Q » 2022-12-30 00:36:26

... OTOH it appears a runit boot does not start the display manager (lightdm) for a "standard" installation.

Perhaps that was your case?

I had to shift to vt2, login as root and run

/etc/init.d/lightdm start

by hand (to get a standard login happening in vt7).

#841 Re: Installation » [SOLVED] Daedalus5preview installation failure Q » 2022-12-29 22:54:18

Perhaps you could give more than a trace of a hint of the choices for the whole installation process. That end state of booting up to a command line is fairly unusual. It suggest in particular that you opted to not install any desktop s/w but that's a bit inconsistent with being surprised by ineffectual startx.

A virtualbox VM is basically the same as a qemu VM insofar as Devuan installation is concerned. The range of h/w emulation choices might differ but that would only be an issue if you'd play fancy with that.

#842 Re: Installation » [SOLVED] Starting Samba fails using OpenRC » 2022-12-27 03:53:43

@l3u: you should probably look up stuff about using su

A couple of years ago, su in Debian was changed to a variant that does not impose root's PATH without the - (login) option. That change, together with the slightly earlier change of excluding /sbin and /usr/sbin from user's default path has caused your kind of grievance for many people.

Unfortunately I didn't have any say in those changes, so here we are.

#843 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-16 12:07:42

@fanderal, there may be some ram used by various tmpfs mounts, which use RAM but are not reported together with process RAM usage. You could check with:

df -h | grep -E 'Filesystem|tmpfs'

#844 Re: Installation » [SOLVED] Beowulf's debootstrap doesn't contain "daedalus" script » 2022-12-12 01:21:17

The name of the link is used to nominate the "suite" being loaded. That part of the scripting is the same for all suites. Other than that, the debootstrap software may differ between versions.

#845 Re: Installation » [SOLVED] Beowulf's debootstrap doesn't contain "daedalus" script » 2022-12-11 23:59:58

Note that all Devuan scripts are links to the ceres script. E.g.

/usr/share/debootstrap/scripts/daedalus -> ceres

You'll need to set that.

#846 Re: Installation » [SOLVED] Is it possible to exclude a mirror? » 2022-12-07 23:20:49

@xinomilo: Great. That mirror+file:pathname was new one for me.

#847 Re: Installation » [SOLVED] Is it possible to exclude a mirror? » 2022-12-07 08:56:15

That's not how it works.

The s.c. round-robin is merely that the domain name has multiple resolutions that the authorative nameserver serves in different orders upon subsequent requests; apt just picks whichever it receives first.

Afaik there's no easy way to selectively exclude servers from the list.

You may however use /etc/hosts to override the name lookup with your favourite resolution. If, say, you prefer m10k.jp you would add their IP as resolution for deb.devuan.org:

160.16.137.156  deb.devuan.org

For anything more advanced I think you will need a local nameserver.

#848 Re: Other Issues » Hdd CHS values... recover files » 2022-12-02 03:08:42

My 3 TB usb disk says:

root@mini:~# hdparm -g /dev/sdb

/dev/sdb:
 geometry      = 2861588/64/32, sectors = 5860533164, start = 0

and also

root@mini:~# fdisk -l /dev/sdb
Disk /dev/sdb: 2.73 TiB, 3000592979968 bytes, 5860533164 sectors
Disk model: External USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

#849 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-12-01 01:56:58

The handling of efivarfs is different in chimaera and daedalus. I can only refer to sysvinit; other init choices may result in the same or different handling.

On daedalus, the fstab entry that is identified by the mount point /sys/firmware/efi/efivars is used 3 times by the initialisation scripting:

  • Firstly as an explicit "mount" by mountkernfs.sh with the name "none" but using the options of the fstab entry for /sys/firmware/efi/efivars if any,

  • Secondly as a "remount", also via mountkernfs.sh and in the name "none", but invoked by checkroot.sh, and

  • Thirdly as a "mount -a" by mountall.sh which uses all the elements of fstab, esp its name efivarfs.

It's the first use that establishes the mount unless fstab says remount, since that requires a pre-existing mount.

In that third use, "mount" is unhappy auto-mounting over a mount point with content. The actual mount command used is:

mount -t efivarfs -oro efivarfs /sys/firmware/efi/efivars

The previous mount stays unaffected.

However, a later remount command may refer to the mountpoint via the name in fstab even though that's not the name of the mount of that mountpoint. Thus, if you are so inclined, you might add several fstab lines like

writable /sys/firmware/efi/efivars efivarfs remount,rw,noauto 0 0
readonly /sys/firmware/efi/efivars efivarfs remount,ro,noauto 0 0
thursday /sys/firmware/efi/efivars efivarfs remount,rw,noauto 0 0

and with that enjoy your personal command language dealing with the /sys/firmware/efi/efivars mountpoint. E.g.

# mount writable ; grep efivars /proc/mounts
# mount readonly ; grep efivars /proc/mounts

Note that the name of the mount stays the same.

Afaik, chimaera is different in not mounting efivarfs by mountkernfs.sh and therefore some of this entertainment is not immediately available.

#850 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-30 04:05:52

It seems an fstab entry like

none /sys/firmware/efi/efivars efivarfs ro 0 0

is fine.

Presumably because that mount is actually installed by mountkernfs.sh with the explicit label "none" but using the options as declared in fstab (if any), and the subsequent mounting by mount -a then ignores that fstab entry.

If you do want the label "efivarfs" then you'll need to touch up mountkernfs.sh accordingly.

Board footer

Forum Software