weird owner/group for some files in plugin jail

Status
Not open for further replies.

fedsim

Cadet
Joined
Feb 7, 2013
Messages
9
Hi,

I yesterday upgraded from FreeNAS-8.3.2 to 9.1.1 and created a new plugin jail. Everything is working ok but some files in the jail have their owner, group or both set to '1011'. I have never had a user with those UID/GID in the jail. Is this behavior normal?

These are the files affected:

# find -x . -user 1011 -o -group 1011
/
/boot
/boot/beastie.4th
/boot/brand.4th
/boot/loader.conf.pcbsd
/.plugins
/bin
/bin/bash
/usr
/usr/share
/usr/share/pc-sysinstall
/usr/share/pc-sysinstall/conf
/usr/share/pc-sysinstall/conf/avail-langs
/usr/share/pc-sysinstall/conf/pc-sysinstall.conf
/usr/local/etc/pcbsd.conf
/usr/local/etc/pkg-pubkey.cert
/usr/local/etc/fscd.conf
/usr/local/etc/pkg.conf
/usr/pbi/etc
/usr/pbi/etc/xdg
/usr/pbi/.hashdir
/usr/pbi/share
/usr/pbi/share/icons
/usr/pbi/share/mime
/etc
/etc/resolv.conf
/etc/spwd.db
/etc/make.conf
/etc/passwd
/etc/group
/etc/master.passwd
/etc/host.conf
/etc/rc.conf
/etc/motd
/etc/localtime
/etc/rc.conf.pcbsd
/etc/fstab
/etc/rc
/etc/pwd.db
/etc/opiekeys
/home
 

fedsim

Cadet
Joined
Feb 7, 2013
Messages
9
I did use that script to upgrade a jail I had created in version 8.3.2. But then I removed it completely and created a new one from scratch in version 9.1.1. It was in this new jail where I noticed the wrong owner/group.

Should I report a bug, then?

Regards.
 
D

dlavigne

Guest
Does /etc/passwd in the jail show an entry for 1011? If so, do you recognize the username associated with that number?
 

fedsim

Cadet
Joined
Feb 7, 2013
Messages
9
Thank you for answering.

No, the passwd file in the jail does not show any entry for UID 1011. I do have that UID in our LDAP database (to which the FreeNAS machine has access) but the jail is not configured to use LDAP. Moreover, 1011 is a normal, unprivileged user who has nothing to do with jail creation and does not have access to the FreeNAS machine (only to the shares it exports).
 
D

dlavigne

Guest
Sounds like it might be a bug then. Please post the issue number here after creating the bug report.
 
Status
Not open for further replies.
Top