🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.debian
Article #42648

Re: Problem z maskowaniem usług (systemd)

#42648
From: Norbert Cielecki
Date: Thu, 17 Mar 2016 10:08
24 lines
2283 bytes
Norbert Cielecki <ncielecki@op.pl> wrote:
> Piotr aka dracorp <imie.nazwisko@wp.eu> wrote:
>> Dnia Wed, 16 Mar 2016 17:27:24 +0000, Norbert Cielecki napisał(a):
>> 
>>> Właśnie chodzi mi o to gdzieś też, bo próba usunięcia symlinka też nie
>>> za bardzo przynosi efekt.
>> 
>> A re-enable nie pomaga? Albo systemctl daemon-reload (lub daemon-reexec).
>> 
>> U mnie po usunięciu symlinka też dalej status pokazywał masked a disable/
>> enable zmieniało ten stan.
>> 
>> Możliwe że w pamięci trzyma informację i trzeba go po prostu powiadomić.
>> 
> Już się dowiedziałem - te usługi są widoczne w systemie tylko ze względu na sysvinit.  Standardowo systemd uruchamia też skrypty sysvinit.  Część z nich, te z których nie korzysta systemd, są zamaskowane.  Te usługi tak naprawdę były przeznaczone do usunięcia. 
> Zachowały się tylko ze względu na obsługę sysvinit w Debianie.  
> 
> http://git.err.no/cgi-bin/gitweb.cgi?p=systemd;a=blob;f=debian/systemd.links;h=55a7306daadd518d3644e9502e13fe2fafd15a40;hb=refs/heads/debian
> 
Ale poza tym usunięcie symlinka do /dev/null i powtórne enable działa
nawet z tymi usługami z sysvinit - dzięki za pomoc.

-- 
pzdr NTC
Technical Details
Message-ID: <56ea8234$0$661$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <56e985a5$0$680$65785112@news.neostrada.pl> <ncc467$i41$2@dont-email.me> <56e9977a$0$701$65785112@news.neostrada.pl> <ncchcs$61e$1@dont-email.me> <56ea7e82$0$651$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Message-ID: <56ea8234$0$661$65785112@news.neostrada.pl>
From: ncielecki@op.pl (Norbert Cielecki)
Subject: Re: Problem z maskowaniem usług (systemd)
Newsgroups: pl.comp.os.linux.debian
References: <56e985a5$0$680$65785112@news.neostrada.pl> <ncc467$i41$2@dont-email.me> <56e9977a$0$701$65785112@news.neostrada.pl> <ncchcs$61e$1@dont-email.me> <56ea7e82$0$651$65785112@news.neostrada.pl>
User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.16.0-4-amd64 (x86_64))
MIME-Version: 1.0
Date: 17 Mar 2016 10:08:55 GMT
Lines: 24
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 95.49.159.18
X-Trace: 1458209335 unt-rea-b-01.news.neostrada.pl 661 95.49.159.18:37800
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit