I've found out that render user group exists in Ubuntu 20.04 by default. So Afanasy can't create user render on installation.
Is there a way to fix this situation?
May be some workaround for Afanasy installation or may be I just can delete this user group? (No idea what this group is for.)
Any info would be helpful.
Afanasy on Ubuntu 20.04
Re: Afanasy on Ubuntu 20.04
Hi
Try to type this command:
What is the output?
Try to type this command:
Code: Select all
id render
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
- romanvolodin
- Posts: 2
- Joined: Fri May 15, 2020 4:42 pm
Re: Afanasy on Ubuntu 20.04
On fresh Ubuntu 20.04 installation (I'm using Virtualbox):
I've run the following command:
Quote from delgroup man:
After Afanasy install:
Code: Select all
$ id render
id: ‘render’: no such user
$ grep render /etc/group
render:x:109:
Code: Select all
$ sudo delgroup --system --only-if-empty render
Removing group `render' ...
Done.
And then Afanasy was successfully installed.--system
Only delete if user/group is a system user/group. This avoids
accidentally deleting non-system users/groups. Additionally, if
the user does not exist, no error value is returned. This option
is mainly for use in Debian package maintainer scripts.
--only-if-empty
Only remove if no members are left.
After Afanasy install:
Code: Select all
$ id render
uid=1001(render) gid=1001(render) groups=1001(render)
$ grep render /etc/group
render:x:1001:
Re: Afanasy on Ubuntu 20.04
Just installed a fresh 20.04 on a virtual box too.
Hm, new group "render" appeared in 20.04 just after installation.
And i checked that there are no users in it.
So i do not know why it is needed. Most probably that it is not.
It is not breaks Afanasy installation, but it can't create a "render" user during installation.
So systemd scripts can launch afserver and afrender under render user that does not exist.
After installation, i just created "render" user by
to put it into existing group.
And after reboot, afserver and afrender was started by systemd.
I think i should check "render" group in the installation scripts, and use existing if it exists.
Hm, new group "render" appeared in 20.04 just after installation.
And i checked that there are no users in it.
So i do not know why it is needed. Most probably that it is not.
It is not breaks Afanasy installation, but it can't create a "render" user during installation.
So systemd scripts can launch afserver and afrender under render user that does not exist.
After installation, i just created "render" user by
Code: Select all
sudo useradd render -g render -m
And after reboot, afserver and afrender was started by systemd.
I think i should check "render" group in the installation scripts, and use existing if it exists.
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
Re: Afanasy on Ubuntu 20.04
This fixes the issue: (i checked on 20.04)
https://github.com/CGRU/cgru/commit/3bb ... d325800c57
https://github.com/CGRU/cgru/commit/3bb ... d325800c57
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).