Skip to main content
Topic: what happend to /etc/dinit.d/tty1 it no longer is here (Read 466 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

what happend to /etc/dinit.d/tty1 it no longer is here

i updated my artix dinit system today sunday 24sept23 about 8am EST.
i was surprised to find that after the update that i could not find the tty1 file that i expected to find at location /etc/dinit.d/tty1.
what gives. it was there before the update.
if it was moved because of the update i would like to know where the new file location for tty1 is OR how i can edit this file for my own personal use like establish autologin.
thankyou em

systemd  should not be the only init system out there.  AND ...

 

Re: what happend to /etc/dinit.d/tty1 it no longer is here

Reply #1
All "system"/bootup dinit files have been moved to /usr/lib/dinit.d so that /etc/dinit.d contains services in separate packages and user-created services.

if it was moved because of the update i would like to know where the new file location for tty1 is OR how i can edit this file for my own personal use like establish autologin.
thankyou em

I really should've thought about it, but while you can edit it directly, should there be an update to the getty files, it will be overwritten. I recommend you to create a new service in /etc/dinit.d and for now delete agetty-tty1 or whatever tty you use (for the next dinit-rc update I'll give a heads-up through a post_upgrade message), I'll think about configurable gettys (i.e. adapt Chimera Linux's console-setup and getty files to our use case) so users can customize it as they see fit.
now only the dinit guy in artix

Re: what happend to /etc/dinit.d/tty1 it no longer is here

Reply #2
All "system"/bootup dinit files have been moved to /usr/lib/dinit.d so that /etc/dinit.d contains services in separate packages and user-created services.

if it was moved because of the update i would like to know where the new file location for tty1 is OR how i can edit this file for my own personal use like establish autologin.
thankyou em

I really should've thought about it, but while you can edit it directly, should there be an update to the getty files, it will be overwritten. I recommend you to create a new service in /etc/dinit.d and for now delete agetty-tty1 or whatever tty you use (for the next dinit-rc update I'll give a heads-up through a post_upgrade message), I'll think about configurable gettys (i.e. adapt Chimera Linux's console-setup and getty files to our use case) so users can customize it as they see fit.
..........................
reply to the above.
thankyou so much for informing me of the situation.
(now only the dinit guy in artix) .
i happen to have 2 artix dinit systems running and was able to copy tty1 thru tty6 to a  pendrive and transfer the files to my ailing system and the addition of these 6 tty1 thru tty6 files which tty1 contained my autologin entry  so these 6 files added to /etc/dinit.d/ worked.
autologin restored. 
but the information you gave me  i will ponder deeply  your work around until...
thankyou em
archlinux is cool and artix is cool and i cannot think of a pair of better oses outthere except perhaps competing win11 macos and such which are a category all of their own.



systemd  should not be the only init system out there.  AND ...

Re: what happend to /etc/dinit.d/tty1 it no longer is here

Reply #3
As of dinit-rc-0.2.1 which should arrive at your mirror in a few hours, tty1 through tty6 should be configurable now without having to touch the file itself. (Also I've moved them again to /etc/dinit.d).

To configure it, you will need to copy /etc/dinit.d/config/agetty-default to the tty of your choice (e.g. /etc/dinit.d/config/agetty-tty1). After that, you can add any agetty-compatible argument in AGETTY_ARGS=, such as AGETTY_ARGS="--autologin user".
now only the dinit guy in artix