FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 07-29-2011, 09:31 AM
Kirill Churin
 
Default

On Thu, Jul 28, 2011 at 5:26 AM, Andrea Scarpino <andrea@archlinux.org> wrote:
> Hi arKers,
> KDE 4.7 has been released[1] and our packages are ready in [testing].
>
> As you already know KDE is (slowly) moving to GIT. With this
> transition some KDE module has been splitted into subprojects, and the
> remaining modules should be splitted before KDE 4.8.
> The result of this is that some package (e.g. kdegraphics-libs) is now
> splitted in several packages and each new package conflicts with the
> old kdegraphics-libs, so you have to remove it when pacman asks for
> its removal during the update.
>
> Here some info about the splitted modules:
> - KDE Workspace: wallpapers are now in a separate package named
> kde-wallpapers, this reduced the kdebase-workspace package download
> size by 70%.
> - KDE Graphics: kdegraphics-libs is now splitted in
> kdegraphics-ksaneplugin, kdegraphics-strigi-analyzer,
> kdegraphics-svgpart, kdegraphics-thumbnailers, libkdcraw, libkexiv2,
> libkipi, libksane. Our official packages which depends on
> kdegraphics-libs have been updated to depend on the new libraries; the
> upgrade should work without any issue, otherwise please report it to
> our bug tracker.
> - KDE Edu: kdeedu-libkdeedu and kdeedu-data have been dropped and
> libkdeedu will replace them.
> - KDE Bindings: every subproject has been splitted in two parts: one
> for the qt bindings and one for the KDE bindings. The old packages
> have been remove and the new one are: kdebindings-kimono,
> kdebindings-kross-java, kdebindings-kross-python,
> kdebindings-korundum, kdebindings-perlkde, kdebindings-perlqt,
> kdebindings-qtruby, kdebindings-qyoto, kdebindings-smokegen,
> kdebindings-smokekde, kdebindings-smokeqt.
> - KDE Accessibility: kdeaccessibility-colorschemes and
> kdeaccessibility-iconthemes are dropped and replaced.
>
> Have a nice update!
>
> [1] http://kde.org/announcements/4.7/
>
> --
> Andrea
>

Thanks for great work!

Are there any way to disable OpenGL ES in Kwin?

As told in https://bbs.archlinux.org/viewtopic.php?pid=967057, OpenGL
compositing doesn't work with current NVidia and ATI blobs

--
Kirill Churin
Jabber: reflexing@reflexing.ru
 
Old 07-29-2011, 10:01 AM
Andrea Scarpino
 
Default

On Friday, July 29, 2011 03:31:45 PM Kirill Churin wrote:
> Are there any way to disable OpenGL ES in Kwin?
>
> As told in https://bbs.archlinux.org/viewtopic.php?pid=967057, OpenGL
> compositing doesn't work with current NVidia and ATI blobs
kdebase-workspace 4.7.0-2 in [testing] doesn't have Open GL ES support.
kdebase-workspace 4.7.0-3 in [kde-unstable] has. Just downgrade your package.

--
Andrea
 
Old 07-31-2011, 11:29 PM
Dwight Schauer
 
Default

On Sun, Jul 31, 2011 at 5:26 PM, Dave Reisner <d@falconindy.com> wrote:
>>Ok, I renamed "9p_mount_handler" to *"ninep_mount_handler" and updated
>>mount_handler= accordingly, and rebuild the initcpio images.
>>
>>Still no joy...
>>
>>I went so far as to rename 9p to ninep in
>>/lib/initcpio/{install,hooks} and the HOOKS string, and rebuilt the
>>initcpio images, but that did not help.
>>
>>Dwight
>
> Let's try this one more time. You're missing a pointer to your install
> script. Part of the build function needs:
> SCRIPT=ninep
>
> or whatever you're calling it...
>
> d
>

That did it! Thanks. Now I can start the session automatically without
intervention.

Dwight
 
Old 08-01-2011, 08:39 PM
Lon Hohberger
 
Default

The option turns off rgmanager, which will shut down if
running and cause rgmanager to refuse to start if
starting up.

Resolves: rhbz#723925

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
rgmanager/src/daemons/main.c | 51 +++++++++++++++++++++++++++++++++++++++++-
1 files changed, 50 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
index 46ddf18..4e12c68 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -749,6 +749,14 @@ event_loop(msgctx_t *localctx, msgctx_t *clusterctx)
if (need_reconfigure) {
need_reconfigure = 0;
configure_rgmanager(-1, 0, NULL);
+
+ /*
+ * A shutdown during reconfiguration would slow down
+ * the exit request, so it's pointless to run the
+ * deltas at this point
+ */
+ if (shutdown_pending)
+ return 0;
config_event_q();
return 0;
}
@@ -782,7 +790,6 @@ cleanup(msgctx_t *clusterctx)
}


-
static void
statedump(int __attribute__ ((unused)) sig)
{
@@ -790,6 +797,36 @@ statedump(int __attribute__ ((unused)) sig)
}


+static int
+rgmanager_disabled(int ccsfd)
+{
+ char *v;
+ int disabled = 0;
+ int internal;
+
+ if (ccsfd < 0) {
+ internal = 1;
+ ccsfd = ccs_force_connect(NULL, 0);
+ if (ccsfd < 0)
+ return -1;
+ }
+
+ if (ccs_get(ccsfd, "/cluster/rm/@disabled", &v) == 0) {
+ if (atoi(v) == 1) {
+ disabled = 1;
+ shutdown_pending = 1;
+ logt_print(LOG_NOTICE, "Resource Group Manager Disabled
");
+ }
+ free(v);
+ }
+
+ if (internal)
+ ccs_disconnect(ccsfd);
+
+ return disabled;
+}
+
+
/*
* Configure logging based on data in cluster.conf
*/
@@ -810,6 +847,8 @@ configure_rgmanager(int ccsfd, int dbg, int *token_secs)

setup_logging(ccsfd);

+ rgmanager_disabled(ccsfd);
+
if (token_secs && ccs_get(ccsfd, "/cluster/totem/@token", &v) == 0) {
tmp = atoi(v);
if (tmp >= 1000) {
@@ -982,6 +1021,13 @@ main(int argc, char **argv)
debug = 1;
}

+ /* If we're disabled in the configuration, don't fork */
+ if (rgmanager_disabled(-1) > 0) {
+ fprintf(stderr,
+ "rgmanager disabled in configuration; not starting
");
+ return 2;
+ }
+
if (!foreground && (geteuid() == 0)) {
daemon_init(argv[0]);
if (wd && !debug && !watchdog_init())
@@ -1040,6 +1086,9 @@ main(int argc, char **argv)
*/
xmlInitParser();
configure_rgmanager(-1, debug, &cluster_timeout);
+ if (shutdown_pending == 1)
+ goto out_ls;
+
logt_print(LOG_NOTICE, "Resource Group Manager Starting
");

if (rgm_dbus_notify && rgm_dbus_init() != 0) {
--
1.7.3.4
 
Old 08-01-2011, 08:39 PM
Lon Hohberger
 
Default

Related: rhbz#723925

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
config/tools/xml/cluster.rng.in.head | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/config/tools/xml/cluster.rng.in.head b/config/tools/xml/cluster.rng.in.head
index f9606ad..7696533 100644
--- a/config/tools/xml/cluster.rng.in.head
+++ b/config/tools/xml/cluster.rng.in.head
@@ -869,6 +869,11 @@ To validate your cluster.conf against this schema, run:
of the following keywords: auth, authpriv, cron, daemon, kern,
lpr, mail, news, syslog, user, uucp and local0 through local7"/>
</optional>
+ <optional>
+ <attribute name="disabled" rha:description="Disables rgmanager entirely if set to 1. Do not set unless you really mean it." rha:sample="">
+ <data type="integer"/>
+ </attribute>
+ </optional>
<interleave>
<optional>
<element name="failoverdomains" rha:description="Failover domain definitions.">
--
1.7.3.4
 
Old 08-02-2011, 06:57 AM
"Fabio M. Di Nitto"
 
Default

Both patches look good to me (option and schema update)

Fabio

On 8/1/2011 10:39 PM, Lon Hohberger wrote:
> The option turns off rgmanager, which will shut down if
> running and cause rgmanager to refuse to start if
> starting up.
>
> Resolves: rhbz#723925
>
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
> rgmanager/src/daemons/main.c | 51 +++++++++++++++++++++++++++++++++++++++++-
> 1 files changed, 50 insertions(+), 1 deletions(-)
>
> diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
> index 46ddf18..4e12c68 100644
> --- a/rgmanager/src/daemons/main.c
> +++ b/rgmanager/src/daemons/main.c
> @@ -749,6 +749,14 @@ event_loop(msgctx_t *localctx, msgctx_t *clusterctx)
> if (need_reconfigure) {
> need_reconfigure = 0;
> configure_rgmanager(-1, 0, NULL);
> +
> + /*
> + * A shutdown during reconfiguration would slow down
> + * the exit request, so it's pointless to run the
> + * deltas at this point
> + */
> + if (shutdown_pending)
> + return 0;
> config_event_q();
> return 0;
> }
> @@ -782,7 +790,6 @@ cleanup(msgctx_t *clusterctx)
> }
>
>
> -
> static void
> statedump(int __attribute__ ((unused)) sig)
> {
> @@ -790,6 +797,36 @@ statedump(int __attribute__ ((unused)) sig)
> }
>
>
> +static int
> +rgmanager_disabled(int ccsfd)
> +{
> + char *v;
> + int disabled = 0;
> + int internal;
> +
> + if (ccsfd < 0) {
> + internal = 1;
> + ccsfd = ccs_force_connect(NULL, 0);
> + if (ccsfd < 0)
> + return -1;
> + }
> +
> + if (ccs_get(ccsfd, "/cluster/rm/@disabled", &v) == 0) {
> + if (atoi(v) == 1) {
> + disabled = 1;
> + shutdown_pending = 1;
> + logt_print(LOG_NOTICE, "Resource Group Manager Disabled
");
> + }
> + free(v);
> + }
> +
> + if (internal)
> + ccs_disconnect(ccsfd);
> +
> + return disabled;
> +}
> +
> +
> /*
> * Configure logging based on data in cluster.conf
> */
> @@ -810,6 +847,8 @@ configure_rgmanager(int ccsfd, int dbg, int *token_secs)
>
> setup_logging(ccsfd);
>
> + rgmanager_disabled(ccsfd);
> +
> if (token_secs && ccs_get(ccsfd, "/cluster/totem/@token", &v) == 0) {
> tmp = atoi(v);
> if (tmp >= 1000) {
> @@ -982,6 +1021,13 @@ main(int argc, char **argv)
> debug = 1;
> }
>
> + /* If we're disabled in the configuration, don't fork */
> + if (rgmanager_disabled(-1) > 0) {
> + fprintf(stderr,
> + "rgmanager disabled in configuration; not starting
");
> + return 2;
> + }
> +
> if (!foreground && (geteuid() == 0)) {
> daemon_init(argv[0]);
> if (wd && !debug && !watchdog_init())
> @@ -1040,6 +1086,9 @@ main(int argc, char **argv)
> */
> xmlInitParser();
> configure_rgmanager(-1, debug, &cluster_timeout);
> + if (shutdown_pending == 1)
> + goto out_ls;
> +
> logt_print(LOG_NOTICE, "Resource Group Manager Starting
");
>
> if (rgm_dbus_notify && rgm_dbus_init() != 0) {
 
Old 08-02-2011, 01:50 PM
"Johan Berntsson"
 
Default

--------------------------- Ursprungligt brev ----------------------------
Ärende: Re: gdm3 - cant find X confige file
Från: Camaleón <noelamac@gmail.com>
Datum: Ti, 2011-08-02, 15:17
Till: "Debian [en]" <debian-user@lists.debian.org>
--------------------------------------------------------------------------

El 2011-08-02 a las 14:18 +0200, Johan Berntsson escribió:

(resending to the list)

> Camaleón skrev:

(...)

> >> Does I need to make an X confige file or?
> >
> > That will depend on what's the specific driver complaint :-)
> >
> > Since squeeze there is no more "an X conf file". You can however, create
> > a new one under the usual place "/etc/X11/xorg.conf", so if the driver is
> > fine just with that then make it happy...

> just that it was for linux.
>
> it was no errors just that the script didnt found the X confige file

Ah, then you can omit that, if anything else just works...

> am reading about X11 configurartion and ghome has it own files for the
> X window.

I dunno what you mean by this. GNOME (as any other DE) uses Xorg
settings. And vga drivers tend to search for a "/etc/X11/xorg.conf"
file.

> i will try to make an x conf file and see what happends
>
> think its something else and about the invida pre installed driver.

But despite the warning about not finding the x config file, are you
getting any error, is the driver installed, what does xorg log say? :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20110802131743.GA8871@stt008.linux.site


Now I'm wondering what to do.

Then the installation script didnt found the xorg.conf

it wrote an new xorg.conf

now i have tested with this new file and the Gdm3 will not start

Seems to be alot difficult to install an other graphic driver.




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 996be5cb68512ca14b16fa631816bf03.squirrel@webmail0 1.one.com">http://lists.debian.org/996be5cb68512ca14b16fa631816bf03.squirrel@webmail0 1.one.com
 
Old 08-02-2011, 02:05 PM
Camaleón
 
Default

On Tue, 02 Aug 2011 15:50:55 +0200, Johan Berntsson wrote:

(...)

>>> i will try to make an x conf file and see what happends
>>>
>>> think its something else and about the invida pre installed driver.
>>
>> But despite the warning about not finding the x config file, are you
>> getting any error, is the driver installed, what does xorg log say? :-?

>
> Now I'm wondering what to do.
>
> Then the installation script didnt found the xorg.conf

What it said?

> it wrote an new xorg.conf

You mean the installer created a new "xorg.conf" file? Good.

> now i have tested with this new file and the Gdm3 will not start

"Logs", sir, we need to see what X is telling you :-)

/var/log/Xorg.0.log

And also send to the list the full "xorg.conf" file so we can review it.

> Seems to be alot difficult to install an other graphic driver.

Setting up a VGA can be tricky: if your VGA works with the default set of
drivers then all goes smoothly, but if you need to install an external
driver, just pray >:-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.08.02.14.05.22@gmail.com">http://lists.debian.org/pan.2011.08.02.14.05.22@gmail.com
 
Old 08-02-2011, 02:50 PM
Lon Hohberger
 
Default

The check of db prior to taking the mutex was done as a tiny performance
gain in the event that there was no dbus connection, but causes
dbus_connection_get_is_connected() to crash the program if db is NULL.

Resolves: rhbz#697446

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
rgmanager/src/daemons/update-dbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rgmanager/src/daemons/update-dbus.c b/rgmanager/src/daemons/update-dbus.c
index f465d1d..bff1644 100644
--- a/rgmanager/src/daemons/update-dbus.c
+++ b/rgmanager/src/daemons/update-dbus.c
@@ -149,12 +149,12 @@ _rgm_dbus_notify(const char *svcname,
DBusMessage *msg = NULL;
int ret = -1;

+ pthread_mutex_lock(&mu);
+
if (!db) {
- goto out_free;
+ goto out_unlock;
}

- pthread_mutex_lock(&mu);
-
/* Check to ensure the connection is still valid. If it
* isn't, clean up and shut down the dbus connection.
*
--
1.7.3.4
 
Old 08-02-2011, 03:06 PM
"Fabio M. Di Nitto"
 
Default

ACK

Fabio

On 8/2/2011 4:50 PM, Lon Hohberger wrote:
> The check of db prior to taking the mutex was done as a tiny performance
> gain in the event that there was no dbus connection, but causes
> dbus_connection_get_is_connected() to crash the program if db is NULL.
>
> Resolves: rhbz#697446
>
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
> rgmanager/src/daemons/update-dbus.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/rgmanager/src/daemons/update-dbus.c b/rgmanager/src/daemons/update-dbus.c
> index f465d1d..bff1644 100644
> --- a/rgmanager/src/daemons/update-dbus.c
> +++ b/rgmanager/src/daemons/update-dbus.c
> @@ -149,12 +149,12 @@ _rgm_dbus_notify(const char *svcname,
> DBusMessage *msg = NULL;
> int ret = -1;
>
> + pthread_mutex_lock(&mu);
> +
> if (!db) {
> - goto out_free;
> + goto out_unlock;
> }
>
> - pthread_mutex_lock(&mu);
> -
> /* Check to ensure the connection is still valid. If it
> * isn't, clean up and shut down the dbus connection.
> *
 

Thread Tools




All times are GMT. The time now is 02:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org