[arch-projects] [netcfg] [PATCH 3/3] systemd: add alternative units with proper dependencies

Thomas Bächler thomas at archlinux.org
Thu Oct 25 04:45:03 EDT 2012

Am 25.10.2012 01:32, schrieb Tom Gundersen:
> On Thu, Oct 25, 2012 at 1:14 AM, Thomas Bächler <thomas at archlinux.org> wrote:
>> However, this may cause problems with legacy configurations where people
>> used rc.d/net-profiles before and then switched to netcfg at .service. The
>> networks will still be listed in NETWORKS=(), but netcfg.service is not
>> enabled, so this was ignored. Using this in combination with
>> netcfg at .service will enable the profiles twice.
> Hm, so what we'd ideally have is that netcfg at .service goes away and
> that netcfg@$PROFILE.service is a symlink to
> netcfg-profile-$PROFILE.service?
> Don't know what's the most elegant way to achieve that...

Conflicts=netcfg at PROFILE.service in the generated service file to fix
the conflicts. Then a deprecation warning, and later the removal of
netcfg at .service.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20121025/9300e8b3/attachment.asc>

More information about the arch-projects mailing list