Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214265 - [TRACKER] Fix app-admin/gnome-system-tools
Summary: [TRACKER] Fix app-admin/gnome-system-tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal with 4 votes (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Tracker
: 243432 254640 292298 (view as bug list)
Depends on: 83260 128485 130880 153113 197163 216019
Blocks: built_with_use
  Show dependency tree
 
Reported: 2008-03-22 15:55 UTC by Rémi Cardona (RETIRED)
Modified: 2017-01-19 18:47 UTC (History)
18 users (show)

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


Attachments
Fix adding users in users-admin (system-tools-backends-2.6.0-useradd-instead-adduser.patch,615 bytes, patch)
2008-10-07 15:49 UTC, Jeremy Guitton
Details | Diff
fix services-admin doesn't detect running services (system-tools-backends-2.6.0-rc-status-syntax.patch,474 bytes, patch)
2008-10-11 11:59 UTC, Jeremy Guitton
Details | Diff
Fix services-admin doesn't stop services (system-tools-backends-2.6.0-fix-service-stop.patch,381 bytes, patch)
2008-12-04 10:06 UTC, Jeremy Guitton
Details | Diff
Add more services in services-admin (gnome-system-tools-2.22.1-add-more-services.patch,1.36 KB, patch)
2008-12-04 10:09 UTC, Jeremy Guitton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2008-03-22 15:55:13 UTC
This is a tracker bug. If you have any issues related to g-s-t, please open a new bug.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-03-22 16:03:27 UTC
Adding deps on the other bugs, I have no clue if they are still valid with current versions of g-s-t. Needs to be checked.

/me thinks we should have a GentooLove bugzilla keyword.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-22 18:16:10 UTC
As I told you on irc, I think this bug is useless.

2 deps concerns old 2.14 release, noone wants to touch it afaict so it will be wontfix as soon as >=2.20 are fixed and unmasked. (and one bug about modem lights is missing btw ;))

the thing is that >=2.20 won't be unmasked until basic things work (for example users-admin) and that there is no more upstream maintainer (or at least he announced he would continue after 2.22 cycle).
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-12 15:19:57 UTC
ok guys, here is the situation. We need someone really motivated with perl foo and possibly a bit of C. Upstream is open to contribution and will gladly accept it. We also need someone that knows gentoo system well enough to help make things right for both upstream and the contributor (if they are separated persons).

Gnome system tools were masked today because they are broken with gnome 2.22 and basically nobody wants to touch it.

Status on 2.22 s-t-b/g-s-t/liboobs:
 * users-admin allows creating users but doesn't save them. Try to debug this with d-feet spawned a strange error like "No .service registred for :1:79" or something like that.
 * network-admin doesn't seem to detect properly DHCP/Static IP but reports appropriate status when using NM.
 * services-admin doesn't detect running services and don't stop them when unchecking a box.
 * shares-admin seems to be working ok.
 * time-admin looks ok as well.

Now where to start ? I think a good start would be to try and write a CLI tool that manipulates users like usermod but through liboobs or something that could be used as a testsuite for s-t-b. Please help.
Comment 4 Pacho Ramos gentoo-dev 2008-04-12 15:41:17 UTC
I cannot help for fixing this because I don't have enough knowledge but, Did you try to ask in forums for help also? Maybe some people could help as forums are read by a lot of people
Comment 5 Wolf Canis 2008-04-13 11:43:13 UTC
Hello,
after your entry in /usr/portage/profiles/package.mask, I'm not able to make any updates. I update my system every day, because if I do so I have only small updates.

Ok, however, I understand the problem but I can't help because I'm not enough experience with Gentoo (I use it since approximately Nov 2007 and I like it).

Following is your entry:

# Gilles Dartiguelongue <eva@gentoo.org> (12 Apr 2008)
# Masking gnome-system-tools because it is broken,
# to help fix it, see bug #214265
=app-admin/gnome-system-tools-2.14*
=app-admin/system-tools-backends-1.4*

could it be that you mean ">=". Because I have Gnome 2.20.3 and your entry leads to following situation: I have a masked package installed and can't do any further updates. Before your entry my system works fine (I have a stable system, no package.keywords or packagage.masks entries). And how you mentioned the problem is only with Gnome 2.22, therefore, so far I that understand, should the entries be:

>=app-admin/gnome-system-tools-2.14*
>=app-admin/system-tools-backends-1.4*

I'm right or I'm something missing?

Thanks in advance.
Comment 6 Wolf Canis 2008-04-13 11:59:17 UTC
(In reply to comment #5)
Ooops, I suggested:

> 
> >=app-admin/gnome-system-tools-2.14*
> >=app-admin/system-tools-backends-1.4*
> 

but that's of course wrong, but the following is what I wanted suggest:

 >app-admin/gnome-system-tools-2.14*
 >app-admin/system-tools-backends-1.4*

Sorry and thanks in advance
Comment 7 Wolf Canis 2008-04-13 12:11:40 UTC
That's full error message that I get:

--Begin message
CTRL-C to stop or RETURN to continue with: emerge --ask --verbose --update --newuse --deep world


These are the packages that would be merged, in order:

Calculating world dependencies \
!!! The following installed packages are masked:
- app-admin/gnome-system-tools-2.14.0 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Gilles Dartiguelongue <eva@gentoo.org> (12 Apr 2008)
# Masking gnome-system-tools because it is broken,
# to help fix it, see bug #214265

- app-admin/system-tools-backends-1.4.2-r1 (masked by: package.mask)
 /
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
app-admin/gnome-system-tools app-admin/system-tools-backends

... done!
[ebuild     U ] net-misc/rsync-2.6.9-r6 [2.6.9-r5] USE="acl -ipv6 -static -xinetd" 0 kB 
[ebuild     U ] sys-devel/automake-1.10.1 [1.10] 897 kB 
[ebuild     U ] dev-libs/libxml2-2.6.31 [2.6.30-r1] USE="python readline -bootstrap -build -debug -doc -examples% -ipv6 -test" 4,624 kB 
[ebuild     U ] sys-apps/coreutils-6.10-r1 [6.9-r1] USE="acl nls xattr (-selinux) -static" 3,670 kB 
[ebuild     U ] app-text/poppler-0.6.3 [0.6.1-r1] USE="cjk jpeg zlib" 1,263 kB 
[ebuild     U ] x11-libs/vte-0.16.13 [0.16.12] USE="opengl python -debug -doc" 1,089 kB 
[ebuild     U ] app-text/poppler-bindings-0.6.3 [0.6.1] USE="cairo gtk -qt3 -qt4 -test" 0 kB 
[blocks B     ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B     ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

Total: 7 packages (7 upgrades, 2 blocks), Size of downloads: 11,541 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
--End message

Perhaps that helps.
Comment 8 Wolf Canis 2008-04-13 12:55:51 UTC
(In reply to comment #7)
To do the update, I did the following:

1) I comment the entries in /usr/portage/profiles/package.masks
2) I unmerged sys-apps/mktemp
3) I did the update with the command mentioned in comment #7
4) I want remerge sys-apps/mktemp but that failed with the following error:

# emerge -av sys-apps/mktemp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-apps/mktemp-1.5  0 kB 
[blocks B     ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B     ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

Total: 1 package (1 new, 2 blocks), Size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

5) I'm at the end of my wisdom. I think is sys-apps/mktemp is a important package, but how can I work around the above error message?

Thanks in advance.

Comment 9 Pacho Ramos gentoo-dev 2008-04-13 13:03:01 UTC
Please asks in forums.gentoo.org for help, if there is a bug please open a NEW one, this bug is only a tracker 

Thanks :-)
Comment 10 Wolf Canis 2008-04-13 13:27:01 UTC
(In reply to comment #9)
No problem. I thought that the entries in /usr/portage/profiles/package.masks are problematic because they lead to a unstable system, although it was, before the entries, stable. I didn't wanted update to Gnome 2.22.

Sorry for the inconvenience which my comments caused.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-13 14:04:17 UTC
You just have to unmerge gnome-system-tools, nothing should pull it in anymore, if it is not the cause open another bug please. Thanks.

Comment 12 Wolf Canis 2008-04-13 15:12:20 UTC
(In reply to comment #11)
Thanks for your answer. But your suggestion is out of question, because I use it with Gnome 2.20.3, the stable version.
I opened a new bug report ( bug #217516 ).

Thanks.
Comment 13 Zachary 2008-05-24 23:51:00 UTC
(In reply to comment #3)
> Status on 2.22 s-t-b/g-s-t/liboobs:
>  * users-admin allows creating users but doesn't save them. Try to debug this
> with d-feet spawned a strange error like "No .service registred for :1:79" or
> something like that.
>  * network-admin doesn't seem to detect properly DHCP/Static IP but reports
> appropriate status when using NM.
>  * services-admin doesn't detect running services and don't stop them when
> unchecking a box.
>  * shares-admin seems to be working ok.
>  * time-admin looks ok as well.
> 
> Now where to start ? I think a good start would be to try and write a CLI tool
> that manipulates users like usermod but through liboobs or something that could
> be used as a testsuite for s-t-b. Please help.
> 

Are you looking for these tools to be written in perl?  Also, should these tools be run using gentoo commands to get the information?  (ex /etc/init.d/samba status to find out if it's running or not.)  I'm going to look into liboobs to see if it is something I can handle.
Comment 14 Zachary 2008-05-25 00:23:19 UTC
Okay, I see where this is going.  Liboobs is an abstraction layer.  The job doesn't look like it should be that bad.  Adding users is broken, but I thought the adduser command was common between linux distributions?

For those with interest, the liboobs apis are at 
http://library.gnome.org/devel/liboobs/stable/

I'm going to tinker a bit more.
Comment 15 Malte E. 2008-08-05 12:11:06 UTC
Is Zachary or anyone else still working on this? I am able to use the command line instead but a GUI is just nice sometimes. I'd fix it, but my programming skills are limited to a little bit of shell scripting.
Comment 16 Drake Donahue 2008-10-04 15:14:44 UTC
gnome-system-tools-2.22.1 emerges and works on 2 amd64 and one x86 systems here, I recommend taking off the package.mask for x86 and amd64.

On one amd64:
In package.keywords:
app-admin/gnome-system-tools ~amd64
dev-libs/liboobs ~amd64
app-admin/system-tools-backends ~amd64
In package.unmask:
=app-admin/gnome-system-tools-2.22.1
=dev-libs/liboobs-2.22.0
=app-admin/system-tools-backends-2.6.0

On the other amd64:
In package.keywords:
app-admin/gnome-system-tools ~amd64
dev-libs/liboobs ~amd64
app-admin/system-tools-backends ~amd64
In package.unmask:
=app-admin/gnome-system-tools-2.22.1
=dev-libs/liboobs-2.22.0
=app-admin/system-tools-backends-2.6.0

On the x86:
In package.keywords:
app-admin/gnome-system-tools ~x86
dev-libs/liboobs ~x86
app-admin/system-tools-backends ~x86
dev-perl/Net-DBus ~x86
In package.unmask:
=app-admin/gnome-system-tools-2.22.1
=app-admin/gnome-system-tools-2.22.0
=dev-libs/liboobs-2.21.3
=dev-libs/liboobs-2.22.0
=app-admin/system-tools-backends-2.5.4
=app-admin/system-tools-backends-2.6.0

Variations probably due to variations in the state of the perl tool chain. The first (as listed above) system emerge only called for the base three files, the second  (as listed above) system emerge called for 26 files, the third (as listed above) system emerge called for 28 files, most of the extras perl related.

It was necessary to reboot to avoid a popup dialog that prevented using the tools:
" The configuration could not be loaded
You are not allowed to access the system configuration"
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-10-04 15:32:50 UTC
(In reply to comment #16)
> gnome-system-tools-2.22.1 emerges and works on 2 amd64 and one x86 systems
> here, I recommend taking off the package.mask for x86 and amd64.

Please define "work" in your sentence. Were you able to add new users, configure your network card, change the system time, manage system daemons?

Thanks
Comment 18 Jeremy Guitton 2008-10-07 15:49:13 UTC
Created attachment 167552 [details, diff]
Fix adding users in users-admin

System-tools-backends use adduser as default for adding user, but on Gentoo adduser is a symbolic link to useradd. But options are not the same for this two tools ! It's because adding users fails in users-admin without this patch. Sorry for my bad english,I'm french !

++'ll
Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-07 16:05:45 UTC
I'll try that asap and push it to the masked version in tree if it works as expected. Feel free to review the other points of comment #3 and to report these patches upstream (if you want to make bugzilla points).
Comment 20 Jeremy Guitton 2008-10-11 11:59:11 UTC
Created attachment 168008 [details, diff]
fix services-admin doesn't detect running services
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-13 21:29:54 UTC
patch included in r1 with an automagic policykit fix as a bonus. Thanks for your work so far.
Comment 22 Malte E. 2008-10-19 08:24:23 UTC
2.22.1-r1 does not compile for me. I compiled with USE=-policykit and configure failed with the following output:

checking for intltool >= 0.35.0...  found
./configure: line 3675: test: : integer expression expected
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.

I have intltool 0.37.1 installed
I removed eautoreconf in the ebuild and the compilation went fine.
Comment 23 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-23 18:42:59 UTC
*** Bug 243432 has been marked as a duplicate of this bug. ***
Comment 24 Fred Krogh 2008-12-03 20:38:32 UTC
On an amd64 system, with

app-admin/gnome-system-tools
app-admin/system-tools-backends
dev-libs/liboobs

in package.unmask and latest versions of these emerged, the various things get added to the system/administration menu, but trying to access them gives

The configuration could not be loaded
You are not allowed to access the system configuration

When trying to run users-admin (even as root), I get a bunch of

(users-admin:4417): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Thus at least for me, this does not look quite ready -- unless I'm missing something.



 
Comment 25 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-04 00:12:26 UTC
(In reply to comment #24)
> Thus at least for me, this does not look quite ready -- unless I'm missing
> something.

you missed reading instructions from the ebuild.
Gtk-WARNINGs are not a problem in this context (for now).
Comment 26 Jeremy Guitton 2008-12-04 10:06:01 UTC
Created attachment 174216 [details, diff]
Fix services-admin doesn't  stop services
Comment 27 Jeremy Guitton 2008-12-04 10:09:18 UTC
Created attachment 174217 [details, diff]
Add more services in services-admin
Comment 28 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-12 23:15:29 UTC
*** Bug 254640 has been marked as a duplicate of this bug. ***
Comment 29 Bertrand Piétu 2009-01-30 17:08:53 UTC
Here, system-tools-backends-2.6.0.r1 doesn't compile. It fails with this error:

make -j3 
make  all-recursive
make[1]: entrant dans le répertoire « /var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/work/system-tools-backends-2.6.0 »
Making all in dispatcher
make[2]: entrant dans le répertoire « /var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/work/system-tools-backends-2.6.0/dispatcher »
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -march=core2 -Os -pipe -msse4.1 -MT file-monitor.o -MD -MP -MF .deps/file-monitor.Tpo -c -o file-monitor.o file-monitor.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -march=core2 -Os -pipe -msse4.1 -MT dispatcher.o -MD -MP -MF .deps/dispatcher.Tpo -c -o dispatcher.o dispatcher.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -march=core2 -Os -pipe -msse4.1 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘daemonize’:
main.c:53: attention : ignoring return value of ‘write’, declared with attribute warn_unused_result
In function ‘open’,
    inlined from ‘daemonize’ at main.c:50,
    inlined from ‘main’ at main.c:101:
/usr/include/bits/fcntl2.h:51: erreur: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [main.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
dispatcher.c: In function ‘dispatch_file_list’:
dispatcher.c:170: attention : le format n'est pas une chaîne littérale et pas d'argument de format
dispatcher.c:187: attention : le format n'est pas une chaîne littérale et pas d'argument de format
dispatcher.c: In function ‘dispatch_reply’:
dispatcher.c:267: attention : le format n'est pas une chaîne littérale et pas d'argument de format
dispatcher.c: In function ‘setup_connection’:
dispatcher.c:601: attention : le format n'est pas une chaîne littérale et pas d'argument de format
dispatcher.c:611: attention : le format n'est pas une chaîne littérale et pas d'argument de format
mv -f .deps/file-monitor.Tpo .deps/file-monitor.Po
mv -f .deps/dispatcher.Tpo .deps/dispatcher.Po
make[2]: quittant le répertoire « /var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/work/system-tools-backends-2.6.0/dispatcher »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/work/system-tools-backends-2.6.0 »
make: *** [all] Erreur 2
 * 
 * ERROR: app-admin/system-tools-backends-2.6.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2873:  Called gnome2_src_compile '--localstatedir=//var'
 *             environment, line 2241:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-tools-backends-2.6.0-r1/temp/environment'.
 * 

Anything I missed?

my emerge --info:

Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-tuxonice-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Fri, 30 Jan 2009 16:05:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -Os -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/xbmc/userdata /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -Os -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.first-world.info/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage/layman/ber"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet archive asmb avahi beagle berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrkit cdrom cleartype cli cracklib crypt css cups dbus dri dts dvb dvd dvdr dvdread ebook eds embedded emboss emerald encode epiphany esd evo exif extrafilters faac faad fam fbsplash ffmpeg firefox flac fortran gconf gdbm gedit geoip gif gimp git glitz gnome gnome-keyring gnutls google-gadgets gphoto2 gpm graphviz gs gstreamer gtk guile hal htmlhandbook hyperestraier icc iconv id3tag inotify ipod ipv6 isdnlog java jpeg jpeg2k kipi lame laptop lcms ldap libnotify lm_sensors lzma lzo mad matroska mdnsresponder-compat midi mikmod mjpeg mmx mng mono moonlight mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql nautilus ncurses networking nls nptl nptlonly nsplugin nsplugins ntp ogg ogm opengl openmp pam pcre pdf perl pidgin plasma png podcast ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection rss samba sdl semantic-desktop sensord session speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subversion svg swat symlink sysfs tagwriting tcpd theora tiff timidity truetype tta tunepimp ugly unicode unsupported usb v4l v4l2 vorbis wavpack webkit wlm wma wmf x264 xattr xcb xcomposite xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias dav dav_fs authn_file auth_digest authz_groupfile" CAMERAS="ptp2 canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 30 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-09 22:46:08 UTC
+*system-tools-backends-2.6.0-r2 (09 Apr 2009)
+
+  09 Apr 2009; Gilles Dartiguelongue <eva@gentoo.org>
+  +files/system-tools-backends-2.6.0-cleanup-pid-file.patch,
+  +files/system-tools-backends-2.6.0-cve-2008-4311.patch,
+  +files/system-tools-backends-2.6.0-default-permissions.patch,
+  +files/system-tools-backends-2.6.0-gcc43.patch,
+  +files/system-tools-backends-2.6.0-handle-services.patch,
+  +system-tools-backends-2.6.0-r2.ebuild:
+  Bump to 2.6.0-r2. Include more patches from bug #214265 and from ubuntu.
+


along with gnome-system-tools 2.22.2 bump. I think most things are fixed now so please do test everything.
Comment 31 Fred Krogh 2009-06-08 21:44:12 UTC
I just tried to use gnome-system-tools-2.22.2 with system-tools-backends-2.6.1.  If as the root user I type: users-admin, I get the response

** (users-admin:3078): CRITICAL **: Unable to lookup session information for process '3078'

============== emerge --info ==================

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Opteron-tm-_Processor_242-with-gentoo-2.0.1
Timestamp of tree: Mon, 08 Jun 2009 20:30:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo  http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_us"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl administrator aiglx alsa amd64 apache2 auctex audiofile bash-completion bcmath berkdb blas bonobo bzip2 cairo calendar cdrom clamav clamd cli clisp colordiff consolekit cracklib crypt ctype cups dbus debugger deprecated dga discouraged divx-linux dri dvd dvdr dvdread emacs emul-linux86 esd fam fastcgi fbcon ffmpeg flac fortran ftp gd gdbm glut gmail gnome gnome-keyring gphoto2 gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog java javascript jpeg kerberos kpathsea latex latin1 leim lesstif libclamav libnotify libwww logrotate mad maildir mbox mcal midi mime mmx mmxext mng mouse mozcalendar mozilla mpeg2 mpi mudflap multilib mysql mysqli nat ncurses nls nocd nosendmail nptl nptlonly nsplugin nvidia objc offensive ogg opengl openmp osc oscar pam pcre pdf perl png policykit pop pop3d portaudio posix ppds pppd preview-latex python query-browser readline reflection regex replytolist rtc samba sasl session sharedmem sockets sound source sox speex spl sse sse2 ssl svg symlink sysfs tcltk tcpd tetex thunderbird truetype unicode usb vhosts vorbis wxwindows xcomposite xine xmail xorg xulrunner xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 32 Johannes Dahl 2009-07-10 09:15:37 UTC
I unmasked and emerged app-admin/gnome-system-tools-2.22.2, app-admin/system-tools-backends-2.6.1 and dev-libs/liboobs-2.22.0 and did some testing -- the Gnome menu items do not work for a regular user in wheel group, but all the applications start when run as root.

users-admin: Created a user and assigned some privileges to it with no problems. The user was able to log in to Gnome. Deleted the user with no problems.

time-admin: Changed the time and date to a wrong value and back again -- the changes were reflected in Gnome panel's date&time applet. Tried to configure the time to be syncronized: "NTP support is not installed" (which is true).

network-admin: Didn't want to mess up my network configuration so didn't change anything. Observed that under Connections tab, my two NIC's were unconfigured, General tab was empty and the correct information was displayed under DNS and Hosts tabs.

services-admin: Disabling sshd had no effect. Enabling it after manually disabling it worked: sshd was started and added to the default runlevel.

You can let me know if it was helpful and how it would be more helpful without too much extra work -- if there is documentation about this kind of stuff, I was too lazy to search for it and you are welcome to point it out.
Comment 33 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 22:01:02 UTC
(In reply to comment #32)
> I unmasked and emerged app-admin/gnome-system-tools-2.22.2,
> app-admin/system-tools-backends-2.6.1 and dev-libs/liboobs-2.22.0 and did some
> testing -- the Gnome menu items do not work for a regular user in wheel group,
> but all the applications start when run as root.

did you read elog messages ? It says you have to be in stb-admin group.

> users-admin: Created a user and assigned some privileges to it with no
> problems. The user was able to log in to Gnome. Deleted the user with no
> problems.

nice

> time-admin: Changed the time and date to a wrong value and back again -- the
> changes were reflected in Gnome panel's date&time applet. Tried to configure
> the time to be syncronized: "NTP support is not installed" (which is true).

would be good if you could test by installing ntpd for example, it should just work iirc.
 
> network-admin: Didn't want to mess up my network configuration so didn't change
> anything. Observed that under Connections tab, my two NIC's were unconfigured,
> General tab was empty and the correct information was displayed under DNS and
> Hosts tabs.

this should work to some extend but I think that given it's ineffectivness wrt alternatives in gentoo, I'm just going to disable it.

> services-admin: Disabling sshd had no effect. Enabling it after manually
> disabling it worked: sshd was started and added to the default runlevel.

indeed, maybe something changed in latest openrc which makes it impossible to stop the services again.

Given the work that has been accomplished up to now, I think I'm going to unmask this stuff soonish, so if anybody feels like fixing the remaining issues, now is your time to get famous.
Comment 34 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-07 23:14:10 UTC
*** Bug 292298 has been marked as a duplicate of this bug. ***
Comment 35 Fred Krogh 2009-11-08 15:37:38 UTC
With the following installed:
gnome-base/gnome-2.26.3 (2.0)
app-admin/gnome-system-tools-2.22.2 (0)
app-admin/system-tools-backends-2.6.1-r1 (0)
dev-libs/liboobs-2.22.2 (0)
sys-apps/dbus-1.3.0-r1

Running services-admin as root, I get

** (services-admin:1790): CRITICAL **: Unable to lookup session information for process '1790'

(services-admin:1790): Liboobs-WARNING **: There was an unknown error communicating with the backends: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

Comment 36 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-20 23:31:12 UTC
[...]
> Running services-admin as root, I get
> 
> ** (services-admin:1790): CRITICAL **: Unable to lookup session information for
> process '1790'
> 
> (services-admin:1790): Liboobs-WARNING **: There was an unknown error
> communicating with the backends: Failed to execute program
> /usr/libexec/dbus-daemon-launch-helper: Success
> 
you should not applications as root. Just follow instructions in s-t-b elog output and it should just work with USE="-policykit". I've had reports the daemon/group stuff is unnecessary with policykit.
Comment 37 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-20 23:34:31 UTC
I've just unmasked gnome-system-tools/system-tools-backends/liboobs triplet, with 2.26 and 2.28 I had almost everything working as well as it did in 2.14. Still those tools are not perfectly fit for everything gentoo let's you do, so if you find a problem, open a new bug so we can check if this is something we want to support or not. If not, we most likely need to document it somewhere visible (ie. on the project page). Also if anyone here still has perl patches hidden behind their back, please get them out, upstream has been quite nice to us and integrated almost everything we needed up to now. Enjoy.