Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 804573 - app-crypt/trousers: ownership and permissions of /etc/tcsd.conf prevent tcsd.service from starting
Summary: app-crypt/trousers: ownership and permissions of /etc/tcsd.conf prevent tcsd....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords:
Depends on: 805554
Blocks:
  Show dependency tree
 
Reported: 2021-07-27 01:14 UTC by Matt Turner
Modified: 2021-09-05 18:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2021-07-27 01:14:13 UTC
After installing trousers, systemctl start tcsd fails:

> Jul 26 18:10:07 p50 tcsd[50304]: TCSD ERROR: TCSD config file (/etc/tcsd.conf) must be user/group root/tss

After chown root /etc/tcsd.conf and trying again:

> Jul 26 18:11:02 p50 tcsd[50335]: TCSD ERROR: TCSD config file (/etc/tcsd.conf) must be mode 0640

Now tcsd will start properly.

The file should be installed with correct ownership and permissions such that this manual intervention is not necessary.
Comment 1 Ionen Wolkens gentoo-dev 2021-07-27 03:23:37 UTC
Just to confirm, what version is this?

Asking given 0.3.15 gives me root:tss 640, but 0.3.14-r3 is tss:tss 600.. so only stable version seems bad.
Comment 2 Ionen Wolkens gentoo-dev 2021-07-27 03:45:15 UTC
And if 0.3.15, possibly carried over the permissions from the older version and it became a problem (maybe 0.3.14-r3 was fine with these?).
Comment 3 Matt Turner gentoo-dev 2021-07-27 04:24:22 UTC
Yes, I noticed the problem with app-crypt/trousers-0.3.14-r3. I didn't try 0.3.15.
Comment 4 Christopher Byrne 2021-09-05 18:11:41 UTC
Issue seems to be resolved in 0.3.15 (now stabilized).