-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Tue, Apr 18, 2017 at 01:06:00AM +0000, Patrick Schleizer wrote:
> Marek Marczykowski-G贸recki:
> > On Mon, Apr 17, 2017 at 11:06:00PM +0000, Patrick Schleizer wrote:
> >> Marek Marczykowski-G贸recki:
> >>> On Mon, Apr 17, 2017 at 10:02:00PM +0000, Patrick Schleizer wrote:
> >>>>> Alternately, mount-dirs.sh could have
> >>>>> a hook that points to a specific user script in /etc.
> >>>
> >>>> User script sounds a bit limited. What about something a little more
> >>>> flexible?
> >>>
> >>>> Untested pseudo code:
> >>>
> >>>> if [ -d /etc/qubes/mount-dirs-post.d ]; then
> >>>> run-parts /etc/qubes/mount-dirs-post.d
> >>>> fi
> >>>
> >>> IMO this is the way to go. In addition to your VM hardening scripts,
> >>> this could be used also for some /rw initialization, beyond /etc/skel.
> >>> AFAIR there was a need for similar thing to copy Tor Browser there.
> >>>
> >>> As for implementation - do we want it in /etc, /usr/lib, or both (so
> >>> files in /etc could override /usr/lib)?
> >
> >> Yes in both. Actually in all three. I.e. /etc/, /usr/lib and in
> >> /usr/local (/rw) to make it complete.
> >
> > No, the whole point about this script is to run something _before_
> > anything gets processed/run from /rw.
>> Right. (Scratch that /rw idea.)
>> >>> But having both means we can't
> >>> use run-parts :(
> >
> >> Why not just use above "Untested pseudo code" three times with the
> >> different dirs? :)
> >
> > Because it will not allow to disable/override a script in /usr/lib by
> > placing a script with the same name in /etc.
>> Alright. We can have that feature. Then perhaps let's use bash `source`.
>> Each snipped could define an entry function named
> number_main_drop-in-name or so. For example.
>> /usr/lib/qubes-mount-dirs.d/50_bind_dirs.conf:
>> 50_main_bind_dirs() {
> /path/to/actual/script
> }
>> To disable that, a lexically higher configuration file could just do.
>> /etc/qubes-mount-dirs.d/50_bind_dirs.conf:
>> 50_main_bind_dirs() {
> true
> }
>> Then the mount-dirs.sh script could `source` all these `.conf`s, and use
> `compgen` to get a list of function names, match these for `_main_`.
> Then run these functions in lexical order.
>> Does that look good? If needed, I could as well describe that better or
> write some pseudo code for that. I like this override / configureability
> stuff.
IMO forcing people to writing a bash function in such script is a bad
idea. First of all, many will not do that, breaking this override
schema. If more elaborative script is needed anyway, lets work on full
files, like this:
IFS=$'\n'
readarray -t files_basename < <(
find /usr/lib/qubes-mount-dirs.d /etc/qubes-mount-dirs.d
-type f -executable -printf '%f\n' | sort | uniq)
for f in "${files_basename[@]}"; do
if [ -x "/etc/qubes-mount-dirs.d/$f" ]; then
"/etc/qubes-mount-dirs.d/$f"
elif [ -x "/usr/lib/qubes-mount-dirs.d/$f" ]; then
"/usr/lib/qubes-mount-dirs.d/$f"
endif
done
- --
Best Regards,
Marek Marczykowski-G贸recki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJY9XNeAAoJENuP0xzK19cs52QH/3/YH5YXGFMAxG4lsv791wy0
iMVih9emNtnpIDHyfeK2jX6p0PpiTv0Clxl1Ry3zZOC7/Gp1PmVVrYa4iCHy4/FH
h5+dlJemtDexSVSB1RqHcifPsM/N6GYfOH+W0gBdNuVgTCucf0EjMHWwZvsgDyom
zRzS0nieZioXQUSan6M77zOwF6mR2Y/yUIHBGeOPN9gXSBuBNJ2JRvnXNvbC2Rzp
AsZLqGqx5w4uRUm0UPiZ69t2cyzwOlgylP0fZlzBsfiNdfgtsVUCQpAgPJ69GKKz
NLu7u6RsQj/WQg3Wf/W/BQ/luFaMJgR1lomSzFLJokOnky5HWhX03ROhtp5xYUQ=
=0kzs
-----END PGP SIGNATURE-----
More information about the Whonix-devel
mailing list
“Look here!” Dick began to chuckle. “We’ve got a queer combination to work with—our Sky Patrol has! Suspicious Sandy—and—Superstitious Jeff!” Sandy grinned ruefully, a little sheepishly. Larry smiled and shook his head, warning Dick not to carry his sarcasm any further, as Jeff frowned. 52 "You do doubt me. If you did not, it would never occur to you to deny it. You doubt me now, and you will doubt me still more if you don't read it. In justice to me you must." "That same. She was part Mescalero, anyway." This Act, as disgraceful as any which ever dishonoured the statute-book in the reigns of the Tudors or Stuarts, was introduced into the Commons, on the 12th of May, by Sir William Wyndham, and was resolutely opposed by the Whigs, amongst whom Sir Peter King, Sir Joseph Jekyll, Mr. Hampden, Robert Walpole, and General Stanhope distinguished themselves. They did not convince the majority, which amounted to no less than two hundred and thirty-seven to one hundred and twenty-six. In the Lords, Bolingbroke himself moved the second reading, and it was ably opposed by the Lords Cowper, Wharton, Halifax, Townshend, Nottingham, and others. The greatest curiosity was displayed regarding the part which Oxford would take, as it was known that in the Council he had endeavoured to soften the rigorous clauses; but in the House he followed his usual shuffling habit, declaring that he had not yet considered the question; and, having induced the Opposition to let the second reading pass without a division, he absented himself from the final voting, and thus disgusted both parties and hastened his own fall. The battle of Falkirk, which in itself appeared so brilliant an affair for Prince Charles, was really one of his most serious disasters. The Highlanders, according to their regular custom when loaded with plunder, went off in great numbers to their homes with their booty. His chief officers became furious against each other in discussing their respective merits in the battle. Lord George Murray, who had himself behaved most bravely in the field, complained that Lord John Drummond had not exerted himself, or pursuit might have been made and the royal army been utterly annihilated. This spirit of discontent was greatly aggravated by the siege of the castle of Stirling. Old General Blakeney, who commanded the garrison, declared he would hold out to the last man, in spite of the terrible threats of Lord George Murray if he did not surrender. The Highlanders grew disgusted with work so contrary to their habits; and, indeed, the French engineer, the so-called Marquis de Mirabelle, was so utterly ignorant of his profession, that the batteries which he constructed were commanded by the castle, and the men were so much exposed that they were in danger of being destroyed before they took the fortress. Accordingly, on the 24th of January they struck to a man, and refused to go any more into the trenches. "Haint we bit off more'n we kin chaw. Shorty?" asked Si, as he looked over the increasing gang. "Hadn't we better ask for some help?" "How far would it carry?" Corpril, Company Q, 2 Hundsrdth Injiamiy Volintear "He d?an't care much. F?ather, he likes to be comfortable, and this Inclosure w?an't make much difference to that. 'T?un't as if we wanted the pasture badly, and F?ather he d?an't care about land." "Byles," interrupted Calverley, speaking rapidly, "you are poor—you are in arrear with your rent; a distress will be levied, and then what will become of you—of your wife and the little one? Listen to me! I will give you money to keep a house over your head; and when I am steward, you shall have the first farm at my lord's disposal, if you will only aid me in my revenge! Revenge!" he repeated, vehemently—"but you hesitate—you refuse." "Yes, yes, there is little doubt of that: but how can we come at the truth? Sudbury still retains his wrath against us, and would oppose an arrest; and even could he be waylaid, and brought hither, he is stubborn, and might refuse to answer." HoME一级做人爱c视正版免费
ENTER NUMBET 0017 www.weichila.com.cn www.timu4.com.cn jiele1.com.cn feisi3.com.cn www.ruyao2.net.cn lieli6.com.cn www.kante2.net.cn yeyin5.com.cn www.zimen6.net.cn www.aloesai.org.cn