On Mon, 08 Aug 2011 02:01:09 +0200, Michael Biebl <bi...@debian.org> wrote:
> On 08.08.2011 01:46, Daniel Kahn Gillmor wrote:
> > When i boot this machine with systemd, gdm3 starts up a user session
> > with no trouble.
> 
> That means, with sysvinit installed and init=/bin/systemd?
> 
> Your bug title is a bit confusing, as systemd is pid 1 in this case, too.

i've installed systemd-sysv, so systemd is pid1.  I didn't supply any
particular kernel cmdline options, i'm relying on /sbin/init pointing to
the right thing.  Sorry for the confusion!

> I doubt that the systemd-sysv package being installed makes any difference 
> here,
> as it basically just ships a symlink /sbin/init → /bin/systemd.

my point was that with that symlink installed, i reboot and get no
display manager.  without that symlink, i reboot, and i get a functional
gdm3.

> Which version of gdm3? I'm using the version from unstable without any issues.

0 tut:~# dpkg -l gdm3
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  gdm3           2.30.5-10      Next generation GNOME Display Manager
0 tut:~# 

> Could you please get a full debug log of running systemd with
> systemd.log_level=debug systemd.log_target=kmsg [1]

I've gone ahead and set these values in the kernel command line:

0 tut:~# cat /proc/cmdline 
BOOT_IMAGE=/vmlinux-3.0.0-1-powerpc64 root=/dev/mapper/vg_tut0-root ro 
systemd.log_target=kmsg systemd.log_level=debug systemd.sysv_console=1
0 tut:~# 

Did you want me to send you any specific file as well?

> What's the output of systemctl show gdm3.service and systemctl status
> gdm3.service? 

0 tut:~# systemctl show gdm3.service 
Id=gdm3.service
Names=gdm3.service
Requires=basic.target
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=shutdown.target multi-user.target
After=console-screen.service dbus.service network-manager.service 
local-fs.target remote-fs.target basic.target
Description=LSB: GNOME Display Manager
LoadState=loaded
ActiveState=active
SubState=exited
InactiveExitTimestamp=Sun, 07 Aug 2011 20:24:00 -0400
InactiveExitTimestampMonotonic=32184308
ActiveEnterTimestamp=Sun, 07 Aug 2011 20:24:09 -0400
ActiveEnterTimestampMonotonic=40356442
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=yes
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
DefaultControlGroup=name=systemd:/system/gdm3.service
ControlGroup=cpu:/system/gdm3.service name=systemd:/system/gdm3.service
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Sun, 07 Aug 2011 20:24:00 -0400
ConditionTimestampMonotonic=32156491
ConditionResult=yes
Type=forking
Restart=no
NotifyAccess=none
RestartUSec=100ms
TimeoutUSec=5min
ExecStart={ path=/etc/init.d/gdm3 ; argv[]=/etc/init.d/gdm3 start ; ignore=no ; 
start_time=[n/a] ; stop_time=[Sun, 07 Aug 2011 20:24:09 -0400] ; pid=984 ; 
code=exited ; status=0 }
ExecReload={ path=/etc/init.d/gdm3 ; argv[]=/etc/init.d/gdm3 reload ; ignore=no 
; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/ }
ExecStop={ path=/etc/init.d/gdm3 ; argv[]=/etc/init.d/gdm3 stop ; ignore=no ; 
start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/ }
UMask=0002
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=18446744073709551615
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=4096
LimitAS=18446744073709551615
LimitNPROC=3874
LimitMEMLOCK=65536
LimitLOCKS=18446744073709551615
LimitSIGPENDING=3874
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=tty
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
MountFlags=1048576
PrivateTmp=no
SameProcessGroup=no
KillMode=process
KillSignal=15
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=yes
GuessMainPID=yes
ExecMainStartTimestampMonotonic=0
ExecMainExitTimestampMonotonic=0
ExecMainPID=1230
ExecMainCode=1
ExecMainStatus=1
MainPID=0
ControlPID=0
SysVRunLevels=2345
SysVStartPriority=4
SysVPath=/etc/init.d/gdm3
FsckPassNo=0
0 tut:~# systemctl status gdm3.service 
gdm3.service - LSB: GNOME Display Manager
          Loaded: loaded (/etc/init.d/gdm3)
          Active: active (exited) since Sun, 07 Aug 2011 20:24:09 -0400; 3min 
9s ago
         Process: 984 ExecStart=/etc/init.d/gdm3 start (code=exited, 
status=0/SUCCESS)
        Main PID: 1230 (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/gdm3.service
0 tut:~# 

> Any log messages regarding gdm3 in daemon.log or messages?

Since this last boot with systemd as pid 1, nothing in either file:

0 tut:~# date
Sun Aug  7 20:28:14 EDT 2011
0 tut:~# uptime
 20:28:27 up 4 min,  1 user,  load average: 0.13, 0.38, 0.21
0 tut:~# grep gdm3 /var/log/daemon.log
Aug  7 19:29:00 tut systemd[1]: gdm3.service: main process exited, code=exited, 
status=1
Aug  7 19:30:05 tut systemd[1]: Unit gdm3.service entered failed state.
Aug  7 19:30:07 tut systemd[1]: gdm3.service: main process exited, code=exited, 
status=1
Aug  7 19:35:14 tut systemd[1]: Unit gdm3.service entered failed state.
Aug  7 19:35:37 tut systemd[1]: gdm3.service: main process exited, code=exited, 
status=1
Aug  7 19:39:58 tut systemd[1]: gdm3.service: main process exited, code=exited, 
status=1
Aug  7 19:43:22 tut systemd[1]: Unit gdm3.service entered failed state.
Aug  7 19:43:23 tut systemd[1]: gdm3.service: main process exited, code=exited, 
status=1
0 tut:~# grep gdm3 /var/log/messages
1 tut:~# 

Regards,

     --dkg

Attachment: pgpRjUR07zdlJ.pgp
Description: PGP signature

Reply via email to