FS#33461 - [x2goserver] Post installation script errors

Attached to Project: Arch Linux
Opened by Maciej Sitarz (macieks2) - Saturday, 19 January 2013, 16:49 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 19 January 2013, 17:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
During x2goserver installation/upgrade error messages are shown

Additional info:
* package version(s)
x2goserver 4.0.0.0-3


Steps to reproduce:
$ LANG="" sudo pacman -S x2goserver
resolving dependencies...
looking for inter-conflicts...

Targets (3): perl-config-simple-4.59-4 perl-dbd-sqlite-1.37-1 x2goserver-4.0.0.0-3

Total Installed Size: 6.55 MiB

Proceed with installation? [Y/n]
(3/3) checking package integrity [##########################################################################] 100%
(3/3) loading package files [##########################################################################] 100%
(3/3) checking for file conflicts [##########################################################################] 100%
(1/3) installing perl-config-simple [##########################################################################] 100%
(2/3) installing perl-dbd-sqlite [##########################################################################] 100%
==> Use the following command to setup sqlite database:
==> x2godbadmin --createdb
(3/3) installing x2goserver [##########################################################################] 100%
chown: invalid user: 'x2goprint:x2goprint'
chown: invalid group: 'root:x2goprint'
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 19 January 2013, 17:29 GMT
Reason for closing:  Not a bug
Comment by Maciej Sitarz (macieks2) - Saturday, 19 January 2013, 16:59 GMT
I think I opened this defect too quickly...
Looks like the problem is caused by GID 112 being already used:
# grep 112 /etc/group
realtime:x:112:

I investigate further and let you know...
Comment by Andreas Radke (AndyRTR) - Saturday, 19 January 2013, 17:05 GMT
afaik the realtime group isn't used in any Arch pkg anymore. simply delete that group and it will work. I've run into the same error first.
Comment by Maciej Sitarz (macieks2) - Saturday, 19 January 2013, 17:21 GMT
Yes, your right. I came to the same conclusion. Thank you, that helped

I don't want to open another defect for such a minor problem so I'll post it here as it's kind of related:
# pwck -r
user 'x2gouser': program '/sbin/false' does not exist
pwck: no changes

x2gouser should be setup with /bin/false or /sbin/nologin
Comment by Andreas Radke (AndyRTR) - Saturday, 19 January 2013, 17:29 GMT
You're right. I'm goign to fix that in the next build.

Loading...