The officially official Devuan Forum!

You are not logged in.

#51 Re: Off-topic » A programmer should be a touch typist ? » 2025-07-26 21:38:47

greenjeans i aggree.That's why i stressed the -ultra hype- aspect of current LLM driven AI processes. I found also :  @ AI coders think they’re 20% faster — but they’re actually 19% slower

When the devs use the AI, they’re spending less time looking for information and writing code — and instead they’re prompting the AI, they’re reviewing the AI, or they’re doing nothing while they’re waiting for the AI.

#52 Re: Off-topic » A programmer should be a touch typist ? » 2025-07-26 21:29:42

@golinux you dont have high hopes for our future. But think maybe you are hasty. Think about slavery. From 2000 thousand years ago when Jesus start speaking against it humanity took a rather long and back and forth trip until it reached a more civilized attitude abolishing such practices. And it could be argued that that happened not from our kind souls but because Watt did his steam engine thing...  So i think solution can be found and evolved to our current problems but maybe it needs more time and an enviroment where people can discuss new solutions, try and test them and apply the more successfull ones.

#53 Re: Off-topic » A programmer should be a touch typist ? » 2025-07-26 20:27:29

@SteveM your approach and experience  , althought more close to lowlevel and hardware , makes me think . Could it be that low level programming is less 'forgiving' ?  Thus more caution is needed to control the behavior of a programs to the bit level . And maybe the more higher we get to the data types used and more close to the human user then a program has more space to 'play' , data types get more fuzzy and thus a programmer could have more flexibility moving away from strict formal protocols ?

And isnt it true that AI (even in it's current LLM, hyped form) exemplifies that fluent - space - where we humans feel cosy and speak with ease and speed letting our wished flow to the AI agent ?

So when a programmer uses the highest level possible of APIs (thus a level below an AI-LLM guided programming) doesnt also have a taste of that fluent programming -amenable perhaps tp bigger speeds and thus favored by touch typing skills- ?

That @LLM assisted approach reminds me also of @literate programming.
I thing the goal here was to allow a more fluent and thus speedy programming style.

So to wrap my thoughts up. It seems that speed in coding would be lost as we move more closely to fixed hardware confronting more 'friction'. And i would add that friction also comes when we move into an environment where a software's subsystem written by one must conform-align to many other subsystem's interfaces.Of course it could be argued that the programmer should just write the code!! All the difficulties i previously wrote it's not his/her job!!. But if we follow that line of thinking that that bare coding is perhaps a skill that indeed need touch-typing but the same time easily replaceable by LLM agents.

#54 Off-topic » A programmer should be a touch typist ? » 2025-07-26 16:51:07

chomwitt
Replies: 23

A programmer in his blogpost Programming's Dirtiest Little Secret (2008) believes that touch typing is a base skill of a programmers .Have IT not and you'll became invisible among peers no matter how much good you are in other areas.

I raise a couple of arguments in the contrary.

1. In the AI - ultra hype era according to the ultra hype engines programming is a passed fashion. Just tell an AI agent what you want and no stress...

Cause now my computer writes faster than me
And all the jobs are owned by monopolies

@ Electric Fragments - Wasted Code by Vulcan Ivy

2. Ok . You can write-comment-talkabout your code real fast. But  i think that the programming environment has become so complex that maybe you have to study really a lot before you can write code that can become integrated in distros or in various propriatery -eco-systems. And that complexity increases the drag... and the friction in the point that i think the image of a programming writing really fast doesnt strike me as very plausible image as in the past.

#55 Re: Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-19 18:21:34

Although solved i still cant understand why on earth secureBOOT is needed if i add a gpu driver in my kernel. Wouldnt be enough to sign a module with a sysadm priv key in a kernel's keyring?

>  (7) To maintain secure boot mode, the kernel modules must be signed and the
>      kernel must check the signature on them.  The key must be compiled into
>      the kernel or the bootloader or must reside in the UEFI database.

Wait right here.  This is NOT mandated by UEFI, nor by anyone else.  It
might be a nice thing that some people and companies want to implement,
but please don't think that some external entity is requiring that Linux
implement this, that is not true.

@kernel email list / Re: [GIT PULL] Load keys from signed PE binaries (2013)

@ Linus vs Matthew Garrett on secureboot . (2019)

#56 Re: Hardware & System Configuration » Help needed to enable secure boot. » 2025-07-13 18:46:12

@s1mple  thanks for the reply.
- There is /sys/firmware/efi/efivars with dozen of efivars.
- mokutils report pm, kek and db keys.

Before i reinstall grub-efi  i want to search a little more and understand : If my initial Daedalus installtion was uefi secure boot compatible (with the shim) why then uefi cant boot to grub ?

For context :

@Daedalus installation guide.

@ debian installation manual / 3.6.3. Systems with UEFI firmware

#57 Hardware & System Configuration » Help needed to enable secure boot. » 2025-07-13 08:45:27

chomwitt
Replies: 4

Distro: Devuan Daedalus

Enabling the secure boot from my motherboard's UEFI setup utility my PC can not boot.
Early in the booting , before i see the GRUB's menu, i see a error message from the UEFI
'Secure Boot violation , Invalid signature detected. Check secure policy in setup'.

Disabling 'secure boot' i can again boot as usual.

I posted my issue here because my first explanation i can think is that somehow my grub image
is not signed correctly.

But i see :

$ sudo dpkg -l | grep shim
ii  shim-helpers-amd64-signed                      1+15.7+1                                amd64        boot loader to chain-load signed boot loaders (signed by Debian)
ii  shim-signed:amd64                              1.39+15.7-1                             amd64        Secure Boot chain-loading bootloader (Microsoft-signed binary)
ii  shim-signed-common                             1.39+15.7-1                             all          Secure Boot chain-loading bootloader (common helper scripts)
ii  shim-unsigned    

         

So how should i proceed?

#58 Re: Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-12 21:06:56

@g4stra thanks . That worked.

$ sudo dpkg -l | grep nvidia
..
ii  nvidia-persistenced 
..

#59 Re: Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-12 15:52:40

shim source deb packages has an issue #990311 that although is reported again an older version of shim it's related to nvidia gpu driver.

The timing issue is the reverse of what i say. I have trouble using mokutil of the shim and not enrolling the keys from inside the uefi setup utility.

#60 Re: Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-11 20:57:54

In my rinit system I tried by

# runscvchdir single 

and then :

# cd /var/lib/dkms
# mokutil --import mok.pub 
Failed to enroll new keys

#61 Re: Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-11 12:31:48

[SOLVED] by enroll-ing the nvidia pub key from inside the bios.
         

  • 1. we move  nvidia-modsign-crt-89A7BE16.der in /boot/efi/EFI/debian

  • 2. we start uefi setup

  • 3. advanced / menus / boot / secure boot / keymanagement / append default db

But i still havent figured why  sudo mokutil --import nvidia-pubkey.der  didnt work neither the error with the persistent nvidia daemon.

#62 Hardware & System Configuration » [SOLVED] Help with signing nvidia's driver with secure boot enabled » 2025-07-07 09:18:34

chomwitt
Replies: 8

Release: Daedalus 5 (debian bookwarm 12)

@ devuan wiki / nvidia gpus

@Debian Secure Boot: To be, or not to be, that is the question!  . Nov 29, 2024  by Anna. A detailed view on signing nvidia drivers in bookwarm.

@ debian wiki / NvidiaGraphicsDrivers.

@ deb / nvidia-driver / bugs

related workflows : Display current status of gpu accelaration. If nvidia-driver is not installed Daedalus rollbacks in using software rasterizer . Lower analysis and in order of ten more slow.

Current understanding : deb package nvidia-kernel will try to build the driver and sign it. But with secure boot enabled those keys created during that process must be 'rolled'. A process that i understand to mean that those keys must get known by the UEFI in order to allow during boot the nvidia driver to load. That process doesnt proceed in Daedalus.

$ mokutil --sb-state
SecureBoot enabled

$ sudo apt install nvidia-driver firmware-misc-nonfree

$ ls /var/lib/dkms/
mok.key  mok.pub

$ sudo mokutil --import /var/lib/dkms/mok.pub 
[sudo] password for chomwitt: 
input password: 
input password again: 
Failed to enroll new keys

A related issue during nvidia-driver installation :

$ sudo apt install nvidia-driver firmware-misc-nonfree
 Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-33-amd64
Errors were encountered while processing:
 nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)
...

$ dpkg -l nvidia-persistenced 
iF  nvidia-persistenced 535.171.04-1~deb12u1 amd64        daemon to maintain persistent software state in the NVIDIA driver

/var/log/syslog during nvidia-driver installation:

2025-07-07T15:17:03.921569+03:00 enousold nvidia-persistenced: Started (10510)
2025-07-07T15:17:03.921732+03:00 enousold nvidia-persistenced: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file or directory
2025-07-07T15:17:03.921749+03:00 enousold nvidia-persistenced: Shutdown (10510)

But libnvidia-cfg1 is pulled by nvidia-driver and contains

/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.535.247.01
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1

I found a 2017 bug report on fedora that includes a strace session that resembles mine.

I found also a test for whether efivars are writeable:
# echo -n "test" > test.data
# efivar -f test.data -w -n 605dab50-e046-4300-abb6-3dd810dd8b23-MokTest

#63 Off-topic » The need for cooperation as central motivation in Unix and GNUproject » 2025-07-06 02:33:10

chomwitt
Replies: 12

For computer science at Bell Laboratories, the period 1968-1969 was somewhat unsettled. The main reason for this was the slow, though clearly inevitable, withdrawal of the Labs from the Multics project.From the point of view of the group that was to be most involved in the beginnings of Unix (K. Thompson, Ritchie, M. D. McIlroy, J. F. Ossanna), the decline and fall of Multics had a directly felt effect. We didn’t want to lose the pleasant niche we occupied, because no similar ones were available; even the time-sharing service that would later be offered under GE’s operating system did not exist.

What we wanted to preserve was not just a good environment in which to do programming, but a system around which a fellowship could form.We knew from experience that the essence of communal computing, as supplied by remote-access, time-shared machines, is not just to type programs into a terminal instead of a keypunch, but to encourage close communication.

The Evolution of the Unix Time-sharing System , Dennis M. Ritchie

RMS:The AI Lab of the 1970s was by all accounts a special place. It was a bit like the Garden of Eden,It hadn’t occurred to us not to cooperate.
The demise of ITS, and the AI Lab hacker community which had sustained it, had been a traumatic blow to Stallman. As a programmer used to working with the best machines and the best software, however, Stallman faced what he could only describe as a “stark moral choice”: either swallow his ethical objection for “proprietary” software – the term Stallman and his fellow hackers used to describe any program that carried copyright terms or an end-user license that restricted copying and modification – or dedicate his life to building an alternate, nonproprietary system of software programs.

RMS:I asked myself: what could I, an operating-system developer, do to improve the situation? It wasn’t until I examined the question for a while that I realized an operating-system developer was exactly what was needed to solve the problem.

Free as in Freedom (2.0): Richard Stallman and the Free Software Revolution

#64 Re: Off-topic » To shell or not to shell everything ? » 2025-07-03 11:24:44

The purpose of the X Session Management Protocol (XSMP) is to provide a uniform mechanism for users to save and restore their sessions. A session is a group of clients, each of which has a particular state. The session is controlled by a network service called the session manager. The session manager issues commands to its clients on behalf of the user. These commands may cause clients to save their state or to terminate.

   XSMP

So an X session manager wants(can?) to kill. But how do you get a a license to kill ? In a personal pc a user could be both system admin and user(s). And that means managing a system manager(init) , a per-user service manager and a session manager ? Should we not have a ring to rule them all ?

#65 Re: Off-topic » To shell or not to shell everything ? » 2025-07-03 10:26:38

I guess you refer to the XSMP. Another 'manager' of clients !.. It's getting crowded. Too many managers for the petites processes... I wonder if XSMP is a 'manager' that should be also managed by the 'system service manager' or by a user service manager..

It seems a petite process could grow big to become 'manageable' by many managers.
I guess a 'manager' could start feel lonely if no one responds to it's calls...

#66 Re: Off-topic » To shell or not to shell everything ? » 2025-07-02 16:17:04

ralph.ronnquist my questions initially began regarding emacs as a service (dng list).

Then the idea of 'user' services stack in my mind.

Can we consider emacs a 'user' service even if it's a non-automated service?  Or we could imagine emacs performing automated text processing from text streams generated somewhere. Or emacs poses as a 'deamon' (a longlasting , always needed service) to project it's ambitions ?

Anyway in that case should we have a service manager per user ?  That seems logical if similar needs arise. But in that point i thought.. isnt the shell the main way that a user 'composes' & sets up her/his work ?  So could we say that already a user has it's service manager ? (but possibly lacking user gui daemons? Like a maestro lacking an orchestra?) . And how does a user program like emacs , gimp etc become managable by a service manager ? I guess by offering automation of tasks in a permanent way  .  So my inquiry looks at two sides. A service manager manages programs that 'grow' facilities that beg to be managed by a service manager

So its not just a question of daemonizing wrappers . What would  be  a related API , needed to be implemented by a process,  in order for that process to be admissible to the "orchestra" of a computer system playing the symphony of a service manager?

If broadly speaking a sysadm is a kind of a user  why his/her service manager should be fundamentally different ? Adm creates the ground of the userspace. But likewise a 'user' could create the ground for higher lever users.

Interestingly 'shed' user service manager mentioned by EDX-0 seem a sysvinit for each user.

#67 Re: Off-topic » To shell or not to shell everything ? » 2025-07-02 16:02:43

EDX-0   'shed' you mention used the scripted way. But i dont understand the problems that you refer to and why they would be related intrinsically to an interpreted service manager .

Also i find it interesting that you refer (in the shed project site) to efforts of other projects to make programs demonized.  It seems that the different service managers are creating pressure for user apps to have various perhaps incompatible 'APIs' to be 'manageable' by the various service managers.

#68 Re: Off-topic » To shell or not to shell everything ? » 2025-07-01 19:51:32

Interestingly reading about the various service depedency models and what is supported by each system it reminds me of similar discussions regarding apt dependencies. A package A depends on B. So B is installed with A. Now A is gone, what apt should do with B ?
I guess the answer could be fuzzy and elusive.

Which makes me think. Is APT scripted or not? And maybe then my initial question could be better rephrased as : Should a service manager be implemented in a certain programming language or in a scripted (interpreted) language?  And a similar question : Is BASH (a shell) a specialized interpreter suited for that kind of job (service-system supervisor) or another interpreter could be better suited ?

#69 Re: Off-topic » To shell or not to shell everything ? » 2025-07-01 14:47:13

ralph.ronnquist i should study more sysvinit and runit  i guess. My idea was that by using a scripted service-system supervisor you make the system less complex (in comparison to having a another -hardcoded- supervisor). But you argue that shell-scripted control leads to less coherence due to more offered flexibility. So as a metaphore ,the system's services supervisor should be a brick to hold the userspace and not a quicksand ?

#70 Re: Off-topic » To shell or not to shell everything ? » 2025-06-30 23:01:39

So.. if it could .. wouldnt a shell by being more flexible and powerfull be more good at it ?

#71 Off-topic » To shell or not to shell everything ? » 2025-06-30 22:14:12

chomwitt
Replies: 13

Why a shell (by interpreting a sysadm's script) couldnt do what a service manager does ?

#72 Re: Other Issues » nfs4 no_root_squash strange behavior » 2025-06-27 20:15:43

(root@client-~/importedshare)$ chattr +i test.txt
chattr: Operation not supported while reading flags on test.txt

But i changed 'test.txt's attribute in the server.

Thanks for reminding me that UNIX 'quirk' .

#73 Other Issues » nfs4 no_root_squash strange behavior » 2025-06-27 14:18:51

chomwitt
Replies: 3

According to $ man exports :   

root_squash
Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not apply to any other uids or gids that might be equally sensitive such as user bin or group staff.
no_root_squash
Turn off root squashing. This option is mainly useful for diskless clients.

And assuming my server /etc/exports is :
/home/chomwitt/NFSExport     192.168.2.44(rw,sync,no_subtree_check,no_root_squash)

It happens that a client/root user can create a file in the nfs share.
(root@client-~/importedshare) # touch test.txt

And in the client we will indeed see that a file was created:
(chomwtt@server-~/exportedshare) # ls
-rw-r--r--  1 root     root             0 Jun 27 17:01  test.txt

Now logically chomwitt@server should not be able to delete that test.txt . But i can.

Is that a bug?

#74 Re: Desktop and Multimedia » Error in an effort to run an X client in a remote X Display. » 2025-06-09 18:10:34

@PedroReina How will i restart the X server in xdm or another display manager?
For the moment i try using network transparency without using ssh.

#75 Re: Desktop and Multimedia » Error in an effort to run an X client in a remote X Display. » 2025-06-09 11:51:09

@ralph.ronnquist  I was off for a while so unfortunately i couldnt sync to your proposed X conf race :-) 
but thanks for the solution.

It worked but only to one of my host where i start X from a tty shell with startx.
In the other xfce host with xdm as display manager it didnt work.

I will try to read to xdm conf.
I think it's :

/etc/X11/xdm/Xservers
:0 local /usr/bin/X :0 vt7 -nolisten tcp

Changing -nolisten to -listen it'll be effective after restarting the whole system.Logging out from XDM and
llogginh again in didnt work.

Also it seem's appropriate since i started that thread to quote the security note from /etc/X11/xdm/Xservers
and remind to fellow devuan readers that what drives me is the curiosity to learn some basic of how network
trasnaperncy works with X.

# - SECURITY NOTE: Always pass the "-nolisten tcp" option to the X
#   server, as shown in the examples below, unless you know you
#   need the X server listening on a TCP port.  Omitting this
#   option can expose your X server to attacks from remote hosts.
#   Note also that SSH's X11 port-forwarding option works even with
#   X servers that do not listen on a TCP port, so you do not need
#   to remove the "-nolisten tcp" option for SSH's benefit.

Speaking of 'security' in the context of X can have more finegrained control than xost + that i tried for experimentation's sake.
So i think that ssh forwarding could 'overdone it' for a home lan. I guess having access restricted inside the lan hosts could be a far more better and less computational intesive approach. Last, i prefer the term 'workflow isolation' than security. Security make me think of badass criminals and police. But when i work on my table for me 'security' is not allowing other family members messing with my workspace. On the other hand i may have set a space to allow someone to laydown a snack or water.. (i wonder if that is a part of the desktop metaphor that was missed in the 80s..)

Board footer

Forum Software