all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* make install does not setup systemd correctly
@ 2018-07-15 10:58 Bingo
  2018-07-16  0:40 ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Bingo @ 2018-07-15 10:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
   On my Fedora installation, emacs 25.3 was already installed
   in /usr/bin. In another
   location (~/Downloads/emacs26/install/bin/emacs) , I installed emacs
   27.0 from source using ./configure, make and make install. $PATH
   contains ~/Downloads/emacs26/install/ before /usr/bin.

In this state, running "emacs --daemon" creates a emacs process, using
the binary from ~/Downloads/emacs26/install as a subprocess of systemd.
But the systemd configuration still uses the configuration info
from /lib/systemd/user/emacs.service, which is from the pre-installed
emacs 25.3. Any systemd operations end up using the binary
from /usr/bin. This is confirmed using 

=================================
systemctl --user status emacs.service 
 emacs.service - Emacs text editor
   Loaded: loaded (/usr/bin/emacs;
   disabled; vendor preset: enabled)
=================================

I was experiencing emacsclient hanging sometimes. I have not
sufficiently debugged that yet, but it seems wrong to use /usr/bin
binaries of 25.3 to handle emacs daemon process of 27.0

Effectively, I have 2 questions / problems :

1. Emacs man page, or --help does not give an obvious way to not use
systemd for its daemon. Is it supported at all ?

2. If we are not making it easy to avoid systemd, let us configure it
while installing? Emacswiki says that we need to copy the included
emacs.service file to ~/.config/systemd/user/emacs.service. It seems to
help - my emacsclient has not been hanging since then. But couldn't
make install have copied this file by default ? Or used emacs.service
file from the correct place when a binary from this emacs 27.0
installation is being run as daemon ?

thanks



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-16 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-15 10:58 make install does not setup systemd correctly Bingo
2018-07-16  0:40 ` Noam Postavsky
2018-07-16 14:33   ` Bingo
2018-07-16 15:31     ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.