The officially official Devuan Forum!

You are not logged in.

#151 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-14 06:03:48

To be able to boot in console I have just done a apt purge slim big_smile

So I can confirm the delay problem was coming indeed from Slim.

#152 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-14 05:49:05

Thanks HOAS,

Head_on_a_Stick wrote:

SLiM is ancient, unmaintained and it doesn't support login sessions correctly. It probably has several other bugs as well thanks to 8 years of code rot.

Do you still experience the delay with (for example) GDM?

I didn't tried yet, talking about display manager aka login manager, does someone have any recommendation for one that work well with devuan ? That is gpl ? and lightweight ?

Head_on_a_Stick wrote:

How about a plain console login?

I edited the grub command at boot with key e ->
DQoz5bR.png

and added 3 at the end of the line Linux  /boot/vmlinuz..... but this is not working -> it launch slim still.

So I tried with the option: Advanced options for devuan GNU/Linux then (recovery mode) that option have no delay to login with console. But I guess in that mode a lot of services are down ?

How can I login (normally 5) in console without Slim ?

#153 Re: Other Issues » [SOLVED] date -s trigger animation ? » 2022-02-11 08:04:12

Thanks HOAS, yes it make sense from a programing view. Anyway I think it could be possible to detect a manual change of the time and reset the counter for the screensaver, but this is being picky smile

Indeed, I generally use NTP ! but I just freshly installed Devuan on a VM and still building the firewall -> https://dev1galaxy.org/viewtopic.php?id=4876

off topic, Thanks to Devuan to fight for the Init Freedom ❤️

#154 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-11 07:53:15

Still the same issue with

nft list ruleset

table ip6 Tip6 {
         chain chPR{
                   type filter hook prerouting priority filter; policy drop;
         }
}
table ip Tip {
         chain chIN{
                   type filter hook input priority filter; policy drop;
                   ct state established,related accept
                   iifname "lo" accept
         }
}

on the other hand

table ip Tip {
         chain chIN{
                   type filter hook input priority filter; policy drop;
                   ct state established,related accept
                   iifname "lo" accept
         }
}

work !, but WHY slim would require IPv6 🤨 ?

I've cleared /var/log/messages before testing, and nothing generate new messages.

#155 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-11 05:18:52

Hi HOAS,

Thanks for your reply,

Head_on_a_Stick wrote:

... @OP: what are you trying to achieve with that configuration?

This is not my final config, but the start. Excluding everythings then make some exceptions. (opening only the necessary)
indeed I plan to add something like ct state {established, related} accept

Head_on_a_Stick wrote:

And the loopback device will also be blocked without

    iifname lo accept

Hoo that I didn't think about it !! thx !

Head_on_a_Stick wrote:

I suspect the delay is due to either the loopback or internet block, check /var/log/messages for anything relevant.

I will make make some tests and I will update this topics in the following hours.

Thanks again.👍

#156 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-10 06:35:50

/var/log/slim.log wrote:

slim: waiting for X server to shut down

slim: waiting for x server to begin accepting connection
slim: Consolekit::open_session: unable to open session: The name org.freedesktop.ConsoleKit was not provided by any .service
slim: falling back to PAM session

#157 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-10 06:12:31

I made few test and this issue occur if

chain input {
             type filter hook input priority 0; policy drop;
}

or / and

chain output{
             type filter hook output priority 0; policy drop;
}

has/have policy set to drop...

#158 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-10 05:41:09

Same behavior when I logout, ~4min before I can see the login screen 😭

#160 Re: Installation » [SOLVED] How install nftables ? » 2022-02-09 07:07:52

Thank @Head_on_a_Stick after fixing my apt problem (actually date problem)

I successfully installed nftables

# apt install nftables orphan-sysvinit-scripts
# cp /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d
# update-rc.d nftables defaults

But know when I slightly change the /etc/nftables.conf my screen is black for 4min before I finally see the login screen !
I open another topic for this case.

#161 Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-09 07:06:23

SpongeBOB
Replies: 13

Hi everyone,

I just installed nftable on my system (thanks to Head_on_a_Stick )

Now,when I edit the

default /etc/nftables.conf

#!/usr/sbin/nft -f

flush ruleset

table inet filter {
         chain input {
                   type filter hook input priority 0;
         }
         chain forward {
                   type filter hook forward priority 0;
         }
         chain output{
                   type filter hook output priority 0;
         }
}

to

#!/usr/sbin/nft -f

flush ruleset

table inet filter {
         chain input {
                   type filter hook input priority 0; policy drop;
         }
         chain output{
                   type filter hook output priority 0; policy drop;
         }
}

I reboot then my screen is black for 4Min 24Sec before I finally see the login screen.
When I do a /user/sbin/nft -f /etc/nftables.conf the rule apply with no delay.

so I guess something at boot is conflicting with this ruleset, but what ?

Thanks.

#162 Re: Other Issues » [SOLVED] date -s trigger animation ? » 2022-02-09 06:37:01

Hoo I see what it is, it's just triggering the screensaver lol

So this is minor "bug", is there a place where to references them ? git etc. ?

#163 Other Issues » [SOLVED] date -s trigger animation ? » 2022-02-09 06:15:26

SpongeBOB
Replies: 5

A short video thousandths of words -> https://sendvid.com/vdiyk5um

(if you know an opensource platform to share video, I'm all ears)

#164 Re: Installation » [SOLVED] Error with apt update » 2022-02-09 05:28:41

Done, I swapped the image for text. (done by OCR, so I hope there is no mistake)
Cheers.

#165 Re: Installation » [SOLVED] Error with apt update » 2022-02-08 20:02:41

Thanks @golinux sorry to have posted as image instead of text. But I couldn't due to this very problem.
This Devuan is a VM and until I fix my apt problem I can't copy/past or transfer data to my VM host hmm

You were right al of those error where coming because my time was wrong. now it's work like a charm smile

(tomorrow I will swap those picture to text)

#166 Installation » [SOLVED] Error with apt update » 2022-02-08 06:38:46

SpongeBOB
Replies: 4

Hi everyone,

I installed Devuan (devuan_chimaera_4.0.0_amd64_desktop.iso) I need to run few apt install

after an apt update I got

root@DevUlVM:/home/virtua# apt update
Ign:l cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera InRetease
Err:2 cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be us ed to add new CD-ROMs
Get:3 http://pkgmaster.devuan.org/merged chimaera-security InRelease [21.5 kB]
Reading package lists... Done
E: The repository 'cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Release file for http://pkgmaster.devuan.org/merged/dists/chimaera-security/InRelease is not valid yet (invalid for another 21h 32min 45s). Updates for this repository will no t be applied.
root@DevUlVM:/home/virtua# |

so some error here..

I updated my etc/apt/sources.list to as https://www.devuan.org/os/packages

deb http://deb.devuan.org/merged chimaera          main
deb http://deb.devuan.org/merged chimaera-updates  main
deb http://deb.devuan.org/merged chimaera-security main

but that still give me error's

root@DevlllVM:/home/virtua# apt update
Ign:l http://deb.devuan.org/merged chimera InRelease
Ign:2 http://deb.devuan.org/merged chimera-updates InRelease
Ign:3 http://deb.devuan.org/merged chimera-security InRelease
Err:4 http://deb.devuan.org/merged chimera Release
404 Not Found [IP: 185.38.15.81 80]
Err:5 http://deb.devuan.org/merged chimera-updates Release
404 Not Found [IP: 185.38.15.81 80]
Err:6 http://deb.devuan.org/merged chimera-security Release 404 Not Found [IP: 185.38.15.81 80]
Reading package lists... Done
E: The repository 'http://deb.devuan.org/merged chimera Release' does not have a Release file.
hb: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.devuan.org/merged chimera-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.devuan.org/merged chimera-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@DevU!VM:/home/virtua# 

any ideas ?

Thanks.

#167 Installation » [SOLVED] How install nftables ? » 2022-02-07 06:34:18

SpongeBOB
Replies: 7

Hi everyone,

I just installed Devuan 🥳 (nice install guide btw )

How can I install nftables ? Fully, I mean with the back end, front end (nft) start the service automatically ?

Thanks.

(I'm running sysvinit)

Board footer

Forum Software