unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory
@ 2021-04-12 12:54 ` bo0od
  2021-04-12 18:24   ` Leo Famulari
       [not found]   ` <handler.47724.C.161999297113642.notifdonectrl.0@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: bo0od @ 2021-04-12 12:54 UTC (permalink / raw)
  To: 47724

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

Hi There,

Following manual installation on what to do after first boot:

https://guix.gnu.org/en/manual/en/html_node/After-System-Installation.html

"sudo guix system reconfigure /etc/config.scm"

but running this command will request (after it finish) to restart some 
services which cant be restarted leading to the error in the title.

check the uploaded .txt file.

ThX!

[-- Attachment #2: herderr.txt --]
[-- Type: text/plain, Size: 1463 bytes --]

user@host ~$ sudo guix system reconfigure /etc/config.scm
The following derivation will be built:
   /gnu/store/sqj0jnif08jvbzb48jpdjwggymcjzl2q-grub.cfg.drv

building /gnu/store/sqj0jnif08jvbzb48jpdjwggymcjzl2q-grub.cfg.drv...
/gnu/store/5c6v18yrx65pnzacs1biqy7pzlfi6rsf-system
/gnu/store/kmdr3c6y3hbf0zm4gxmnzlsf5j907r6c-grub.cfg

activating system...
making '/gnu/store/5c6v18yrx65pnzacs1biqy7pzlfi6rsf-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/rcf9bsdlc2dr297ydf3l86ibilsrfqky-etc...
The following derivation will be built:
   /gnu/store/lam5sjwwznx8f3mssiwfsa7cvldyccxr-install-bootloader.scm.drv

building /gnu/store/lam5sjwwznx8f3mssiwfsa7cvldyccxr-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '/dev/xvda'
shepherd: Service host-name has been started.
shepherd: Service user-homes has been started.
shepherd: Service sysctl has been started.
shepherd: Service host-name has been started.
shepherd: Service term-auto could not be started.
To complete the upgrade, run 'herd restart SERVICE' to stop,
upgrade, and restart each service that was not automatically restarted.
Run 'herd status' to view the list of services on your system.
user@host ~$ herd restart term-auto
error: connect: /run/user/1000/shepherd/socket: No such file or directory
user@host ~$ herd status
error: connect: /run/user/1000/shepherd/socket: No such file or directory 


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

* bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory
  2021-04-12 12:54 ` bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory bo0od
@ 2021-04-12 18:24   ` Leo Famulari
  2021-04-13 10:54     ` bo0od
  2021-04-18 10:32     ` Ludovic Courtès
       [not found]   ` <handler.47724.C.161999297113642.notifdonectrl.0@debbugs.gnu.org>
  1 sibling, 2 replies; 5+ messages in thread
From: Leo Famulari @ 2021-04-12 18:24 UTC (permalink / raw)
  To: bo0od; +Cc: 47724

On Mon, Apr 12, 2021 at 12:54:14PM +0000, bo0od wrote:
> Following manual installation on what to do after first boot:
> 
> https://guix.gnu.org/en/manual/en/html_node/After-System-Installation.html
> 
> "sudo guix system reconfigure /etc/config.scm"
> 
> but running this command will request (after it finish) to restart some
> services which cant be restarted leading to the error in the title.

Thanks for the report...

> To complete the upgrade, run 'herd restart SERVICE' to stop,
> upgrade, and restart each service that was not automatically restarted.
> Run 'herd status' to view the list of services on your system.
> user@host ~$ herd restart term-auto
> error: connect: /run/user/1000/shepherd/socket: No such file or directory
> user@host ~$ herd status
> error: connect: /run/user/1000/shepherd/socket: No such file or directory 

The problem is that you need to be root to run these commands. We should
adjust the hint to say that.




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

* bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory
  2021-04-12 18:24   ` Leo Famulari
@ 2021-04-13 10:54     ` bo0od
  2021-04-18 10:32     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: bo0od @ 2021-04-13 10:54 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47724

 > The problem is that you need to be root to run these commands. We should
 > adjust the hint to say that.

Yes please, And make the error message sane/understandable with human 
language as i couldnt understand from the error message oh it needs root 
access because it doesnt say that anywhere.

Leo Famulari:
> On Mon, Apr 12, 2021 at 12:54:14PM +0000, bo0od wrote:
>> Following manual installation on what to do after first boot:
>>
>> https://guix.gnu.org/en/manual/en/html_node/After-System-Installation.html
>>
>> "sudo guix system reconfigure /etc/config.scm"
>>
>> but running this command will request (after it finish) to restart some
>> services which cant be restarted leading to the error in the title.
> 
> Thanks for the report...
> 
>> To complete the upgrade, run 'herd restart SERVICE' to stop,
>> upgrade, and restart each service that was not automatically restarted.
>> Run 'herd status' to view the list of services on your system.
>> user@host ~$ herd restart term-auto
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory
>> user@host ~$ herd status
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory
> 
> The problem is that you need to be root to run these commands. We should
> adjust the hint to say that.
> 




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

* bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory
  2021-04-12 18:24   ` Leo Famulari
  2021-04-13 10:54     ` bo0od
@ 2021-04-18 10:32     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2021-04-18 10:32 UTC (permalink / raw)
  To: Leo Famulari; +Cc: bo0od, 47724

Hi,

Leo Famulari <leo@famulari.name> skribis:

> On Mon, Apr 12, 2021 at 12:54:14PM +0000, bo0od wrote:

[...]

>> To complete the upgrade, run 'herd restart SERVICE' to stop,
>> upgrade, and restart each service that was not automatically restarted.
>> Run 'herd status' to view the list of services on your system.
>> user@host ~$ herd restart term-auto
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory
>> user@host ~$ herd status
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory 
>
> The problem is that you need to be root to run these commands. We should
> adjust the hint to say that.

Note that ‘herd’ cannot guess whether you intend to talk to your user
shepherd and it’s not running, or whether you intend to talk to the
system shepherd.

So the hint should suggest both possibilities.

(At some point we should extract the diagnostic code of Guix and make it
a separate library so that the Shepherd can use it as well.)

Ludo’.




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

* bug#47724: acknowledged by developer (control message for bug #47724)
       [not found]   ` <handler.47724.C.161999297113642.notifdonectrl.0@debbugs.gnu.org>
@ 2021-05-03  0:31     ` bo0od
  0 siblings, 0 replies; 5+ messages in thread
From: bo0od @ 2021-05-03  0:31 UTC (permalink / raw)
  To: 47724

Its more of an enhancement not a bug. Did the popup message put in any 
better way than the current state?

GNU bug Tracking System:
> This is an automatic notification regarding your bug report
> #47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory,
> which was filed against the guix package.
> 
> Thank you for your report, which has now been closed.
> You can view the full report at
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47724
> 
> If you require further information, please followup to 47724@debbugs.gnu.org.
> 
> debbugs.gnu.org maintainers
> (administrator, GNU bugs database)
> 




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

end of thread, other threads:[~2021-05-03  0:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87v980ztdp.fsf@gnu.org>
2021-04-12 12:54 ` bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory bo0od
2021-04-12 18:24   ` Leo Famulari
2021-04-13 10:54     ` bo0od
2021-04-18 10:32     ` Ludovic Courtès
     [not found]   ` <handler.47724.C.161999297113642.notifdonectrl.0@debbugs.gnu.org>
2021-05-03  0:31     ` bug#47724: acknowledged by developer (control message for bug #47724) bo0od

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git