The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » Several bash completions unavailable » 2018-05-14 13:43:19

KatolaZ wrote:

I have always sourced only "/etc/bash_completion" (which, BTW, sources /usr/share/bash-completion/bash_completion, which in turns loads all the completions under /usr/share/bash-completion/completions/ ...) and I don't use apt :-)

AFAICT the problem is exactly that /usr/share/bash-completion/bash_completion doesn't source /usr/share/bash-completion/completions

I had to manually include

. /usr/share/bash-completion/completions/*

in /usr/share/bash-completion/bash_completion to get /usr/share/bash-completion/completions completions.

#2 Re: Other Issues » Several bash completions unavailable » 2018-05-14 13:28:33

KatolaZ wrote:

Sorry if this sounds silly, but please consider that /etc/bash_completion is *not* included by default in your bashrc/profile. So in order for the completions to work you have to explicitly source /etc/bash_completion in your bashrc/profile.

That could definitely be the problem but I already uncommented the lines that source /usr/share/bash-completion/bash_completion in my profile.

After that I had to also include

. /usr/share/bash-completion/completions/*

at the end of /usr/share/bash-completion/bash_completion to get several bash completions to work.

For example, apt package names bash completion only worked after that. Are apt package names bash completion working for you?

#3 Re: Other Issues » Several bash completions unavailable » 2018-05-14 13:17:37

golinux wrote:

Does that happen on Debian also?  I assume so since we pull it directly from their repos.   Please file a bug upstream if there isn't one already.

I'm not sure as I have never used debian but I will look for a bug and fill a new one if necessary.

Thanks!

#4 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 13:39:30

I have just found out the problem: I had manually compiled/installed an updated iptables version (1.6.1) on jessie.

After removing it, purging and reinstalling regular iptables, everything seems to be working again.

Thanks for your help and sorry for the troubles.

#5 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 13:25:14

I've just purged iptables and it's dependencies from my server, commented out the backports line in my sources.list, them:

* apt-get update
* apt-get install iptables

The problems remains unchanged.

#6 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 13:22:01

ralph.ronnquist wrote:

ok. Why did you install iptables from backports?

Did I? How would I do it differently? As far as I can tell I just installed iptables when first installing Devuan jessie and them upgraded to ascii.

#7 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 12:52:01

ralph.ronnquist wrote:

You do know that the last image was 116 Mb, I suppose.

I bet it was 11.6 Mb but I understand the inconvenience.

ralph.ronnquist wrote:

Please use the text copied into the posts, rather. You can pipe output to file, or use script to get a typescript file.

I'm having some dificulties doing so as the affected machine is my server/router which has no X so my desktop machines have no internet connection if I connect them in my internal network. All info I'm passing is going through my cel phone so it's hard to capture the text. That's why I'm sending photos...

ralph.ronnquist wrote:

Anyhow, I'm guesing your iptables (v1.6.1) is from ascii-backports; where's your kernel from?

I'm not sure. How can I found out?

ralph.ronnquist wrote:

Do you have the /lib/modules/$(uname -r) sub tree with kernel modules?

Yes, I do.

ralph.ronnquist wrote:

Specifically do you have /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko, which is the module concerned?

Also yes.

#8 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 11:38:41

Answers: https://pasteboard.co/HkYMNbT.jpg

I don't know what pin preferences are. Can you tell me where I can find them?

When I upgraded to ascii I was using pkgmaster.devuan.org in my sources.list. Changing to deb.devuan.org didn't produce any new results.

#9 Other Issues » Several bash completions unavailable » 2018-05-13 11:26:28

rsevero
Replies: 7

Hi,

I noticed that several bash completions weren't available, Like apt for example.

After I included the following line at the end of /usr/share/bash-completion/bash_completion I got all missing bash completions:

. /usr/share/bash-completion/completions/*

Why isn't this directory being sourced automatically?

#11 Re: Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 10:14:52

The issue is that I can't load my iptables rules on Devuan ascii.

The answers to your other questions: https://cdn.pbrd.co/images/HkYd1CW.jpg

I believe iptables is working on Devuan ascii. That's what makes my issue even more strange. I had a regular devuan jessie installed from scratch. The only "difference" I can see in my system was that ia wasn't completely updated (jessie wise) when I upgraded do ascii.

Ideas?

#12 Other Issues » [SOLVED] No extensions available in iptables after upgrading do ascii » 2018-05-13 03:49:58

rsevero
Replies: 11

Hi,

Just upgraded to ascii. Iptables has no extensions: multiport, mark, MASQUERADE. Iptables can't find any.

I have already removed and reinstalled iptables but the issue remains unchanged.

Ideas on how to further debug this issue?

Board footer

Forum Software