Mailinglist Archive: opensuse-buildservice (207 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: [PATCH] [appliance] Chown all directories on appliance change.
I do so in the kiwi file, unfortunatly to id 103 for historic reasons,
which can conflict meanwhile.

However, it should still work, I will test it using a 2.1 appliance and
update afterwards with 2.2 ..

linux:~ # grep messagebus /etc/passwd
messagebus:x:103:107:User for D-Bus:/var/run/dbus:/bin/false

linux:~ # grep obsrun /etc/passwd
obsrun:x:104:105:User for build service backend:/usr/lib/obs:/bin/false

linux:~ # grep ntp /etc/group
ntp:!:106:

linux:~ # ls -alh /srv/obs/
total 108K
drwxr-xr-x 21 obsrun obsrun 4,0K Mär 23 17:01 .
drwxr-xr-x 23 root root 4,0K Mär 24 10:01 ..
drwxr-xr-x 4 obsrun obsrun 4,0K Mär 20 17:52 build
drwx------ 2 root root 4,0K Mär 20 19:27 certs
drwxr-xr-x 4 messagebus ntp 4,0K Mär 18 16:21 db
drwxr-xr-x 8 obsrun obsrun 4,0K Mär 18 16:08 events
drwx------ 3 root root 4,0K Mär 21 14:22 gnupg
drwxr-xr-x 2 obsrun obsrun 4,0K Mär 23 22:46 info
drwxr-xr-x 5 obsrun obsrun 4,0K Mär 21 14:22 jobs
drwxr-xr-x 2 obsrun obsrun 4,0K Mär 23 23:22 log
drwx------ 2 root root 16K Mär 18 14:35 lost+found
drwx------ 6 mysql root 4,0K Mär 24 10:01 MySQL
-rw-r--r-- 1 root root 1,4K Mär 18 14:49 obs-default-gpg.asc
drwxr-xr-x 6 obsrun obsrun 4,0K Mär 20 17:52 projects
drwxr-xr-x 2 messagebus ntp 12K Mär 21 14:43 remotecache
drwxr-xr-x 4 messagebus ntp 4,0K Mär 18 17:58 repos
drwxr-xr-x 2 messagebus ntp 4,0K Mär 21 14:22 repos_sync
drwxr-xr-x 2 obsrun obsrun 4,0K Mär 24 10:01 run
drwxr-xr-x 6 messagebus ntp 4,0K Mär 18 17:22 sources
drwxr-xr-x 8 messagebus ntp 4,0K Mär 18 17:22 trees
drwxr-xr-x 2 messagebus ntp 4,0K Mär 21 14:22 upload
drwxr-xr-x 4 obsrun obsrun 4,0K Mär 18 16:09 workers


Looks like this depends on the installation order during imaging - the next
appliance has this changed again.

linux:/srv/obs # grep obsrun /etc/passwd
obsrun:x:103:105:User for build service backend:/usr/lib/obs:/bin/false

Ok, suggestions ?

* move to safe number vs. backward compatibility
* register id numbers/user earlier

Best,
Jan-Simon
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >