[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1039461: marked as done (Owner of /var/lib/samba/usershares/ is not set correctly during installation)



Your message dated Mon, 25 Dec 2023 10:31:09 +0000
with message-id <ZYlZ7XatfkdkYnfA@layer-acht.org>
and subject line long done
has caused the Debian Bug report #1039461,
regarding Owner of /var/lib/samba/usershares/ is not set correctly during installation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1039461: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039461
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.12.32

CFengine fails to set the ownership of /var/lib/samba/usershares/ in cf3/cf.samba during the installation with the following error:

 verbose: P: BEGIN promise 'promise_cf_samba_12' of type "files" (pass 1)
 verbose: P:    Promiser/affected object: '/var/lib/samba/usershares/.'
 verbose: P:    Part of bundle: samba
 verbose: P:    Base context class: debian.server.installation
verbose: P: Stack path: /default/samba/files/'/var/lib/samba/usershares/.'[1]
 verbose: Using literal pathtype for '/var/lib/samba/usershares/.'
info: Could not get GID for group 'students', (getgrnam: No such file or directory) info: Promise belongs to bundle 'samba' in file '/var/lib/cfengine3/inputs/debian-edu/cf.samba' near line 12 verbose: Additional promise info: version 'CFEngine Promises.cf 3.10.2' source path '/var/lib/cfengine3/inputs/debian-edu/cf.samba' at line 12
 verbose: File '/var/lib/samba/usershares/.' exists as promised
verbose: Handling file existence constraints on '/var/lib/samba/usershares' info: Could not get GID for group 'students', (getgrnam: No such file or directory) info: Promise belongs to bundle 'samba' in file '/var/lib/cfengine3/inputs/debian-edu/cf.samba' near line 12
 verbose: NB: rxdirs is set to false - x for r bits not checked
verbose: Additional promise info: version 'CFEngine Promises.cf 3.10.2' source path '/var/lib/cfengine3/inputs/debian-edu/cf.samba' at line 12
 verbose: Owner of '/var/lib/samba/usershares' as promised (0)
verbose: Additional promise info: version 'CFEngine Promises.cf 3.10.2' source path '/var/lib/cfengine3/inputs/debian-edu/cf.samba' at line 12 error: None of the promised groups for '/var/lib/samba/usershares' exist -- see INFO logs for more verbose: Additional promise info: version 'CFEngine Promises.cf 3.10.2' source path '/var/lib/cfengine3/inputs/debian-edu/cf.samba' at line 12
 verbose: File permissions on '/var/lib/samba/usershares' as promised
error: Errors encountered when actuating files promise '/var/lib/samba/usershares'
 verbose: A: Promise NOT KEPT!
 verbose: P: END files promise (/var/lib/samba/usershares)

After installation the directory ownership is still the package default:

$ ls -ld /var/lib/samba/usershares/
drwxrwx--T 2 root sambashare 4096 22. Jun 08:17 /var/lib/samba/usershares/

The problem seems to be that the students group is defined in LDAP and the server is either not running or cannot be reached.

On the installed system the "stduents" group does exist:

$ getent group students
students:*:10004:server-admin,newstudent,newteacher

This issue also affects bullseye.

--
Guido Berhoerster

--- End Message ---
--- Begin Message ---
version: 2.12.33
totally not mentioned... :/
# thanks


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

The purpose of propaganda isn't to make you believe something. It's to make you
believe nothing. So that you do nothing. (@DarthPutinKGB)

--- End Message ---

Reply to: