LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2020, 02:11 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
snapd.seeded.service


Hi,

When I search for snapd.seeded I see many links, but none tell me what it is or does. Only problems and delays.

What is it?

Thanks
 
Old 05-28-2020, 03:37 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Code:
$ systemctl cat snapd.seeded
# /lib/systemd/system/snapd.seeded.service
[Unit]
Description=Wait until snapd is fully seeded
After=snapd.service snapd.socket
Requires=snapd.socket

[Service]
Type=oneshot
ExecStart=/usr/bin/snap wait system seed.loaded
RemainAfterExit=true

[Install]
WantedBy=multi-user.target cloud-final.service
# This is handled special in snapd
# X-Snapd-Snap: do-not-start
It's a oneshot service that is launched and exits when its job is done. It executes the above snap command, which is not documented in the man page, but according to the description, it waits until the snap daemon is seeded (whatever that means). The purpose is probably to delay other services that depend on said seeding.

EDIT: There is a paragraph in the man page. It doesn't help me much, though:
Code:
wait
       Wait for configuration

       The wait command waits until a configuration becomes true.

Last edited by berndbausch; 05-28-2020 at 03:40 AM.
 
Old 05-28-2020, 12:02 PM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
From what I understand, snaps are self-contained and links are created in bin directories for access.
Perhaps the seeding is the process of scanning for snaps and creating the links?
 
Old 05-28-2020, 01:15 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
AFAIK (and I don't know much about snappy) it requires a daemon (snapd) to run snap packages.
Apparently it defaults to start the daemon at boot time, but that can probably be changed.
Code:
systemctl disable snapd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fedora 24 Beta Freeze Now in Effect, to Be Seeded to Public Testers on May 3 LXer Syndicated Linux News 0 04-19-2016 05:23 PM
LXer: GNOME 3.12 Seeded by GNOME OS Projects LXer Syndicated Linux News 0 03-27-2014 07:21 PM
PRNG Not Seeded - Works with 1 user but not a /chroot user macking Linux - Server 2 06-29-2010 07:28 AM
"PRNG is not seeded" error when starting OpenSSH server germanbird Slackware 5 01-12-2006 01:31 PM
error message "PRNG not seeded" steve@ez.net Linux - Security 3 01-01-2006 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration