Sorry if this question is too similar to others, I didn't find anything that helped me.
Following "best practices" I installed my debian with partitions: root, tmp, var and home. Also for the sizes I followed recommendations I read, but after using it for some time it seems for tmp and var I gave too little which gives me problems every now and then.
In order to give more space to var, I decided to symlink /var/cache -> /home/myuser/varcache and then /var/lib -> /home/myuser/varlib. the first seemed to work well, but the second seems to be a bad idea. Actually I see that instead of having /var/lib I have /var/lib/sudo and /var/lib/varlib, which is the actual symlink. Of course some things are not working, so I'm trying to revert it.
Does it make sense that it creates this weird /var/lib/varlib instead of just /var/lib?
Any recommendation on what to do instead?
Would it be a good idea to symlink some folder inside /var/lib instead?



/home/myuser? They don't belong in a user's home directory, ever. create/home/var,/home/var/lib,/home/var/cacheinstead. BTWmv+symlinkis a method with a long history, people have done what you are doing for decades. because it works.