The officially official Devuan Forum!

You are not logged in.

#1276 Re: Hardware & System Configuration » Serial console install » 2019-07-20 12:02:29

Have you tried with init=/bin/sh as boot parameter? That parameter might give you a shell prompt instead of the normal boot process, but subsequent to the initrd set up. And it might not. I'm afraid it's some few decades since I toyed at that level, so don't expect miracles.

If it brings you that far, you should enable getty on the serial console by appending the line

T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

to /etc/inittab in the root file system (not the initrd file system), which you need to mount first. Then reboot without the init=...

#1277 Re: Devuan » RC script templates » 2019-07-15 09:36:25

Well, crazy or not, I think today's easiest method is to copy /etc/init.d/skeleton into the target init script, which then is a configuration for the interpreter script /lib/init/init-d-script that implements the control actions around the nominated "service program".

The init-d-script can also itself be copied, modified (especially by adding an LSB header) and used as the init.d script. That's a good approach if for instance your KPI is a lines-per-day measure, or more seriously, the actual service control is significantly unusual and/or complex.

The middle ground is to rather expand the skeleton copy with overriding functions for the actions where the generic implementations don't suffice.

The "difficult" part is still to read and digest the section 22.2 on Init Actions in Linux Standard Base Core Specification, Generic Part, plus a few sections following that, and to map that to the specifics of the system at hand.

#1278 Re: Other Issues » system hangs after exiting second tty » 2019-07-13 14:16:57

Yes, if it's a case of the shell not terminating, then one of those might hold the cause.

There are also other problem cases where the shell indeed terminates, but getty still doesn't get duly respawned. It really depends on the particular set up of this system; i.e., what the OP means with "using stable".

Perhaps a telinit q command in tty1 (in my test sequence), will trigger a respawn. That would be an indication of some different problem, relating to init and its various configurations, and possibly including the hotplug handling s/w.

#1279 Re: Other Issues » system hangs after exiting second tty » 2019-07-13 07:12:56

On a hasty reading it looks to me like the getty doesn't respawn, which suggests a shell termination problem.

You might want to test this theory by inspecting the process list before and after exiting. E.g.:

  • login at tty1

  • type ps axww| grep getty

  • shift to tty2, login and then type exit

  • shift back to tty1 and type ps axww | grep getty again (or use up-arrow)

If the second getty list does include tty2, then it's not a respawn problem.

Otherwise the problem is likely that the shell doesn't complete it's termination, perhaps due waiting for an unavailable resource.

#1280 Re: Devuan » Cloud Init support on pre-installed images » 2019-06-14 21:46:33

afaict, the latest Devuan cloud-init, 0.7.9-5+devuan1, hangs around in the old ascii-proposed/main. The current version in beowulf/main is Debian's 18.3-6, which I take as a pretty good sign that there's a clear opportunity to become a Devuan package maintainer for this package. A step forward on that could be to drop a line at the freenode IRC group #devuan-dev.

#1282 Re: Installation » How install SVN Subversion server on DEVUAN ? » 2019-06-03 22:52:05

Hm, do you mean you want a Web interface for browsing the remote repositories?

I would believe the "normal" command line access would simply draw upon ssh. Perhaps this "random" page
http://www.startupcto.com/server-tech/s … ing-up-svn
can assist you. Those instructions are for CentOS, but to me it looked like you'll only need some rather thin sanity glasses to make good use of them. I'm not actually familiar with the needs of svn, but at a first glance, you merely need to install the subversion package, which includes the svnserve program that a svn+ssh: client operation will want to run. And then of course maintain the "s" bit on the repository directories.

Though I can see that there exist some "apache-subversion" packages in the distribution, so there probably are ways of having a set up through an apache server as well. I suppose svn has been around long enough to attract a plethora of round-about ways to achieve the thing; perhaps many with useful bells and whistles.

#1283 Re: Installation » How install SVN Subversion server on DEVUAN ? » 2019-05-25 23:49:25

Random search result: https://blog.markshead.com/79/setting-up-svn-over-ssh/

I don't use svn myself, but apparently it's just a case of setting up a shared directory over ssh. The client side (on linux) would refer to that using the format

svn co svn+ssh://<path to repo>

(Windows clients would be the same but different)

The random search result doesn't suggest the server side need additional, particular software.

Limiting the repository size may need some more;. e.g., to mount a partition as the directory. Or perhaps even bind mount a loop-back mounted file with a file system in.

hth

#1284 Re: Hardware & System Configuration » unreliable wireless network printer after power off/on cycle [SOLVED] » 2019-05-18 03:13:32

I just replaced my router, which seemed to be a crappy one. Among its brokenness, it "forgot" about the statically configured printer when the printer went into low power mode. But this got resolved with printer restart, rather; I never tried rebooting my computer.

The thought I had now though, was that possibly the DHCP service of the router makes a more forceful broadcast when the computer reclaims its IP in order to confirm that the IP is available, and that it then also address the DHCP registered MAC (not merely its ARP MAC list) with the result to bring the printer out of its economy mode. It's a theory smile

#1285 Re: Hardware & System Configuration » Display settings [SOLVED] » 2019-05-16 12:02:41

Threads are dynamically named by the Subject line of their first post.
Thus: edit the first post, and change the Subject line.

#1286 Re: Desktop and Multimedia » [SOLVED] Installing VirtualBox in Devuan ASCII » 2019-05-13 03:04:10

Hmm, at a glance it looks like package virtualbox is available in jessie/contrib (version 4.3.36), ascii-backports/contrib (version 5.2.24) and ceres/contrib (version 6.0.6).

#1287 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 22:24:22

Let me derail a moment with this note (that might be obvious to many): that I'm learning new about the repo's and that my "world model" above is a bit too simplistic for reality. Probably a good thing, though that model kind of works for me for the moment.

Then, about HTTPS.

The current mirroring technique uses DNS to make deb.devuan.org resolve to some mirror's IP for each "request". Then the problem with using HTTPS is that it requires the sharing of credentials, where recipient organisations need to take on the responsibility of taking due care of them. This is part of the 'trust aspect' of using HTTPS more than the transport encryption aspect, and to have a commercial organisation (which is applicable for many mirrors) take on a responsibility is asking for more than the mere mirroring functionality. Many mirrors do serve via HTTPS, but they do so with their own domain names rather than named as deb.devuan.org.

The alternative solutions would involve handling all requests, either proxying them or bouncing temporary redirects, by a layer of deb.devuan.org hosts physically distributed over the world. This would attract a significant ongoing effort and cost.

Thus, if HTTPS is my thing, then I need to set up my sources.list to use the accredited name(s) of my chosen server(s) directly.

#1288 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 11:41:57

Please note that packages.devuan.org (and auto.mirror.devuan.org is an alias for that domain name) is the historic repository for Devuan. It still provides it's old repository service, but it should be understood as disconnected from the current packaging workflow, which instead results in populating pkgmaster.devuan.org, and then that is mirrored to the hosts that are identified as deb.devuan.org.

The notion of "using Devuan" is now equivalent with having deb.devuan.org/merged as repository.

In extreme circumstances, one might use pkgmaster.devuan.org; for example during the short periods where mirrors show inconsistency during their sync times. However, it typically works equally well and better to just wait a bit and then repeat the failing update or installation command, having allowed time for the mirror(s) to synchronize. If the problem persists, say a couple of hours, then it is likely to be a source inconsistency at pkgmaster.devuan.org. Please report that, even though the automated work flow may well correct the situation eventually; sometimes a manual touch speeds it up.

Changing to a different repository, such as one of those at the top, is like changing distribution. Don't do that.

#1289 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 08:36:27

Yes, you should use deb.devuan.org, and the URLs should also end with /merged. Please check and try again.

#1290 Re: Other Issues » VLC has no codecs » 2019-05-05 13:13:47

@Head_on_a_Stick I can't decide if I should label you stupidly arrogant or arrogantly stupid. In any case I look forward to you growing up.

#1291 Re: Other Issues » VLC has no codecs » 2019-05-05 05:22:48

Well, totally right in that about insults, though. Not the Google bit, obviously, but the rest smile

#1292 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-05-01 13:08:18

239.1+20181115-1 is from http://deb.devuan.org/devuan experimental/main.
not sure where 239.3+20190131-1 is from though.

#1293 Re: Other Issues » openjdk-8 on Jessie » 2019-04-28 22:40:46

The Devuan link just goes directly to that link as-is and for some reason only has directories for five packages. Not sure what's going there.

The Devuan repository contains a couple of Devuan-only packages, but mostly it contains packages that have been "sanitized". It's an overlay to override those packages, while all else comes from Debian.

Still, the pool contains packages for the union of all versions and variants of all distributions.

Each distribution version/variant is rather declared in an "index file", such as

http://deb.devuan.org/merged/dists/ascii/main/binary-amd64/Packages.xz

which nominates all the packages of the main section in the merged amd64 architecture ascii repository. I.e., it defines everything that on an amd64 host would be targeted as

http://deb.debian.org/merged ascii main

in sources.list.

In fact, that exact file gets downloaded and unzipped into

/var/lib/apt/lists/deb.devuan.org_merged_dists_ascii_main_binary-amd64_Packages

when you do apt-get update, so that the apt sub system locally knows which packages and versions belong to that distribution, section and architecture.

Note then that the merged distributions of Devuan refer to both overriding packages from the Devuan pool, and packages directly from the Debian pool. The beautiful magic that makes that possible is some simple translations of the Filename attributes in the index.

#1294 Re: Installation » [Solved] apt sources list retrieve? » 2019-04-28 00:43:46

As you know, the file /etc/apt/sources.list and all the files /etc/apt/sources.list.d/*.list together form a configuration for apt-get (or "the apt sub system"), so that it knows which repositories, and which sections in those it should access. Thus, you can't really install such a configuration without already having a configuration, which kind of makes this a circular thought.

But there are utilities that can produce different source.list files for different distribution flavours, and that might be useful initially. Use your favourite WWW search engine to find a good one if you like. Typically you make a few selections of what to include and what not, then, assuming your can trust it, you download the result and place into your sources.list.

However, I would say it is of highest importance security-wise that the machine administrator knows exactly what the "apt sub system" configuration is. There is no escape from putting enough cognitive effort into learning it. This also includes the "pinning" aspect, which is configured in the /etc/apt/preferences.d/* files, and the "general apt parameters" of /etc/apt/apt.conf and the /etc/apt/apt.conf.d/* files.

Unfortunately the apt sub system was devised at a time when the nuances of "trust" were less developed; the ease by which it can be changed, even by vendors as you install their distributed packages, is totally off parity with its importance.

#1295 Re: Other Issues » openjdk-8 on Jessie » 2019-04-27 23:44:16

Firstly it's useful to know which "section" (main, contrib, non-free) that package should belong to. In this case its main.

Then you look for the Devuan package in

http://deb.devuan.org/devuan/pool/main/o/

As there's nothing suitable there, you look for the Debian package in

http://deb.debian.org/debian/pool/main/o/

Note that the path includes the section and the first letter of the name. If you are looking for a "lib*" package, you use the first 4 letters.

Both deb.devuan.org and deb.debian.org result in one or more redirects to some mirror.

#1296 Re: Other Issues » Ncurses » 2019-03-30 21:58:18

You do know how to leave an audience guessing wink

Perhaps you should test the waters at the freenode IRC #devuan as well, to increase the chances of running into someone else doing C with ncurses on both freebsd and devuan. It might be a more select group than this one.

#1297 Re: Off-topic » Gmail rejects messages from own server » 2019-03-30 21:37:12

I think that the most important problem is that I cannot resolve rDNS, as the IP is owned by my ISP

Maybe you've tried it already, but otherwise you should query your ISP about how to set up your reverse DNS. It should really be possible for you, especially as you are paying for having a static IP, but then again, every ISP is a company of its own.

#1298 Re: Devuan » Using Debian packages » 2019-03-30 01:26:36

@Head_on_a_Stick: You've got that advice backassed. It should be: don't pollute your system with flatpack.

#1299 Re: Devuan » ssh with a file manager??? » 2019-03-23 04:27:19

You might like to use sshfs, which lets you mount the remote file system as if a local directory tree. Then you can can browse them with your local file manager.

#1300 Re: Desktop and Multimedia » Tiny fonts » 2019-03-19 20:18:58

You may find qt5ct in beowulf. However installing it on ascii wants to pull in quite a few upgrades of other packages, and I wouldn't do it before fully dist-upgrading to beowulf (which still is some weeks into the future for me).

Board footer

Forum Software