Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205040
| From | ghe <ghe@slsware.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: shell script problem |
| Date | 2019-02-05 22:10 +0100 |
| Message-ID | <xog8F-3Az-3@gated-at.bofh.it> (permalink) |
| References | <xob90-iJ-15@gated-at.bofh.it> <xobC1-IF-1@gated-at.bofh.it> <xoe6R-259-13@gated-at.bofh.it> <xoegy-2o3-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2/5/19 12:01 PM, Greg Wooledge wrote: >>From man systemctl: > > mask NAME... > Mask one or more units, as specified on the command line. This will > link these unit files to /dev/null, making it impossible to start > them. This is a stronger version of disable, since it prohibits all > kinds of activation of the unit, including enablement and manual > activation. Use this option with care. This honors the --runtime > option to only mask temporarily until the next reboot of the > system. The --now option may be used to ensure that the units are > also stopped. This command expects valid unit names only, it does > not accept unit file paths. Yeah, I saw that. So mask is stronger that whatever disable is. And it 'prohibits all kinds of activation of the unit' -- but it, apparently, encountered a masked unit, notified me, them just went on with the script. I've seen error messages saying '<something is bent> but going on anyway'. Nothing like that in this case, but it did go on anyway. Apparently. This adventure has made me believe that systemd was a massive effort. But also that there are some areas where it could still use a little work. I still think that that massive effort might have been better spent fixing init. Handling threads, tightening some methods and regulations, tidying up init.d and its buds, enabling startups in PERL, Python, Ruby, C, Java, etc. -- things legible and debuggable. Maybe even shell, if you're into a syntax from the late 1940s... -- Glenn English
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
shell script problem ghe <ghe@slsware.net> - 2019-02-05 16:50 +0100
Re: shell script problem john doe <johndoe65534@mail.com> - 2019-02-05 17:20 +0100
Re: shell script problem ghe <ghe@slsware.net> - 2019-02-05 20:00 +0100
Re: shell script problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-05 20:10 +0100
Re: shell script problem ghe <ghe@slsware.net> - 2019-02-05 22:10 +0100
Re: shell script problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-05 22:10 +0100
Re: shell script problem ghe <ghe@slsware.net> - 2019-02-05 22:30 +0100
Re: shell script problem ghe <ghe@slsware.net> - 2019-02-05 19:20 +0100
Re: shell script problem john doe <johndoe65534@mail.com> - 2019-02-05 19:30 +0100
Re: shell script problem Jude DaShiell <jdashiel@panix.com> - 2019-02-05 20:30 +0100
Re: shell script problem John Crawley <john@bunsenlabs.org> - 2019-02-06 06:30 +0100
Re: shell script problem <tomas@tuxteam.de> - 2019-02-06 11:20 +0100
Re: shell script problem Rusi Mody <rustompmody@gmail.com> - 2019-02-06 11:20 +0100
Re: shell script problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-06 15:00 +0100
csiph-web