summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chengwei Yang [Thu, 19 Sep 2013 02:12:14 +0000 (10:12 +0800)]
Fix a typo in changelog
The typo do break the package biuld on OBS, however, it build fine with
'gbs build', and now OBS remote build is disabled for developers. So
this is a real problem for us.
Change-Id: I1881bb9cb0880bf0aec92c8e60338bb058e03df3
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Chengwei Yang [Wed, 18 Sep 2013 07:45:40 +0000 (15:45 +0800)]
Fix activate xorg.service failed
If "Type=forking" specified in systemd service file, then systemd
expected that the father process which invoke fork() will exit soon, in
the start timeout. Otherwise, this service will be treated as fail to
start.
Since xorg-launch-helper didn't exit after start Xorg, so it will
timeout, then the whole user session timed out.
Bug: https://bugs.tizen.org/jira/browse/TDIST-311
Change-Id: I48116acb6fb1f49838670f13a5c2ea2aa6145c84
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Chengwei Yang [Wed, 18 Sep 2013 02:29:56 +0000 (10:29 +0800)]
systemd: can not set negative OOMScoreAdjust for user service
systemd will put the service into failure state if set OOMScoreAdjust
failed. So do not set a negative OOMScoreAdjust for user service.
Bug: https://bugs.tizen.org/jira/browse/TDIST-274
Change-Id: I1ad00a33465f50a24fac5899f65872ffec7e0278
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Sung-Jin Park [Tue, 27 Aug 2013 07:49:27 +0000 (03:49 -0400)]
Modify xorg.service.in to support Tizen 2.2 releast
Change-Id: I1d14031b3386bb36bb25609be4c5adb38c5e2ef7
Alexandru Cornea [Sat, 29 Jun 2013 02:48:33 +0000 (05:48 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Sat, 11 May 2013 05:54:38 +0000 (01:54 -0400)]
Set license using %license
Anas Nashif [Fri, 10 May 2013 14:20:55 +0000 (10:20 -0400)]
Update to v4
Anas Nashif [Fri, 10 May 2013 14:20:14 +0000 (10:20 -0400)]
Fixed license/group
Anas Nashif [Fri, 10 May 2013 14:03:39 +0000 (10:03 -0400)]
add packaging
Anas Nashif [Fri, 10 May 2013 14:01:26 +0000 (10:01 -0400)]
add packaging
Alex Richardson [Sun, 31 Mar 2013 19:31:56 +0000 (21:31 +0200)]
use sigtimedwait instead of pthread_cond_timedwait
pthread mutexes should not be used inside signal handlers
Auke Kok [Tue, 23 Oct 2012 19:18:17 +0000 (12:18 -0700)]
v4.
Auke Kok [Tue, 23 Oct 2012 19:16:49 +0000 (12:16 -0700)]
Revert "Change xorg.service to KillMode=process."
This reverts commit
e1a6f6ee6f63d6cb09b9ef69393be9f70452e90f.
While this change had some beneficial influence on the shutdown issue,
it didn't completely address the issue. A better fix can be found in
v6 of user-session-units instead, which should be used with this
version.
Auke Kok [Mon, 15 Oct 2012 05:58:29 +0000 (22:58 -0700)]
Change xorg.service to KillMode=process.
Withtout TERM signal, Xorg remains hanging since the normal user
isn't permitted to cgroup terminate the group with Xorg still in
it (at least that's my assumption).
With KillMode=process, xorg-launch-helper properly gets a TERM
and delegates it to Xorg, and shutdown proceeds as normal.
Auke Kok [Sun, 14 Oct 2012 07:42:09 +0000 (00:42 -0700)]
Missing <errno.h>
Auke Kok [Sun, 14 Oct 2012 07:30:38 +0000 (00:30 -0700)]
Convert to Type=notify. No hardcoded options.
This departs from the forking service, and rewrites xorg-launch-helper
to be a Notify type service to systemd. This allows us to monitor
and pass through TERM signals, as well as debug startup and shutdown
issues better.
Remove any harcoded options - any option needed to start Xorg now
needs to be passed to xorg-launch-helper as well. This can be done
through the unit file.
Auke Kok [Thu, 23 Aug 2012 23:31:39 +0000 (16:31 -0700)]
Attempt to fix shutdown issue causing 90sec timeout.
This adds a PIDFile for Xorg in the XDG_RUNTIME_DIR, in an attempt
to fix the shutdown timeout. The theory is that with this PIDFile,
system --user knows how to properly shut down Xorg, and won't
wait for 90 seconds to see it exit.
However, it doesn't work. I still see timeouts when shutting down
with this patch.
Auke Kok [Fri, 22 Jun 2012 17:46:41 +0000 (10:46 -0700)]
README: add git URL.
Auke Kok [Fri, 22 Jun 2012 17:45:02 +0000 (10:45 -0700)]
README: put something useful in here.
Auke Kok [Tue, 1 May 2012 20:45:43 +0000 (13:45 -0700)]
Don't really want dbus.service either.
Auke Kok [Tue, 1 May 2012 20:38:05 +0000 (13:38 -0700)]
v2
Auke Kok [Tue, 1 May 2012 20:37:34 +0000 (13:37 -0700)]
Don't need to pull syslog.target here.
Auke Kok [Mon, 23 Apr 2012 18:26:37 +0000 (11:26 -0700)]
Fixu unit file installation.
Auke Kok [Mon, 23 Apr 2012 17:52:20 +0000 (10:52 -0700)]
Add a few more things needed due to the rename/fork.
Auke Kok [Mon, 23 Apr 2012 17:51:22 +0000 (10:51 -0700)]
Bulk of the xorg-launch-helper checkin.
Auke Kok [Mon, 23 Apr 2012 17:37:11 +0000 (10:37 -0700)]
Initial commit of xorg-launch-helper.
There is not much left of uxlaunch OR user-session. After careful testing,
we can do almost all the bits that we need in systemd without any more
code than this.
The last remaining bit missing is Xorg startup synchronization. To start
a desktop session with X applications, we need to assure that Xorg is
ready before forking services that require an active $DISPLAY server.
This code comes all the way from uxlaunch and discards Xauth support, and
just includes the bits needed to start Xorg and wait for it to signal that
it is ready to accept and paint pixels for us. At that point, it exits
and thus tells systemd that the service is operational.
;###################################################################
;
; THIS ENDS THE HISTORY FOR USER-SESSION. :^)
;
;###################################################################
Auke Kok [Tue, 17 Apr 2012 18:08:37 +0000 (11:08 -0700)]
Remove Xau support.
After looking through this, I don't see any other way that Xauth
support is providing functionality other than to remote displays,
which exclude ssh X forwarding. Remote displays are in the form
where DISPLAY=some-other-machine:0.
We really don't care for those at all at this time, so let's
remove all this legacy support that we don't need as it just
complicates things.
Auke Kok [Mon, 2 Apr 2012 18:42:05 +0000 (11:42 -0700)]
v1
Auke Kok [Mon, 2 Apr 2012 18:02:34 +0000 (11:02 -0700)]
Move Xauth to just after env(). Stop creating ~/.xsession-errors.
All log output just goes into the journal.
Auke Kok [Fri, 30 Mar 2012 20:25:47 +0000 (13:25 -0700)]
Quick gitignore.
Auke Kok [Fri, 30 Mar 2012 20:24:18 +0000 (13:24 -0700)]
Build code to install the service file and changes in the previous commit.
Auke Kok [Fri, 30 Mar 2012 20:23:35 +0000 (13:23 -0700)]
Add a systemd service file. Force systemd dependency. Require default username.
Auke Kok [Fri, 30 Mar 2012 18:51:55 +0000 (11:51 -0700)]
Adding Authors.
Auke Kok [Fri, 30 Mar 2012 18:50:44 +0000 (11:50 -0700)]
Wrong version of the GPL, all this code is GPLv2.
Auke Kok [Fri, 30 Mar 2012 18:42:38 +0000 (11:42 -0700)]
Initial import.
User-session is entirely based on uxlaunch code, but heavily reduced
in features. The removed features can and should all be replaced
with systemd --user equivalend units.