Bug 42874 - RFE: Run some services only when at specific network location
Summary: RFE: Run some services only when at specific network location
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 06:10 UTC by David Jaša
Modified: 2015-05-02 10:37 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jaša 2011-11-13 06:10:39 UTC
Use case: DLNA server on portable systems - it makes sense to run these services only when connected to trusted networks like home or friend's one. Other services could use this functionality too, like p2p apps so it would make sense to have this functionality in systemd to avoid code duplication.
Comment 1 Lennart Poettering 2012-07-20 14:08:54 UTC
This sounds like something that could be implemented easily externally: just define two targets that build on multi-user.target, and pull in the respective services they should pull in, and then somehow isolate to them depending on the location.
Comment 2 David Jaša 2012-08-16 20:14:50 UTC
This looks like it would be actually useful for servers too, see https://bugzilla.redhat.com/show_bug.cgi?id=837173 where lack of this functionality causes troubles.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.