FS#49547 - gnome-terminal fails to open
Attached to Project:
Arch Linux
Opened by Bernhard Hayden (burnoutberni) - Thursday, 02 June 2016, 22:00 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 05 June 2016, 17:58 GMT
Opened by Bernhard Hayden (burnoutberni) - Thursday, 02 June 2016, 22:00 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 05 June 2016, 17:58 GMT
|
Details
Description:
Since upgrading gnome-terminal to 3.20.2-1 it fails to open with the following error messages: ** (gnome-terminal:4498): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (gnome-terminal:4498): GVFS-WARNING **: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gvfs-daemon.service not found. (g-io-error-quark, 36) Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-terminal-server.service not found. Downgrading back to 3.20.1-1 solves the problem. Additional info: * gnome-terminal-3.20.2-1 Steps to reproduce: |
This task depends upon
● gnome-terminal-server.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
This is also the case with 3.20.1, but there the missing service doesn't cause a problem/error message.
I tried everything again though explicitly checking that the --user flag is set and it doesn't change the behaviour.
gnome-terminal-server.service is still not found, neither with 3.20.1 nor with 3.20.2, but only under 3.20.2 it fails to start with the original error message.
$ bsdtar tf /pkg/bin/gnome-terminal-3.20.2-1-x86_64.pkg.tar.xz | grep 'systemd.*service'
usr/lib/systemd/user/gnome-terminal-server.service
Does 'pacman -Qk gnome-terminal' report any missing files?
Other than previously reported, there actually is a difference between systemctl status with and without the user flag (sorry for misreporting earlier).
The actual status is:
● gnome-terminal-server.service
Loaded: not-found (Reason: Not a directory)
Active: inactive (dead)
pacman -Qk gnome-terminal doesn't report any missing files.
Something seems very wrong there... It's not clear to me how that error is thrown. What was the *exact* command you ran? What does `systemctl --user show gnome-terminal-server.service` show?
● gnome-terminal-server.service
Loaded: not-found (Reason: Not a directory)
Active: inactive (dead)
➜ ~ systemctl --user show gnome-terminal-server.service
Restart=no
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
RuntimeMaxUSec=infinity
WatchdogUSec=0
WatchdogTimestampMonotonic=0
FailureAction=none
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=0
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ExecMainStartTimestampMonotonic=0
ExecMainExitTimestampMonotonic=0
ExecMainPID=0
ExecMainCode=0
ExecMainStatus=0
MemoryCurrent=18446744073709551615
CPUUsageNSec=18446744073709551615
TasksCurrent=18446744073709551615
Delegate=no
CPUAccounting=no
CPUShares=18446744073709551615
StartupCPUShares=18446744073709551615
CPUQuotaPerSecUSec=infinity
BlockIOAccounting=no
BlockIOWeight=18446744073709551615
StartupBlockIOWeight=18446744073709551615
MemoryAccounting=no
MemoryLimit=18446744073709551615
DevicePolicy=auto
TasksAccounting=yes
TasksMax=512
UMask=0022
LimitCPU=18446744073709551615
LimitCPUSoft=18446744073709551615
LimitFSIZE=18446744073709551615
LimitFSIZESoft=18446744073709551615
LimitDATA=18446744073709551615
LimitDATASoft=18446744073709551615
LimitSTACK=18446744073709551615
LimitSTACKSoft=8388608
LimitCORE=18446744073709551615
LimitCORESoft=18446744073709551615
LimitRSS=18446744073709551615
LimitRSSSoft=18446744073709551615
LimitNOFILE=4096
LimitNOFILESoft=1024
LimitAS=18446744073709551615
LimitASSoft=18446744073709551615
LimitNPROC=30903
LimitNPROCSoft=30903
LimitMEMLOCK=1048576
LimitMEMLOCKSoft=1048576
LimitLOCKS=18446744073709551615
LimitLOCKSSoft=18446744073709551615
LimitSIGPENDING=30903
LimitSIGPENDINGSoft=30903
LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200
LimitNICE=0
LimitNICESoft=0
LimitRTPRIO=0
LimitRTPRIOSoft=0
LimitRTTIME=18446744073709551615
LimitRTTIMESoft=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=inherit
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SyslogLevel=6
SyslogFacility=3
SecureBits=0
CapabilityBoundingSet=18446744073709551615
AmbientCapabilities=0
MountFlags=0
PrivateTmp=no
PrivateNetwork=no
PrivateDevices=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
UtmpMode=init
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=0
RuntimeDirectoryMode=0755
KillMode=control-group
KillSignal=15
SendSIGKILL=yes
SendSIGHUP=no
Id=gnome-terminal-server.service
Names=gnome-terminal-server.service
Description=gnome-terminal-server.service
LoadState=not-found
ActiveState=inactive
SubState=dead
StateChangeTimestampMonotonic=0
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=no
CanStop=no
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureJobMode=replace
IgnoreOnIsolate=no
NeedDaemonReload=no
JobTimeoutUSec=infinity
JobTimeoutAction=none
ConditionResult=no
AssertResult=no
ConditionTimestampMonotonic=0
AssertTimestampMonotonic=0
LoadError=System.Error.ENOTDIR "Not a directory"
Transient=no
StartLimitInterval=10000000
StartLimitBurst=5
StartLimitAction=none
strace -efile systemd-analyze verify --user gnome-terminal-server.service
> Does 'systemctl --user status' for other units in /usr/lib/systemd/user show the same ENOTDIR error?
Some do, some don't, e.g. pulseaudio.service works fine, but redshift.service doesn't (interestingly though, both programs do work).
–––––––––––––––––––––––––
I entered 'strace -o strace-gnome-terminal.txt -efile systemd-analyze verify --user gnome-terminal-server.service' and got the strace output into the file, but also the following error on stderr:
Failed to open directory /home/nini/.local/share/systemd/user: Not a directory
After moving the file, everything works fine again and a 'user' folder was created instead.
Please find attached the strace output and the 'user' file, I have no idea where that came from.
strace-gnome-terminal.txt (76.8 KiB)
Should I request closure for the bug report? Thank you to everyone involved, I appreciate your work.