[CentOS] Centos7 on MacBook air 2017 model
Hi all, Anyone have tried to install centos7 in kaby lake model or almost in previous model (2015 if I am not wrong). Experiences?? Is refind needed?? Thanks. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] systemd order help?
I'm looking into 'porting' some custom init.d scripts that are in use on CentOS 6 boxes for use on CentOS 7 using systemd One particular init.d script needs to run after autofs has been started, but before X11 is started I'm guessing I could use something like: After=autofs.service Before=graphical.target Is this correct? However, I would like to use the same systemd unit file on servers that won't run X - will the above work? Or is there a better/another way of doing this? Thanks James Pearson ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] systemd order help?
Check out this page: https://scottlinux.com/2014/12/08/how-to-create-a-systemd-service-in-linux-centos-7/ On 12/06/17 11:47 AM, James Pearson wrote: I'm looking into 'porting' some custom init.d scripts that are in use on CentOS 6 boxes for use on CentOS 7 using systemd One particular init.d script needs to run after autofs has been started, but before X11 is started I'm guessing I could use something like: After=autofs.service Before=graphical.target Is this correct? However, I would like to use the same systemd unit file on servers that won't run X - will the above work? Or is there a better/another way of doing this? Thanks James Pearson ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] systemd order help?
On Mon, Jun 12, 2017 at 03:47:46PM +, James Pearson wrote: > I'm guessing I could use something like: > > After=autofs.service > Before=graphical.target > > Is this correct? > > However, I would like to use the same systemd unit file on servers that > won't run X - will the above work? Or is there a better/another way of > doing this? You probably want "display-manager.service" instead of "graphical.target". You also will want "Requires=autofs.service". The distinction between "After/Before" and "Requires" is exactly for the reason you give; the ordering directives don't require anything, so without display-manager.service enabled, Before=display-manager.service is just a no-op. Actually, you might even want "BindsTo=autofs.service", which is stronger. Depending on your setup, you many want to look at converting your automatic mounts into systemd mounts, and depend on that directly, rather than on the autofs service. -- Matthew Miller Fedora Project Leader ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to map more than 4 workspaces to keyboard shortcuts on C7.
Hi If you go Applications >> Utilities >> Tweak Tool >> Workspaces, you can set the number of workspaces. On 07/06/17 09:28 AM, m...@tdiehl.org wrote: Hi, I have a new install of c7 with the gnome desktop. I run it with 12 workspaces. Normally I create the shortcuts so that ctrl+f1 maps to workspace 1 ctrl+f2 maps to f2, etc. When I goto applications -> settings -> keyboard -> shortcuts -> navigation, I only have the ability to define "Switch to workspace" 1 through 4. There does not appear to be a way to map keyboard shortcuts for "Switch to workspace" 5-12. Does anyone know how I can add the ability to create shortcuts for workspaces 5-12? In previous versions (c-6 and older) the number of available keyboard shortcuts matched the available number of workspaces configured. I am thinking that there is some file someplace that I should be able to modify to make this work but so far I cannot find it. Regards, ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] systemd order help?
Matthew Miller wrote: > > You probably want "display-manager.service" instead of > "graphical.target". > > You also will want "Requires=autofs.service". The distinction between > "After/Before" and "Requires" is exactly for the reason you give; the > ordering directives don't require anything, so without > display-manager.service enabled, Before=display-manager.service is just > a no-op. Actually, you might even want "BindsTo=autofs.service", which > is stronger. Thanks - that makes sense ... > Depending on your setup, you many want to look at converting your > automatic mounts into systemd mounts, and depend on that directly, > rather than on the autofs service. It's one systemd (baby) step at a time for me at the moment - that's probably too much to consider :-) Thanks James Pearson ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT - lowest power, cheapest python interpreter
On 06/11/2017 01:07 AM, John R Pierce wrote: On 6/10/2017 9:19 PM, Robert Moskowitz wrote: I recommend the Cubieboards or Linkspirt. The advantage of both of these over a RaspberryPI: Mainline kernel. See what it takes for a special RPi kernel over on the Centos-arm list. Sata interface. What are you going to run your stuff on? A slow SD card or a slow USB drive? I use Rasbian on my pi's. its pretty hard to beat $35 for the pi3 if cost is important. Not only am I able to run Centos on my Cubie armv7s (medon and onlo are outwardly facing), I have Redsleeve 7 running on an old Pogoplug Kirkwood armv5. I do have to use a Fedora-arm 18 kernel for armv5. Oh and ClearOS7 on my Windows file server. So I basically have the same OS on all my servers. Though I have been around *nix for 20+ years, it is not my business, and having one OS keeps my life simpler. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] systemd order help?
On 12 Jun 2017 17:03, "Matthew Miller" wrote: On Mon, Jun 12, 2017 at 03:47:46PM +, James Pearson wrote: > I'm guessing I could use something like: > > After=autofs.service > Before=graphical.target > > Is this correct? > > However, I would like to use the same systemd unit file on servers that > won't run X - will the above work? Or is there a better/another way of > doing this? You probably want "display-manager.service" instead of "graphical.target". You also will want "Requires=autofs.service". The distinction between "After/Before" and "Requires" is exactly for the reason you give; the ordering directives don't require anything, so without display-manager.service enabled, Before=display-manager.service is just a no-op. Actually, you might even want "BindsTo=autofs.service", which is stronger. Depending on your setup, you many want to look at converting your automatic mounts into systemd mounts, and depend on that directly, rather than on the autofs service. Just one little thing to note here that many don't realise. All mounts in the system (ie not manually via the mount command) are systemd mounts. There's a generator that makes mount units from fstab and it is the actual runtime mount unit that gets used. So with things in fstab you can still have a service require something like data.mount ... There's even a directive RequiresMountsFor to ensure that a path is mounted before that unit is started. Finally autofs is made even easier with systemd as all you need to do to declare a mount autofs is x-systemd.automount in the options field and then it'll only be mounted on demand rather than at boot. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos