Page MenuHomeSolus

Systemd-manager
Closed, WontfixPublic

Description

systemd-manager
Open source
https://github.com/mmstick/systemd-manager

A gtk based desktop app for managing systemd services

Revisions and Commits

Event Timeline

The immediate issue here is the deployment issue with Rust applications:

[dependencies]
dbus = "0.3.4"
gtk = { version = "0.1.0", features = ["v3_16"] }
gdk = { version = "0.5.0" }
quickersort = "2.0.1"

We can't really permit fetches of third party modules. Do we know if the distributed tarball (if it exists) contains these in the tree?

There is a tarbell provided, but the makefile is essentially making use of cargo, provided by the rust package already in the repo, to retrieve the rust libraries needed, from crates.io, to work with the C libraries on the system for gtk, gdk and dbus

That does present a security risk I'm not entirely comfortable with :/ Ideas?

I will look into the security of cargo and crates.io to see what it currently being done in regards to this. If this does not work, I remember reading something about setting up a local repository for dependencies. I will let you know my findings.

After looking into the security aspect of crates.io, it has been discussed a lot at https://github.com/rust-lang/crates.io/issues/75 but nothing has been done yet.

It is possible to update the dependencies within the cargo.toml file for the project to be changed from pulling from crates.io to point to the git url (i.e github) or even a local path as well. Would this be a possibility to alleviate your concern, or should I continue to look further?

The following contains the dependency tree for this app:

Is it possible that when packaging this application to do the following:

  • include an already built binary by means of cargo build --release by the packager
  • include the policykit and desktop files
  • and then just require the needed c libraries

I am sorry if I am lacking in understanding when it comes the packaging for Solus, as I have not done so yet.

I would definitely like to figure out how to package rust applications for Solus, as I am someone who is working on some rust applications in my free time.

With the recent addition of the [replace] section in the Cargo.toml file to override the path to dependencies to point to a local file, this should make it possible to package for solus. I am currently learning how to package, so I can start building the dependencies for solus.

DataDrake triaged this task as Wishlist priority.Sep 20 2016, 7:02 PM
JoshStrobl added a subscriber: JoshStrobl.

Closing due to lack of movement. You are welcome to reopen this when you have a patch ready to set this as the parent task.

hjajet added a subscriber: hjajet.

Cargo 0.13 added package checksums to Cargo.lock file, so there is (will be) no security risk.

Don't reopen issues. My note about reopening this task remains.

JoshStrobl changed the edit policy from "All Users" to "Triage Team (Project)".Nov 17 2016, 12:44 PM
hjajet reopened this task as Open.EditedNov 17 2016, 12:52 PM

@JoshStrobl Ok, but the patch is ready. T1612: Systemd-manager
Should it be opened now?

I'm not sure you got the memo saying Don't reopen issues. It was literally the first thing I stated. Leave this to the triage team.

JoshStrobl raised the priority of this task from Wishlist to Normal.Nov 23 2016, 4:18 AM
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
Unknown Object (User) awarded a token.Mar 9 2017, 11:00 AM
Unknown Object (User) added a comment.Mar 9 2017, 11:03 AM

I also vote for inclusion of this app. It'd be nice to have a user-friendly app to configure systemd services :)

JoshStrobl claimed this task.

Rejected as per notes on D511